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
This commit is contained in:
amd64fox
2021-12-12 13:02:20 +03:00
parent 3da3216b85
commit 8ecfa9b130
2 changed files with 52 additions and 4 deletions

View File

@@ -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) {

View File

@@ -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) {