updating css rules

This commit is contained in:
amd64fox
2024-02-21 18:09:18 +03:00
parent 9190341c5c
commit 1662dbcf7d
2 changed files with 7 additions and 5 deletions

View File

@@ -1442,14 +1442,14 @@
"fr": "1.1.74", "fr": "1.1.74",
"to": "" "to": ""
}, },
"add": " .BKsbV2Xl786X9a09XROH{display:none}" "add": " .BKsbV2Xl786X9a09XROH {display:none}"
}, },
"submenudownload": { "submenudownload": {
"version": { "version": {
"fr": "1.1.74", "fr": "1.1.74",
"to": "" "to": ""
}, },
"add": " button.wC9sIed7pfp47wZbmU6m.pzkhLqffqF_4hucrVVQA{display:none}" "add": " .pzkhLqffqF_4hucrVVQA, .egE6UQjF_UUoCzvMxREj {display:none}"
}, },
"veryhighstream": { "veryhighstream": {
"add": " #desktop\\.settings\\.streamingQuality>option:nth-child(5) {display:none}" "add": " #desktop\\.settings\\.streamingQuality>option:nth-child(5) {display:none}"

View File

@@ -1104,11 +1104,11 @@ function Helper($paramname) {
} }
} }
if ([version]$offline -eq [version]'1.2.30.1135') { Move-Json -n 'QueueOnRightPanel' -t $Enable -f $Disable } if ([version]$offline -eq [version]'1.2.30.1135') { Move-Json -n 'QueueOnRightPanel' -t $Enable -f $Disable }
if (!($plus)) { Move-Json -n 'Plus' -t $Enable -f $Disable } if (!($plus)) { Move-Json -n 'Plus' -t $Enable -f $Disable }
if (!($topsearchbar)){ if (!($topsearchbar)) {
Move-Json -n "GlobalNavBar" -t $Enable -f $Disable Move-Json -n "GlobalNavBar" -t $Enable -f $Disable
$Custom.GlobalNavBar.value = "control" $Custom.GlobalNavBar.value = "control"
} }
@@ -1568,7 +1568,9 @@ If ($test_spa) {
# Hide submenu item "download" # Hide submenu item "download"
$css += $webjson.others.submenudownload.add $css += $webjson.others.submenudownload.add
# Hide very high quality streaming # Hide very high quality streaming
$css += $webjson.others.veryhighstream.add if ([version]$offline -le [version]"1.2.29.605") {
$css += $webjson.others.veryhighstream.add
}
} }
# Full screen lyrics # Full screen lyrics
if ($lyrics_stat -and [version]$offline -ge [version]"1.2.3.1107") { if ($lyrics_stat -and [version]$offline -ge [version]"1.2.3.1107") {