1
0
Files
adguard-rules/myRules.txt
2021-01-22 14:23:43 +01:00

27 lines
1.2 KiB
Plaintext

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