Update myRules.txt
This commit is contained in:
45
myRules.txt
45
myRules.txt
@@ -1,44 +1,7 @@
|
||||
! Title: Youtube
|
||||
! Version: 2021.01.22-5
|
||||
! Version: 2021.06.29
|
||||
! Expires: 1 days (update frequency)
|
||||
|
||||
! 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)
|
||||
|
||||
! 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
|
||||
|
||||
! Reddit
|
||||
reddit.com###eu-cookie-policy
|
||||
reddit.com##[class^="a.premium-banner-outer"]
|
||||
|
||||
Reference in New Issue
Block a user