From 81f199b3cfeb89273b87fdb45d45aeefa5c8a106 Mon Sep 17 00:00:00 2001 From: notDavid <> Date: Fri, 22 Jan 2021 13:39:13 +0100 Subject: [PATCH] Initial commit --- myRules.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 myRules.txt 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)