This commit is contained in:
Yuki2718
2025-01-08 03:04:05 +09:00
parent a45034a0d0
commit ca4b3983a0

View File

@@ -76,8 +76,12 @@ 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].+(\,)[\S\s]+(\$)[\S\s]+(1)[\S\s]+/(()=>{const e=1028;let t=!1\$1n="";const r=new Set;let a;const l=t=>{t.preventDefault();const l=t.target.href\$1c=window.open(l\$1"_blank");c&&c.addEventListener("load"\$1(t=>{const l=t.target.querySelector("img.preview_images_img");if(l?.naturalHeight!==e||600!==l?.naturalWidth)return;const i=r.values().next().value;n=i\$1r.delete(i)\$1a=setInterval(o\$1 500\$1c);const u=c.location.href.replace(\/\?.*\/\$1`?\$2{i}`);c.location.replace(u)}))}\$1o=l=>{const o=l.document?.querySelector("img.preview_images_img");if(o?.naturalHeight===e&&600===o?.naturalWidth){const e=r.values().next().value;n=e\$1r.delete(e);const t=l.location.href.replace(\/\?.*\/\$1`?\$2{e}`);l.location.replace(t)}if(!t&&o&&o.naturalHeight&&o.naturalWidth&&(o.naturalHeight!==e||600!==o.naturalWidth)){document.querySelectorAll(".dl_button[href]").forEach((e=>e.href=e.href.replace(\/\?.*\/\$1`?\$2{n}`)))\$1t=!0\$1clearInterval(a)}};document.addEventListener("DOMContentLoaded"\$1(()=>{const e=document.querySelector("body script");if(!e)return;const t=e?.textContent?.match(\/"] = '(.*?)'\/g);if(!t)return;t.forEach((e=>{const t=e.replace(\/.*'(.*?)'\/\$1"\$2\$3");r.add(t)}));const n=document.querySelector('.dl_button[href*="preview"]');if(!n)return;const a=n.href.split("?")[1];r.has(a)&&r.delete(a);document.querySelectorAll(".dl_button[href]").forEach((e=>e.addEventListener("click"\$1l)))}))})();/
!#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)))}))})();
!#endif
!#if (!adguard_ext_chromium_mv3 && !adguard_ext_android_cb && !adguard_app_ios && !adguard_ext_safari && !ext_ublock)
exploader.net#%#//scriptlet('abort-current-inline-script', 'EventTarget.prototype.addEventListener', '.innerHTML')
exploader.net##article > div[style*="1120px"]
!#endif