Upd #142982 tweakers.net

This commit is contained in:
Adam
2023-03-25 20:03:53 +01:00
parent c95c0f7e46
commit 9cb5e79b17
2 changed files with 11 additions and 3 deletions

View File

@@ -18,7 +18,18 @@ webcams-texel.nl#%#//scriptlet('abort-current-inline-script', 'document.createEl
!+ PLATFORM(ios, ext_android_cb, ext_safari)
@@||pagead2.googlesyndication.com/pagead/js/adsbygoogle.js$domain=webcams-texel.nl
! https://github.com/AdguardTeam/AdguardFilters/issues/142982
! https://github.com/AdguardTeam/AdguardFilters/issues/120455
tweakers.net#%#(function(){const a=Function.prototype.toString;window.EventTarget.prototype.addEventListener=new Proxy(window.EventTarget.prototype.addEventListener,{apply:(b,c,d)=>{const e=d[1],f=/detail.adblockDetected|handleAdblockDetect|Flags.autoRecov/;return e&&"function"==typeof e&&(f.test(a.call(e))||f.test(e.toString()))&&(d[1]=function(){}),Reflect.apply(b,c,d)}});Function.prototype.bind=new Proxy(Function.prototype.bind,{apply:(b,c,d)=>{const e=a.call(c),f=Reflect.apply(b,c,d);return f.toString=function(){return e},f}})})();
tweakers.net#%#//scriptlet('prevent-fetch', 'ab.tweakers.nl')
tweakers.net#%#//scriptlet('set-constant', 'BannerManager', 'emptyObj')
tweakers.net#%#//scriptlet('set-constant', 'BannerManager.init', 'noopFunc')
tweakers.net#%#//scriptlet('set-constant', 'BannerManager.addTag', 'noopFunc')
tweakers.net#%#//scriptlet('set-constant', 'BannerManager.enableTags', 'noopFunc')
tweakers.net#%#//scriptlet('set-constant', 'BannerManager.displayTag', 'noopFunc')
tweakers.net#%#//scriptlet('set-constant', 'BannerManager.bannerTypes', 'emptyObj')
tweakers.net#%#//scriptlet('set-constant', 'BannerManager.bannersBlocked', 'false')
tweakers.net#%#//scriptlet('set-constant', 'BannerManager.getTypeFromId', 'noopFunc')
tweakers.net#%#//scriptlet('set-constant', 'BannerManager.getDestinationForType', 'noopFunc')
!+ NOT_PLATFORM(windows, mac, android, ext_chromium)
@@||aa.tweakers.nl/json$domain=tweakers.net
! https://github.com/AdguardTeam/AdguardFilters/issues/99141

View File

@@ -12,9 +12,6 @@
!
! https://github.com/AdguardTeam/AdguardFilters/issues/131530
hardware.info#%#//scriptlet("set-constant", "BannerManager", "undefined")
! https://github.com/AdguardTeam/AdguardFilters/issues/120455
!+ PLATFORM(windows, mac, android, ext_chromium)
tweakers.net#%#//scriptlet("set-constant", "BannerManager", "undefined")
! NOTE: JS end ⬆️
! !SECTION: Dutch - JS
!