From deb53236d61d72144e779c86df1e5b81b12da8d5 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[rule34comic]=20=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index ced8bbc..a9eb05b 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5959,6 +5959,32 @@ "replaceE": ".page" } }, + "rule34comic.party": { + "host": "rule34comic.party", + "url": "return fun.isPager()", + "blank": 3, + "pager": { + "nextL": ".item.pager.next>a", + "pageE": ".item.thumb ", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE)" + } + }, + "rule34comic.party - read": { + "host": "rule34comic.party", + "url": "if(fun.indexOF(/^\\/read\\/.*\\/\\d+/)){document.querySelector('img[data-original]').src=document.querySelector('img[data-original]').dataset.original;setTimeout(()=>{fun.src_bF(fun.getAllCSS('img.hidden[data-src]'));},2000);document.body.appendChild(document.createElement('script')).textContent = 'document.querySelector(\\'.thumbs-gallery-read\\').addEventListener(\\'error\\', function(event) {if (event.target.tagName === \\'IMG\\') {const img = event.target;console.log(`重试加载图片: ${img.src} 尝试 ${img.dataset.attempts}`);img.src = img.src;}}, true);';return true;}", + "style": ".video_container img.hidden{display: block !important;} .read-comic-prev,.read-comic-next,#scrollToFixed{display: none !important;}", + "pager": { + "nextL": "a.read-comic-next", + "pageE": ".thumbs-gallery-read>img", + "replaceE": "a.read-comic-next" + }, + "function": { + "bF": "return fun.src_bF(pageE)" + } + }, "E-Hentai": { "host": ["e-hentai.org","exhentai.org"], "url": "if(fun.getCSS('.itg,#gdt,#img')){setTimeout(()=>{window.nl=()=>{return false}},2000);return true}",