Skip to content

Commit

Permalink
obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki2718 committed Jan 7, 2025
1 parent b967333 commit 9e7dc0d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions JapaneseFilter/sections/antiadblock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 9e7dc0d

Please sign in to comment.