- improvement of the banner blocking patch on the main page
- blocking banner on the podcast page

Co-Authored-By: jetfir3 <95306468+jetfir3@users.noreply.github.com>
This commit is contained in:
amd64fox
2023-10-26 23:53:51 +03:00
parent 8b20e119ea
commit 77ceb30760
2 changed files with 16 additions and 27 deletions
-11
View File
@@ -1156,13 +1156,6 @@ function Helper($paramname) {
$contents = "podcast_ad_block"
$json = $webjson.others
}
"BannerHome" {
# Remove banner on home page
$name = "patches.json.others."
$n = "home-hpto.js"
$contents = "BannerHome"
$json = $webjson.others
}
"BlockUpdate" {
# Block Spotify client updates
$name = "patches.json.others."
@@ -1443,15 +1436,11 @@ If ($test_spa) {
extract -counts 'one' -method 'zip' -name $js -helper 'OffAdSections'
}
# Remove banner on home page
extract -counts 'one' -method 'zip' -name 'home-hpto.js' -helper 'BannerHome'
# Hide Collaborators icon
if (!($hide_col_icon_off) -and !($exp_spotify)) {
extract -counts 'one' -method 'zip' -name 'xpui-routes-playlist.js' -helper 'Collaborators'
}
# Static color for lyrics
if ($lyrics_stat) {
# old