- banner removed from main page
- shortcut for history on the main page is temporarily disabled
This commit is contained in:
amd64fox
2023-09-24 03:51:50 +03:00
parent 6dd4a1c349
commit 5a1932b532
2 changed files with 19 additions and 0 deletions

View File

@@ -1027,6 +1027,7 @@ function Helper($paramname) {
if ($enhance_playlist_off) { $remEnable.remove('EnhancePlaylist') }
# if ($smartShuffle_off) { $remEnable.remove('SmartShuffle') }
$remEnable.remove('SmartShuffle')
$remEnable.remove('RecentlyPlayedShortcut')
if (!($funnyprogressBar)) { $remEnable.remove('HeBringsNpb') }
# Old theme
if (!($new_theme) -and [version]$offline -le [version]"1.2.13.661") {
@@ -1161,6 +1162,13 @@ 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."
@@ -1442,6 +1450,9 @@ 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'