From 4eabd7778341457713b2e9ace21bbfc579cc1a6f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 14 May 2022 11:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=A5=BD=E6=BC=AB=208]?= =?UTF-8?q?=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 4654fd1..483f17a 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2808,6 +2808,30 @@ "bF": "return fun.src_bF(pageE)" } }, + "好漫 8": { + "host": "www.haoman8.com", + "url": "if (fun.indexOF(/^\\/comic\\/\\d+\\/\\d+$/)){if (fun.getCookie('pmode') != '2') {document.cookie='pmode=2; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/';location.reload();}else{fun.src_bF(fun.getAllCSS('img[data-echo]'), [0,'img[data-echo]','data-echo']); return true;}}", + "style": "#readerContainer {position: initial !important;overflow: hidden !important;} #js_pageInfoText, #js_pageProgress, #js_ftAutoBtn {display: none !important;}", + "pager": { + "nextL": "js;return (location.origin + fun.getCSS('#js_pageNextBtn').getAttribute('_href'))", + "pageE": ".acgn-reader-chapter__item[id]", + "replaceE": "#js_footMenu", + "interval": 4000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-echo]','data-echo'])" + } + }, + "好漫 8 - 分类页": { + "host": "www.haoman8.com", + "url": "/^\\/category\\//", + "style": "#readerContainer {position: initial !important;overflow: hidden !important;} #js_pageInfoText, #js_pageProgress, #js_ftAutoBtn {display: none !important;}", + "pager": { + "nextL": ".acgn-pages>.on+a", + "pageE": "li.acgn-item", + "replaceE": ".acgn-pages" + } + }, "动漫狂": { "host": "www.cartoonmad.cc", "style": "body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:not(:first-child) {display: none !important;} body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:first-child img {max-width: 100%;height: auto;display: block !important;margin: 0 auto !important;}",