From ee38338da6c6d5f577504bfca73e03bf0ab780f2 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 6 Oct 2022 11:14:05 +0200 Subject: [PATCH] Fix #131530 hardware.info --- AnnoyancesFilter/Cookies/sections/cookies_specific.txt | 1 + DutchFilter/sections/adservers_firstparty.txt | 2 ++ DutchFilter/sections/antiadblock.txt | 2 +- DutchFilter/sections/general_extensions.txt | 2 ++ DutchFilter/sections/specific.txt | 1 + 5 files changed, 7 insertions(+), 1 deletion(-) diff --git a/AnnoyancesFilter/Cookies/sections/cookies_specific.txt b/AnnoyancesFilter/Cookies/sections/cookies_specific.txt index 83a62b9ab09..10a32c918cb 100644 --- a/AnnoyancesFilter/Cookies/sections/cookies_specific.txt +++ b/AnnoyancesFilter/Cookies/sections/cookies_specific.txt @@ -9236,6 +9236,7 @@ privacy.lecker.de#%#AG_onLoad(function(){if(!document.cookie.includes("euconsent privacy.madame.de#%#AG_onLoad(function(){if(!document.cookie.includes("euconsent-v2")){var g=new MutationObserver(function(){setTimeout(function(){var b=document.querySelector('button.no-children[path="\[0,2,1\]"]');b&&b.click();},300);setTimeout(function(){var c=document.querySelector('div[title="Berechtigte Interessen"]'); c&&c.click();},300);setTimeout(function(){var d=document.querySelectorAll('label[aria-checked="true"] > .off'); d.forEach(function(d){d.click();});},800); var f=document.querySelector('button.no-children[path="\[0,3,0\]"]'); setTimeout(function(){f&&f.click();},1000);});g.observe(document,{childList:!0,subtree:!0});setTimeout(function(){g.disconnect()},3E4)}}); consent.unilad.com,consent.ladbible.com,consent.gamingbible.co.uk,consent.unilad.co.uk#%#AG_onLoad(function(){if(window.location.href.includes("consentUUID")){var g=new MutationObserver(function(){var b=document.querySelector('button[title*="Accept" i]');b&&(g.disconnect(),b.click())});g.observe(document,{childList:!0,subtree:!0});setTimeout(function(){g.disconnect()},1E4)}}); ! +hardware.info#%#(function(){try{"undefined"==typeof localStorage||localStorage.getItem("consentData")||localStorage.setItem("consentData","{\"relevantAds\":{\"version\":1,\"approved\":false},\"youtube\":{\"version\":1,\"approved\":true}}")}catch(b){}})(); zoom.us#%#AG_onLoad(function() {var b=new MutationObserver(function() {var c=document.querySelector('#onetrust-accept-btn-handler'); c&&(b.disconnect(),c.click()) });b.observe(document, {childList: !0,subtree: !0});setTimeout(function() {b.disconnect()}, 1E4)}); bitso.com#%#//scriptlet('set-cookie', 'bitso_cc', '1') sky.it#%#AG_onLoad(function(){if(window.location.href.includes("consentUUID")){var g=new MutationObserver(function(){var b=document.querySelector('button[title^="ACCETTA TUTTI I COOKIES"]');setTimeout(function(){ b&&b.click(); }, 100);});g.observe(document,{childList:!0,subtree:!0});setTimeout(function(){g.disconnect()},1E4)}}); diff --git a/DutchFilter/sections/adservers_firstparty.txt b/DutchFilter/sections/adservers_firstparty.txt index cd6b7990a1b..382bafc89b4 100644 --- a/DutchFilter/sections/adservers_firstparty.txt +++ b/DutchFilter/sections/adservers_firstparty.txt @@ -8,5 +8,7 @@ ! ! ||content2.nrc.nl^ +||aa.hwigroup.com^ +||ab.hwigroup.com^ ||aa.tweakers.nl^ ||ab.tweakers.nl^ diff --git a/DutchFilter/sections/antiadblock.txt b/DutchFilter/sections/antiadblock.txt index fd4deaf41b1..bc908320716 100644 --- a/DutchFilter/sections/antiadblock.txt +++ b/DutchFilter/sections/antiadblock.txt @@ -33,7 +33,7 @@ goplay.be#%#//scriptlet('prevent-fetch', 'pubads.g.doubleclick.net/gampad/ads') ! https://github.com/AdguardTeam/AdguardFilters/issues/69783 vier.be#@#.googleAd ! https://github.com/AdguardTeam/AdguardFilters/issues/64292 -hardware.info$$script[tag-content="Flags."][min-length="20000"][max-length="300000"] +hardware.info$$script[tag-content="Flags."][min-length="10000"][max-length="300000"] hardware.info#%#//scriptlet("abort-on-property-read", "Object.prototype.autoRecov") hardware.info#%#//scriptlet("prevent-addEventListener", "", "Flags.autoRecov") ! https://github.com/AdguardTeam/AdguardFilters/issues/62479 diff --git a/DutchFilter/sections/general_extensions.txt b/DutchFilter/sections/general_extensions.txt index 89f1ccb92c8..16ff6319acc 100644 --- a/DutchFilter/sections/general_extensions.txt +++ b/DutchFilter/sections/general_extensions.txt @@ -10,6 +10,8 @@ !--------------------------------------! ! SECTION: Dutch - JS ! +! https://github.com/AdguardTeam/AdguardFilters/issues/131530 +hardware.info#%#//scriptlet("set-constant", "BannerManager", "undefined") ! https://github.com/AdguardTeam/AdguardFilters/issues/120455 tweakers.net#%#//scriptlet("set-constant", "BannerManager", "undefined") ! NOTE: JS end ⬆️ diff --git a/DutchFilter/sections/specific.txt b/DutchFilter/sections/specific.txt index 22530d0593e..f9ee820b029 100644 --- a/DutchFilter/sections/specific.txt +++ b/DutchFilter/sections/specific.txt @@ -4,6 +4,7 @@ ! Good: example.org###rek; ||example.com/ads/ ! Bad: example.org#$##rek { display: none !important; } (for instance, should be in general_extensions.txt) ! +hardware.info##div[class^="bnr-"] security.nl##.banner_leaderboard iculture.nl##.ad-top-desktop iculture.nl##.feed-ad-wrapper