Fix #174176 japanhub.net

This commit is contained in:
Adam Wróblewski
2024-03-06 10:50:54 +01:00
parent f2f89789fc
commit 09e3b45b36
2 changed files with 8 additions and 1 deletions

View File

@@ -22,6 +22,9 @@
!
!
!
! https://github.com/AdguardTeam/AdguardFilters/issues/174176
@@||play.openhub.tv^$stealth=referrer
@@||anyhentai.com/*.mp4$stealth=referrer
! https://github.com/AdguardTeam/AdguardFilters/issues/174074
@@||emturbovid.com/t/*?poster=$stealth=referrer
! https://github.com/AdguardTeam/AdguardFilters/issues/173995

View File

@@ -1895,7 +1895,11 @@ uptoearn.xyz#%#//scriptlet('trusted-replace-node-text', 'script', 'downloadConfi
@@||decrypt.day^$generichide
decrypt.day#%#//scriptlet('set-constant', 'adsbygoogle', 'emptyObj')
decrypt.day#%#//scriptlet('set-constant', 'adsbygoogle.loaded', 'true')
decrypt.day#%#AG_onLoad((function(){const e=()=>{(()=>{const e=document.querySelector("ins.adsbygoogle");if(e){e.style.display="block",e.style.height="250px";const t=document.createDocumentFragment(),o=document.createElement("div");o.setAttribute("id","aswift_1_host"),t.appendChild(o);const n=document.createElement("iframe");n.setAttribute("id","aswift_1_host"),o.appendChild(n),e.appendChild(t)}})(),(()=>{const e=document.querySelector("ins.adsbygoogle");new MutationObserver(((e,t)=>{for(const t of e)if("childList"===t.type&&t.removedNodes.length>0){const e=t.removedNodes[0];t.target.appendChild(e)}})).observe(e,{attributes:!0,childList:!0,subtree:!0})})()};e(),(()=>{let t=document.location.href;const o=document.querySelector("body");new MutationObserver((o=>{t!==document.location.href&&(t=document.location.href,e())})).observe(o,{childList:!0,subtree:!0})})()}));
decrypt.day#%#//scriptlet('prevent-fetch', 'pagead2.googlesyndication.com')
decrypt.day#%#AG_onLoad((function(){const e=()=>{(()=>{const e=document.querySelector("ins.adsbygoogle");if(e){e.style.display="block",e.style.height="250px";const t=document.createDocumentFragment(),o=document.createElement("div");o.setAttribute("id","aswift_1_host"),t.appendChild(o);const n=document.createElement("iframe");n.setAttribute("id","aswift_1_host"),o.appendChild(n),e.appendChild(t)}})(),(()=>{const e=document.querySelector("ins.adsbygoogle");if(!e)return;new MutationObserver(((e,t)=>{for(const t of e)if("childList"===t.type&&t.removedNodes.length>0){const e=t.removedNodes[0];t.target.appendChild(e)}})).observe(e,{attributes:!0,childList:!0,subtree:!0})})()};e(),(()=>{let t=document.location.href;const o=document.querySelector("body");new MutationObserver((o=>{t!==document.location.href&&(t=document.location.href,e())})).observe(o,{childList:!0,subtree:!0})})()}));
! Hiding this element causes detection, but it's fixed by the $replace rule
!+ PLATFORM(windows, mac, android)
decrypt.day##body ins.adsbygoogle[style]
!#if (adguard_app_ios || adguard_ext_android_cb || adguard_ext_safari)
decrypt.day#@#ins.adsbygoogle
@@||pagead2.googlesyndication.com/pagead/js/adsbygoogle.js$domain=decrypt.day