diff --git a/Install.ps1 b/Install.ps1 index 2f217e3..9bde5a7 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -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' diff --git a/patches/patches.json b/patches/patches.json index 8a0f9dc..dc97160 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -85,6 +85,14 @@ "svggit": "", "svgfaq": "" }, + "BannerHome": { + "version": { + "fr": "1.2.21", + "to": "" + }, + "match": "[^=]*\\.vK\\)", + "replace": "false" + }, "ForcedExp": { "version": { "fr": "1.1.79",