From 077c46596078fa0f83bd9b5a4a8a12f2ef809096 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 21 Jul 2022 18:40:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[hitomi]=20=E6=94=AF?= =?UTF-8?q?=E6=8C=81;=20=E7=A7=BB=E9=99=A4=20[=E6=A8=B1=E8=8A=B1=E5=8A=A8?= =?UTF-8?q?=E6=BC=AB]=20=E6=94=AF=E6=8C=81(=E5=B7=B2=E5=8C=B9=E9=85=8D?= =?UTF-8?q?=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 3a35c2d..177f7aa 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2196,26 +2196,6 @@ "replaceE": ".pages" } }, - "樱花动漫": { - "host": ["www.imomoe.la","www.imomoe.live"], - "url": "return (fun.indexOF('/list/'))", - "blank": 3, - "pager": { - "nextL": "//div[@class='pages']/a[text()='下一页']", - "pageE": "#contrainer>.img> ul>li", - "replaceE": ".pages" - } - }, - "樱花动漫 - 搜索页等": { - "host": ["www.imomoe.la","www.imomoe.live"], - "url": "return (fun.lp() == '/so.asp' || fun.lp() == '/search.asp')", - "blank": 3, - "pager": { - "nextL": "//div[@class='pages']/a[text()='下一页']", - "pageE": "#contrainer .fire .pics>ul>li", - "replaceE": ".pages" - } - }, "怡萱动漫": { "host": "www.yxdm.li", "url": "return (fun.indexOF('/search') || fun.indexOF('/category') || fun.indexOF('/resource'))", @@ -5869,6 +5849,15 @@ "replaceE": ".reader-pagination" } }, + "hitomi": { + "host": "hitomi.la", + "url": "if(fun.indexOF('/reader/')){setTimeout(()=>{let _img='
';for (let i=0;i<2;i++){_img += ``;};document.getElementById('comicImages').outerHTML = _img+'
';window.imgIndex = 1;},500);return true;}", + "style": "body {height: auto !important; overflow: auto !important;} #comicImages.fitVertical img {margin: 0 auto;display: block;max-height: calc(1000px - 41px);} .navbar-static-top {display: none;}", + "pager": { + "nextL": "js;if(window.imgIndex +1 >= our_galleryinfo.length){return}; document.getElementById('comicImages').insertAdjacentHTML('beforeend', ``); window.imgIndex+=1;", + "scrollD": 1000 + } + }, "MANGA1000": { "host": "manga1000.top", "url": "/^\\/\\d+\\/\\d+\\//",