1
0

Update myRules.txt

This commit is contained in:
2021-06-29 11:00:25 +00:00
parent e85590987b
commit 6feef3c2b5

View File

@@ -1,44 +1,7 @@
! Title: Youtube ! Title: Youtube
! Version: 2021.01.22-5 ! Version: 2021.06.29
! Expires: 1 days (update frequency) ! Expires: 1 days (update frequency)
! Google consent, "before you continue" ! Reddit
google.*##+js(aeld, DOMContentLoaded, CONSENT) reddit.com###eu-cookie-policy
reddit.com##[class^="a.premium-banner-outer"]
! 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)
! YT login mobile
! for AdGuard for Safari only
#if (adguard && adguard_ext_safari)
youtube.com##ytd-popup-container
youtube.com##ytd-consent-bump-lightbox.style-scope
www.youtube.com##.opened
!#endif
! https://www.ghacks.net/2020/
! Sign in to youtube
youtube.com###dialog
youtube.com##.opened
youtube.com##ytd-popup-container
youtube.com##ytd-consent-bump-lightbox.style-scope
! 'Before you continue':
google.com###lb
google.com##:root:style(overflow-y: visible !important;)
! DS
youtube.com##div.upsell-dialog
! Test these later: https://github.com/yourduskquibbles/webannoyances/issues/245
! youtube.com###consent-bump