mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-18 13:20:04 +10:00
Update
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user