commit 81f199b3cfeb89273b87fdb45d45aeefa5c8a106 Author: notDavid <> Date: Fri Jan 22 13:39:13 2021 +0100 Initial commit diff --git a/myRules.txt b/myRules.txt new file mode 100644 index 0000000..981c863 --- /dev/null +++ b/myRules.txt @@ -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)