From 6155a2b882a27c4685f213f23536664cbd571aca Mon Sep 17 00:00:00 2001 From: PiQuark6046 Date: Wed, 6 Mar 2024 13:33:58 +0000 Subject: [PATCH] Remove JS rules used to set a cookie - 2024 Mar 6 part 1 (#174216) * remove outdated rule * remove dead domain * remove outdated rule * remove outdated rule * replace JS rule with scriptlet --- AnnoyancesFilter/Cookies/sections/cookies_specific.txt | 2 +- SocialFilter/sections/general_extensions.txt | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/AnnoyancesFilter/Cookies/sections/cookies_specific.txt b/AnnoyancesFilter/Cookies/sections/cookies_specific.txt index 1eed04da7fa..3701ed51d35 100644 --- a/AnnoyancesFilter/Cookies/sections/cookies_specific.txt +++ b/AnnoyancesFilter/Cookies/sections/cookies_specific.txt @@ -261,6 +261,7 @@ pracazarohom.*,seduo.*#%#//scriptlet('remove-class', 'force--consent|show--conse ! ! NOTE: Regular rules ! +temu.com#%#//scriptlet('trusted-set-cookie', 'privacy_setting', '100') meteored.com.ar#$#.cmp_gdpr { display: none !important; } meteored.com.ar#$#body { overflow: auto !important; } dzieciecyszpital.pl###cookies-glass @@ -11790,7 +11791,6 @@ tinder.com#%#//scriptlet('trusted-click-element', 'button[data-testid="privacyPr sunnyside.shop#?##root > div[class^="jss"] > div[class^="jss"]:has(> h6.text-info > a[href="/cookie-policy"]) hub.supermetrics.com#%#//scriptlet('set-cookie', 'cookies_accepted', 'true') today.it#%#//scriptlet('remove-class', 'iub--active', '.o-wrapper.iub--active') -temu.com#%#document.cookie = "privacy_setting=100; path=/"; vadhander.hogakusten.com#%#//scriptlet('trusted-set-local-storage-item', 'cookie_consent', '{"consent":true,"necessary":true,"preference":false,"statistics":false,"marketing":false}') nordicnest.*#%#//scriptlet('set-local-storage-item', 'accept_cookies', '1') canyon.com#%#//scriptlet('trusted-click-element', '#js-data-privacy-save-button', '', '500') diff --git a/SocialFilter/sections/general_extensions.txt b/SocialFilter/sections/general_extensions.txt index adc0dfdb0ea..b037e9ab88a 100644 --- a/SocialFilter/sections/general_extensions.txt +++ b/SocialFilter/sections/general_extensions.txt @@ -63,9 +63,6 @@ finance.rambler.ru#%#//scriptlet('hide-in-shadow-dom', '.social--top') businessinsider.in#%#AG_onLoad(function(){location.href.includes("/amp_")&&(new MutationObserver(function(){document.querySelectorAll("div.i-amphtml-next-page-shadow-root").forEach(function(a){a.shadowRoot&&a.shadowRoot.querySelectorAll("div.share_widget:not([style]), div#social:not([style])").forEach(function(b){b.style="display: none !important;"})})})).observe(document,{childList:!0,subtree:!0})}); ! https://github.com/AdguardTeam/AdguardFilters/issues/58976 himovies.to#%#document.cookie="show_share=true; path=/;"; -! https://github.com/AdguardTeam/AdguardFilters/issues/37159 -!+ PLATFORM(android) -unn.com.ua#%#document.cookie = "scps=1"; ! https://github.com/AdguardTeam/AdguardFilters/issues/13064 forbes.com#%#//scriptlet('remove-attr', 'href', '.article-body .tweet_quote > a[href^="https://twitter.com/intent/"]') ! https://github.com/AdguardTeam/AdguardFilters/issues/46696 @@ -73,12 +70,6 @@ yasir252.com#%#AG_onLoad(function(){setTimeout(function(){var a=document.querySe ! ~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() {} }}; -! https://github.com/AdguardTeam/ExperimentalFilter/issues/261 -megalyrics.ru#%#document.cookie = "no_fb=true"; -! http://forum.adguard.com/showthread.php?4227 -minprom.ua#%#document.cookie = "popup_user_login=yes"; -! https://forum.adguard.com/index.php?threads/11624/ -wowjp.net#%#AG_onLoad(function() {if (document.cookie.indexOf("viewedOuibounceModal") == -1) { document.cookie = "viewedOuibounceModal=true"; } }); ! !------------------- !-------CSS---------