1
0
Files
adguard-rules/myRules.txt
notDavid d36128a83b .
2021-01-22 17:49:22 +01:00

45 lines
1.6 KiB
Plaintext

! Title: Youtube
! Version: 2021.01.22-5
! 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