From 8ecfa9b130b9e0fc0837983d6fcb67cf3ef68054 Mon Sep 17 00:00:00 2001 From: amd64fox Date: Sun, 12 Dec 2021 13:02:20 +0300 Subject: [PATCH] New icons, test blocking ad overlay, add "Made For You" - Enabled the 2021 icons redraw which loads a different font asset for rendering icon glyphs. - Activated "Made For You" in the left sidebar - Attempting to disable an ad overlay that suggests upgrading to premium --- Install.ps1 | 28 ++++++++++++++++++++++++++-- Install_rus.ps1 | 28 ++++++++++++++++++++++++++-- 2 files changed, 52 insertions(+), 4 deletions(-) diff --git a/Install.ps1 b/Install.ps1 index 5db7cc0..ea16c84 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -195,7 +195,19 @@ If (Test-Path $xpui_js_patch) { -replace '(session[,]{1}[a-z]{1}[=]{1}[a-z]{1}[=]{1}[>]{1}[{]{1}var [a-z]{1}[,]{1}[a-z]{1}[,]{1}[a-z]{1}[;]{1}[a-z]{6})(["]{1}free["]{1})', '$1"premium"' ` -replace '([a-z]{1}[.]{1}toLowerCase[(]{1}[)]{2}[}]{1}[,]{1}[a-z]{1}[=]{1}[a-z]{1}[=]{1}[>]{1}[{]{1}var [a-z]{1}[,]{1}[a-z]{1}[,]{1}[a-z]{1}[;]{1}return)(["]{1}premium["]{1})', '$1"free"' ` <# Disabling a playlist sponsor #>` - -replace "allSponsorships", "" + -replace "allSponsorships", "" ` + <# Show "Made For You" entry point in the left sidebar #>` + -replace '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' ` + <# Enables the 2021 icons redraw #>` + -replace '(Enables the 2021 icons redraw which loads a different font asset for rendering icon glyphs.",default:)(!1)', '$1!0' ` + <# Enable Liked Songs section on Artist page #>` + -replace '(Enable Liked Songs section on Artist page",default:)(!1)', '$1!0' ` + <# Enable block users #>` + -replace '(Enable block users feature in clientX",default:)(!1)', '$1!0' ` + <# Enables quicksilver in-app messaging modal #>` + -replace '(Enables quicksilver in-app messaging modal",default:)(!0)', '$1!1' ` + <# With this enabled, clients will check whether tracks have lyrics available #>` + -replace '(With this enabled, clients will check whether tracks have lyrics available",default:)(!1)', '$1!0' # Disable Podcast if ($Podcasts_off) { @@ -253,7 +265,19 @@ If (Test-Path $xpui_spa_patch) { <# Disabling a playlist sponsor #>` -replace "allSponsorships", "" ` <# Disable Logging #>` - -replace "sp://logging/v3/\w+", "" + -replace "sp://logging/v3/\w+", "" ` + <# Show "Made For You" entry point in the left sidebar #>` + -replace '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' ` + <# Enables the 2021 icons redraw #>` + -replace '(Enables the 2021 icons redraw which loads a different font asset for rendering icon glyphs.",default:)(!1)', '$1!0' ` + <# Enable Liked Songs section on Artist page #>` + -replace '(Enable Liked Songs section on Artist page",default:)(!1)', '$1!0' ` + <# Enable block users #>` + -replace '(Enable block users feature in clientX",default:)(!1)', '$1!0' ` + <# Enables quicksilver in-app messaging modal #>` + -replace '(Enables quicksilver in-app messaging modal",default:)(!0)', '$1!1' ` + <# With this enabled, clients will check whether tracks have lyrics available #>` + -replace '(With this enabled, clients will check whether tracks have lyrics available",default:)(!1)', '$1!0' # Disable Podcast if ($Podcasts_off) { diff --git a/Install_rus.ps1 b/Install_rus.ps1 index 15da566..8943bda 100644 --- a/Install_rus.ps1 +++ b/Install_rus.ps1 @@ -195,7 +195,19 @@ If (Test-Path $xpui_js_patch) { -replace '(session[,]{1}[a-z]{1}[=]{1}[a-z]{1}[=]{1}[>]{1}[{]{1}var [a-z]{1}[,]{1}[a-z]{1}[,]{1}[a-z]{1}[;]{1}[a-z]{6})(["]{1}free["]{1})', '$1"premium"' ` -replace '([a-z]{1}[.]{1}toLowerCase[(]{1}[)]{2}[}]{1}[,]{1}[a-z]{1}[=]{1}[a-z]{1}[=]{1}[>]{1}[{]{1}var [a-z]{1}[,]{1}[a-z]{1}[,]{1}[a-z]{1}[;]{1}return)(["]{1}premium["]{1})', '$1"free"' ` <# Disabling a playlist sponsor #>` - -replace "allSponsorships", "" + -replace "allSponsorships", "" ` + <# Show "Made For You" entry point in the left sidebar #>` + -replace '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' ` + <# Enables the 2021 icons redraw #>` + -replace '(Enables the 2021 icons redraw which loads a different font asset for rendering icon glyphs.",default:)(!1)', '$1!0' ` + <# Enable Liked Songs section on Artist page #>` + -replace '(Enable Liked Songs section on Artist page",default:)(!1)', '$1!0' ` + <# Enable block users #>` + -replace '(Enable block users feature in clientX",default:)(!1)', '$1!0' ` + <# Enables quicksilver in-app messaging modal #>` + -replace '(Enables quicksilver in-app messaging modal",default:)(!0)', '$1!1' ` + <# With this enabled, clients will check whether tracks have lyrics available #>` + -replace '(With this enabled, clients will check whether tracks have lyrics available",default:)(!1)', '$1!0' # Disable Podcast if ($Podcasts_off) { @@ -253,7 +265,19 @@ If (Test-Path $xpui_spa_patch) { <# Disabling a playlist sponsor #>` -replace "allSponsorships", "" ` <# Disable Logging #>` - -replace "sp://logging/v3/\w+", "" + -replace "sp://logging/v3/\w+", "" ` + <# Show "Made For You" entry point in the left sidebar #>` + -replace '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' ` + <# Enables the 2021 icons redraw #>` + -replace '(Enables the 2021 icons redraw which loads a different font asset for rendering icon glyphs.",default:)(!1)', '$1!0' ` + <# Enable Liked Songs section on Artist page #>` + -replace '(Enable Liked Songs section on Artist page",default:)(!1)', '$1!0' ` + <# Enable block users #>` + -replace '(Enable block users feature in clientX",default:)(!1)', '$1!0' ` + <# Enables quicksilver in-app messaging modal #>` + -replace '(Enables quicksilver in-app messaging modal",default:)(!0)', '$1!1' ` + <# With this enabled, clients will check whether tracks have lyrics available #>` + -replace '(With this enabled, clients will check whether tracks have lyrics available",default:)(!1)', '$1!0' # Disable Podcast if ($Podcasts_off) {