mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-31 12:23:36 +00:00
Fix #170429 youtube.com
This commit is contained in:
@@ -12791,6 +12791,10 @@ instagram.com#%#AG_onLoad(function(){if(-1==document.cookie.indexOf("ig_did")){c
|
||||
! https://github.com/AdguardTeam/Scriptlets/issues/212
|
||||
! TODO: replace the rule with a scriptlet `set-cookie-reload` when it is improved
|
||||
youtube.com#%#(function(){window.self!==window.top||document.cookie.includes("visitor=")||(document.cookie="visitor=1; path=/;",document.cookie&&location.reload())})();
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/170429
|
||||
! If there will be many complains about empty home page, then rule below can be used:
|
||||
! youtube.com#%#//scriptlet('trusted-click-element', 'ytd-consent-bump-v2-lightbox .eom-buttons > .ytd-consent-bump-v2-lightbox > .ytd-consent-bump-v2-lightbox:nth-of-type(2) button.yt-spec-button-shape-next')
|
||||
youtube.com#%#//scriptlet('trusted-click-element', 'ytd-consent-bump-v2-lightbox .eom-buttons > .ytd-consent-bump-v2-lightbox > .ytd-consent-bump-v2-lightbox button.yt-spec-button-shape-next')
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/169466
|
||||
[$path=/m]consent.youtube.com#%#//scriptlet('trusted-click-element', 'form[action="https://consent.youtube.com/save"][jsaction] button[jsname="b3VHJd"]')
|
||||
!+ PLATFORM(ios)
|
||||
|
||||
Reference in New Issue
Block a user