mirror of
https://github.com/SpotX-Official/SpotX-Bash.git
synced 2026-04-24 20:10:17 +10:00
Update
- fix hide podcast - fix search history Co-authored-by: amd64fox <62529699+amd64fox@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
- Block all audio, banner & video ads
|
- Block all audio, banner & video ads
|
||||||
- Block logging (Sentry, etc)
|
- Block logging (Sentry, etc)
|
||||||
- Enable [developer mode](https://github.com/SpotX-Official/SpotX-Bash/wiki/SpotX%E2%80%90Bash-FAQ#what-is-developer-mode)
|
- Enable [developer mode](https://github.com/SpotX-Official/SpotX-Bash/wiki/SpotX%E2%80%90Bash-FAQ#what-is-developer-mode)
|
||||||
- Enable [experimental features](https://github.com/SpotX-Official/SpotX/discussions/50)
|
- Enable experimental features
|
||||||
- Hide audiobooks, episodes & podcasts on home screen
|
- Hide audiobooks, episodes & podcasts on home screen
|
||||||
- Remove [lyrics background color](https://github.com/SpotX-Official/SpotX-Bash/issues/20#issuecomment-1762040019)
|
- Remove [lyrics background color](https://github.com/SpotX-Official/SpotX-Bash/issues/20#issuecomment-1762040019)
|
||||||
- Block automatic updates (macOS)
|
- Block automatic updates (macOS)
|
||||||
|
|||||||
2
spotx.sh
2
spotx.sh
@@ -269,7 +269,7 @@ hideDLMenu=' button.wC9sIed7pfp47wZbmU6m.pzkhLqffqF_4hucrVVQA {display:none}'
|
|||||||
hideVeryHigh=' #desktop\.settings\.streamingQuality>option:nth-child(5) {display:none}'
|
hideVeryHigh=' #desktop\.settings\.streamingQuality>option:nth-child(5) {display:none}'
|
||||||
|
|
||||||
hidePodcasts='s|withQueryParameters\(.\)\{return this.queryParameters=.,this}|withQueryParameters(e){return this.queryParameters=(e.types?{...e, types: e.types.split(",").filter(_ => !["episode","show"].includes(_)).join(",")}:e),this}|'
|
hidePodcasts='s|withQueryParameters\(.\)\{return this.queryParameters=.,this}|withQueryParameters(e){return this.queryParameters=(e.types?{...e, types: e.types.split(",").filter(_ => !["episode","show"].includes(_)).join(",")}:e),this}|'
|
||||||
hidePodcasts2='s#(!?Array.isArray\(.\)[|&]{2}.===(.).length\)return null;)#$1 if (!Array.isArray($2)) { $2 = e; } for (let q=0; q<($2.children?$2.children.length:$2.length); q++) {const key=($2.children?.\[q\]||$2\[q\])?.key; if(!key||key.match(/(episode|show)/)||($2.title)?.match(/podcasts/i)) return null;};#'
|
hidePodcasts2='s#(!?Array.isArray\(.\)[|&]{2}.===(.).length\)return null;)#$1let sx=$2;if(!Array.isArray(sx)){sx=e;}for(let q=0;q<(sx.children?sx.children.length:sx.length);q++){const key=(sx.children?.\[q\]?.key||sx\[q\]?.key);if(!key||sx\[q\].props?.value==="search-history")continue;if(key.match(/(episode|show)/)||(sx.title)?.match(/podcasts/i))return null;};#'
|
||||||
lyricsBackground='s|--lyrics-color-inactive":\K(.).inactive|$1.background|; s|--lyrics-color-background":\K(.).background|$1.inactive|; s|--lyrics-color-inactive":\K(.\.colors).text|$1.background|; s|--lyrics-color-background":\K(.\.colors).background|$1.text|'
|
lyricsBackground='s|--lyrics-color-inactive":\K(.).inactive|$1.background|; s|--lyrics-color-background":\K(.).background|$1.inactive|; s|--lyrics-color-inactive":\K(.\.colors).text|$1.background|; s|--lyrics-color-background":\K(.\.colors).background|$1.text|'
|
||||||
|
|
||||||
logV3='s|sp://logging/v3/\w+||g'
|
logV3='s|sp://logging/v3/\w+||g'
|
||||||
|
|||||||
Reference in New Issue
Block a user