From 3861dc9177f261fe1658445cf6bcab95c0e782d5 Mon Sep 17 00:00:00 2001 From: Yuki2718 Date: Mon, 22 Jun 2026 00:50:35 +0900 Subject: [PATCH] make safer --- JapaneseFilter/sections/specific.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JapaneseFilter/sections/specific.txt b/JapaneseFilter/sections/specific.txt index ac6abbca748..12646cacff1 100644 --- a/JapaneseFilter/sections/specific.txt +++ b/JapaneseFilter/sections/specific.txt @@ -61,7 +61,7 @@ gundamlog.com###more > iframe[src^="https://richlink.blogsys.jp"] ! NOTE: Specific rules ! androplus.jp##fieldset:has(> legend + div[data-link-click]) -[$path=/\/[a-z]+\/\d+\/ad$/]solispia.com#%#//scriptlet('trusted-replace-node-text', 'script', 'openModal', '/document\.addEventListener\(\'DOMContentLoaded\', function[\S\s]+?(const novelId\s*=\s*\d+;\s*const targetUrl\s*=.+?\d+";)[\S\s]+?verifying = true;\s*(try \{\s*const res[\S\s]+?ad_meta:)[\S\s]+?CMの準備中です...\'\);\s*.*?\s*(try \{\s*const res[\S\s]+?return;\s*\})[\S\s]*/', 'document.addEventListener(\'DOMContentLoaded\', async function(){$1 const sleep=ms=>new Promise(resolve=>setTimeout(resolve,ms));$3 await sleep(5000+Math.floor(Math.random()*3000));$2 {"type":"reward","amount": 2}})});const j=await res.json().catch(()=>null);}catch(e){}window.location.href=targetUrl;})') +[$path=/\/[a-z]+\/\d+\/ad$/]solispia.com#%#//scriptlet('trusted-replace-node-text', 'script', 'openModal', '/document\.addEventListener\(\'DOMContentLoaded\', function[\S\s]+?(const novelId\s*=\s*\d+;\s*const targetUrl\s*=.+?\d+";)[\S\s]+?verifying = true;\s*(try \{[\S\s]+?ad_meta:)[\S\s]+?CMの準備中です...\'\);\s*.*?\s*(try \{\s*[\S\s]+?catch\s*\(\w*\)\s*\{)[\S\s]*/', 'document.addEventListener(\'DOMContentLoaded\', async function(){$1 const sleep=ms=>new Promise(resolve=>setTimeout(resolve,ms));$3 return;}await sleep(5000+Math.floor(Math.random()*3000));$2 {"type":"reward","amount": 2}})});if(!res.ok)throw res.status;const j=await res.json().catch(()=>null);if(j&&j.ok){window.location.href=targetUrl;}}catch(e){}})') solispia.com##.ad-large-a ||m.media-amazon.com/images/I/$image,redirect=1x1-transparent.gif,domain=fo76db.com fo76db.com#%#//scriptlet('prevent-addEventListener', 'DOMContentLoaded', 'adsHTML')