1
0

Initial commit

This commit is contained in:
notDavid
2021-01-22 13:39:13 +01:00
commit 81f199b3cf

15
myRules.txt Normal file
View File

@@ -0,0 +1,15 @@
! Google consent, "before you continue"
google.*##+js(aeld, DOMContentLoaded, CONSENT)
! YT consent
youtube.com##+js(set, ytInitialData.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer.forceConsent, false)
youtube.com##+js(json-prune, [].response.topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer)
! new 2020-12-02, dialogs after searching for something on YT
youtube.com##+js(json-prune, topbar.desktopTopbarRenderer.interstitial.consentBumpRenderer)
! YT login
youtube.com##+js(set, ytInitialPlayerResponse.auxiliaryUi.messageRenderers.upsellDialogRenderer.isVisible, false)
youtube.com##+js(set, ytInitialData.overlay.upsellDialogRenderer.isVisible, false)
youtube.com##+js(json-prune, [].playerResponse.auxiliaryUi.messageRenderers.upsellDialogRenderer)
! probably this one is also neded, but I cannot reproduce anymore
! youtube.com##+js(json-prune, auxiliaryUi.messageRenderers.upsellDialogRenderer)