mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-23 19:40:19 +10:00
version bump to 1.2.4.893
This commit is contained in:
@@ -965,16 +965,13 @@ function Helper($paramname) {
|
|||||||
"OffPodcasts" {
|
"OffPodcasts" {
|
||||||
# Turn off podcasts
|
# Turn off podcasts
|
||||||
if ($offline -le "1.1.92.647") { $contents = "podcastsoff" }
|
if ($offline -le "1.1.92.647") { $contents = "podcastsoff" }
|
||||||
if ($offline -ge "1.1.93.896" -and $offline -le "1.1.96.785") { $contents = "podcastsoff2" }
|
if ($offline -ge "1.1.93.896") { $contents = "podcastsoff2" }
|
||||||
if ($offline -ge "1.1.97.952") { $contents = "podcastsoff3" }
|
|
||||||
$n = $js
|
$n = $js
|
||||||
$name = "patches.json.others."
|
$name = "patches.json.others."
|
||||||
$json = $webjson.others
|
$json = $webjson.others
|
||||||
}
|
}
|
||||||
"OffAdSections" {
|
"OffAdSections" {
|
||||||
# Hiding Ad-like sections from the homepage
|
# Hiding Ad-like sections from the homepage
|
||||||
if ($offline -le "1.1.96.785") { $webjson.others.adsectionsoff.replace = '$1 if ($3' + $webjson.others.adsectionsoff.replace }
|
|
||||||
else { $webjson.others.adsectionsoff.replace = '$1 if ($4' + $webjson.others.adsectionsoff.replace }
|
|
||||||
$n = $js
|
$n = $js
|
||||||
$name = "patches.json.others."
|
$name = "patches.json.others."
|
||||||
$contents = "adsectionsoff"
|
$contents = "adsectionsoff"
|
||||||
|
|||||||
@@ -101,26 +101,18 @@
|
|||||||
"podcastsoff2": {
|
"podcastsoff2": {
|
||||||
"version": {
|
"version": {
|
||||||
"from": "1.1.93",
|
"from": "1.1.93",
|
||||||
"do": "1.1.96"
|
|
||||||
},
|
|
||||||
"match": "(\\!Array.isArray\\(.\\)\\|\\|.===..length)",
|
|
||||||
"replace": "$1||e.children[0].key.includes('episode')||e.children[0].key.includes('show')"
|
|
||||||
},
|
|
||||||
"podcastsoff3": {
|
|
||||||
"version": {
|
|
||||||
"from": "1.1.97",
|
|
||||||
"do": ""
|
"do": ""
|
||||||
},
|
},
|
||||||
"match": "(\\!Array.isArray\\(.\\)\\|\\|.===..length)",
|
"match": "(\\!Array.isArray\\(.\\)\\|\\|.===..length\\)return null;)",
|
||||||
"replace": "$1||e[0].key.includes('episode')||e[0].key.includes('show')"
|
"replace": "$1 const key = e.children?.[0]?.key || e[0]?.key; if (!key || key.includes('episode') || key.includes('show')) {return null;};"
|
||||||
},
|
},
|
||||||
"adsectionsoff": {
|
"adsectionsoff": {
|
||||||
"version": {
|
"version": {
|
||||||
"from": "1.1.93",
|
"from": "1.1.93",
|
||||||
"do": ""
|
"do": ""
|
||||||
},
|
},
|
||||||
"match": "(\"Carousel\".+?(.=(.).seeAllUri.+?UBIWrapper;|const{seeAllUri:.}=(.).+?id:.}\\);))",
|
"match": "(\"Carousel\".+?{seeAllUri:(.),index.+?(UBIWrapper;|id:.}\\);))",
|
||||||
"replace": ".seeAllUri.match(/(0JQ5DAnM3wGh0gz1MXnu3B|0JQ5IMCbQBLupUQrQFeCzx|0JQ5IMCbQBLqTJyy28YCa9|0JQ5IMCbQBLlC31GvtaB6w|0JQ5DAob0KOew1FBAMSmBz|0JQ5DAnM3wGh0gz1MXnu4w|0JQ5DAnM3wGh0gz1MXnu3C|0JQ5DAnM3wGh0gz1MXnu3n|0JQ5DAnM3wGh0gz1MXnu3s|0JQ5DAnM3wGh0gz1MXnu3M|0JQ5DAob0JCuWaGLU6ntFT|0JQ5DAnM3wGh0gz1MXnucG|0JQ5DAnM3wGh0gz1MXnu3E|0JQ5DAnM3wGh0gz1MXnu4h|0JQ5DAnM3wGh0gz1MXnu7R|0JQ5DAnM3wGh0gz1MXnu3w|0JQ5DAuChZYPe9iDhh2mJz)/)) {return null};"
|
"replace": "$1 if ($2.match(/(0JQ5DAnM3wGh0gz1MXnu3B|0JQ5IMCbQBLupUQrQFeCzx|0JQ5IMCbQBLqTJyy28YCa9|0JQ5IMCbQBLlC31GvtaB6w|0JQ5DAob0KOew1FBAMSmBz|0JQ5DAnM3wGh0gz1MXnu4w|0JQ5DAnM3wGh0gz1MXnu3C|0JQ5DAnM3wGh0gz1MXnu3n|0JQ5DAnM3wGh0gz1MXnu3s|0JQ5DAnM3wGh0gz1MXnu3M|0JQ5DAob0JCuWaGLU6ntFT|0JQ5DAnM3wGh0gz1MXnucG|0JQ5DAnM3wGh0gz1MXnu3E|0JQ5DAnM3wGh0gz1MXnu4h|0JQ5DAnM3wGh0gz1MXnu7R|0JQ5DAnM3wGh0gz1MXnu3w|0JQ5DAuChZYPe9iDhh2mJz)/)) {return null};"
|
||||||
},
|
},
|
||||||
"themelyrics": {
|
"themelyrics": {
|
||||||
"theme": {
|
"theme": {
|
||||||
@@ -789,7 +781,7 @@
|
|||||||
"addingplaylist": {
|
"addingplaylist": {
|
||||||
"version": {
|
"version": {
|
||||||
"from": "1.1.98",
|
"from": "1.1.98",
|
||||||
"do": ""
|
"do": "1.2.3"
|
||||||
},
|
},
|
||||||
"match": "(Enable support for adding a playlist to another playlist\",default:)(!1)",
|
"match": "(Enable support for adding a playlist to another playlist\",default:)(!1)",
|
||||||
"replace": "$1true"
|
"replace": "$1true"
|
||||||
@@ -813,7 +805,7 @@
|
|||||||
"badbunny": {
|
"badbunny": {
|
||||||
"version": {
|
"version": {
|
||||||
"from": "1.1.99",
|
"from": "1.1.99",
|
||||||
"do": ""
|
"do": "1.2.3"
|
||||||
},
|
},
|
||||||
"match": "(Enable a different heart button for Bad Bunny\",default:)(!1)",
|
"match": "(Enable a different heart button for Bad Bunny\",default:)(!1)",
|
||||||
"replace": "$1true"
|
"replace": "$1true"
|
||||||
@@ -849,8 +841,7 @@
|
|||||||
},
|
},
|
||||||
"match": "(playback speed range from 0.5-3.5 with every 0.1 increment\",default:)(!1)",
|
"match": "(playback speed range from 0.5-3.5 with every 0.1 increment\",default:)(!1)",
|
||||||
"replace": "$1true"
|
"replace": "$1true"
|
||||||
}
|
},
|
||||||
,
|
|
||||||
"showfollows": {
|
"showfollows": {
|
||||||
"version": {
|
"version": {
|
||||||
"from": "1.2.1",
|
"from": "1.2.1",
|
||||||
@@ -858,6 +849,14 @@
|
|||||||
},
|
},
|
||||||
"match": "(Enable a setting to control if followers and following lists are shown on profile\",default:)(!1)",
|
"match": "(Enable a setting to control if followers and following lists are shown on profile\",default:)(!1)",
|
||||||
"replace": "$1true"
|
"replace": "$1true"
|
||||||
|
},
|
||||||
|
"fraud": {
|
||||||
|
"version": {
|
||||||
|
"from": "1.2.3",
|
||||||
|
"do": ""
|
||||||
|
},
|
||||||
|
"match": "(Enable user fraud verification\",default:)(!1|!0)",
|
||||||
|
"replace": "$1false"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user