1
0
Files
adguard-rules/myRules.txt
2021-01-22 16:10:16 +01:00

30 lines
1.3 KiB
Plaintext

! Title: Youtube
! Version: 2021.01.22-3
! 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
m.youtube.com##ytd-popup-container
m.youtube.com##ytd-consent-bump-lightbox.style-scope
!#endif