mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-31 12:23:36 +00:00
Remove obsolete rules
This commit is contained in:
@@ -15369,9 +15369,6 @@ sky.it#%#//scriptlet('trusted-click-element', 'button[title^="ACCETTA TUTTI I CO
|
||||
thestrad.com#%#//scriptlet('trusted-click-element', '#notice .bottom-row button[title="Options"]')
|
||||
thestrad.com#%#//scriptlet('trusted-click-element', '.footer-policy button[title="Reject All"]')
|
||||
! youtube - new cookie window
|
||||
! 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')
|
||||
@@ -15380,10 +15377,6 @@ youtube.com#%#//scriptlet('trusted-click-element', 'ytd-consent-bump-v2-lightbox
|
||||
m.youtube.com#%#//scriptlet('trusted-click-element', 'ytm-consent-bump-v2-renderer .dialog-scrollable-content > .one-col-dialog-buttons > ytm-button-renderer.eom-reject button.yt-spec-button-shape-next', '', '2000')
|
||||
! 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)
|
||||
m.youtube.com#%#//scriptlet('set-cookie-reload', 'visitor', '1')
|
||||
! https://gist.github.com/AdamWr/b32688adb0393d31525f445ee5ab4302#file-gistfile1-txt
|
||||
google.*,youtube.com#%#(function(){try{var time=(new Date).getTime();var cookieDate=new Date(time+1314E6);var hostname=location.host;var locSubString=null;if(!hostname.startsWith("google.")&&!hostname.startsWith("youtube."))locSubString=hostname.substring(hostname.indexOf(".")+1);var loc=locSubString||hostname;if(document.cookie.indexOf("CONSENT=YES")!==-1)return;document.cookie="CONSENT=YES+; domain="+loc+"; path=/; expires="+cookieDate.toUTCString()}catch(ex){console.error("AG: failed to set consent cookie: "+ex)}})();
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/161693
|
||||
! Desktop and mobile website have a different structure
|
||||
! For desktop
|
||||
|
||||
@@ -50,7 +50,6 @@ finance.rambler.ru#%#//scriptlet('hide-in-shadow-dom', '.social--top')
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/13064
|
||||
forbes.com#%#//scriptlet('remove-attr', 'href', '.article-body .tweet_quote > a[href^="https://twitter.com/intent/"]')
|
||||
!
|
||||
~yandex.ru,~wetter.com,~milli-firka.org,~assassinscreed.com,~surfingbird.ru,~samsung.com,~imgur.com,~rockstargames.com#%#var addthis = { init: function() {}, addEventListener: function() {}, button: function() {}, counter: function() {}, update: function() {}, toolbox: function() {}, layers: function() {} };
|
||||
hopesandfears.com#%#twttr={events: { bind: function() {} }};
|
||||
!
|
||||
!-------------------
|
||||
|
||||
Reference in New Issue
Block a user