diff --git a/JapaneseFilter/sections/antiadblock.txt b/JapaneseFilter/sections/antiadblock.txt index b224276ab0532d..577f92e925503c 100644 --- a/JapaneseFilter/sections/antiadblock.txt +++ b/JapaneseFilter/sections/antiadblock.txt @@ -76,8 +76,6 @@ gunauc.net#%#//scriptlet('prevent-fetch', 'pagead2.googlesyndication.com') ! https://github.com/AdguardTeam/AdguardFilters/issues/188965 ||kuji.xth.jp/ad-x-check.js ! https://github.com/AdguardTeam/AdguardFilters/issues/183252 -!+ PLATFORM(ext_ff) -||daotag.com/tag/$script,replace=/[\S\s]*(if\(typeof [0-9a-z]+==='undefined'\)\{)[\S\s]+(if\(typeof [0-9a-z]+==='function'\)\{[0-9a-z]+\(\)\})[\S\s]+(window\.addEventListener\('load'.)[\S\s]+/\$1\$3()=>{\$2})}/ !#if (!adguard_ext_chromium_mv3 && !adguard_ext_firefox && !adguard_ext_android_cb && !adguard_app_ios && !adguard_ext_safari && !ext_ublock) exploader.net#%#(()=>{const e="広告ブロックをしていると画像プレビューを使用できません。広告ブロックを解除してダウンロードページをリロードしてください";let t=!1,n="";const o=new Set,c=c=>{c.preventDefault();const l=c.target.href,r=window.open(l,"_blank");r.addEventListener("load",(c=>{if(c.target.documentElement.innerText.includes(e)){const c=o.values().next().value;n=c,o.delete(c);const l=setInterval((()=>{if(r.document.documentElement?.innerText.includes(e)){const e=o.values().next().value;n=e,o.delete(e),r.location.replace(r.location.href.replace(/\?.*/,`?${e}`))}if(!t&&r.document.getElementById("preview_images")){document.querySelectorAll(".dl_button[href]").forEach((e=>e.href=e.href.replace(/\?.*/,`?${n}`))),t=!0,clearInterval(l)}}),500);r.location.replace(r.location.href.replace(/\?.*/,`?${c}`))}}))};document.addEventListener("DOMContentLoaded",(()=>{const e=document.querySelector("body script").textContent.match(/"] = '(.*?)'/g);if(!e)return;e.forEach((e=>{const t=e.replace(/.*'(.*?)'/,"$1");o.add(t)}));const t=document.querySelector('.dl_button[href*="preview"]').href.split("?")[1];o.has(t)&&o.delete(t);document.querySelectorAll(".dl_button[href]").forEach((e=>e.addEventListener("click",c)))}))})(); exploader.net#%#//scriptlet('abort-current-inline-script', 'EventTarget.prototype.addEventListener', '.innerHTML')