From ecd429f5ddb21d4cbef979af5477e96cdc448496 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 12 Apr 2024 09:18:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20[=E5=8A=A8=E6=BC=AB?= =?UTF-8?q?=E4=B9=8B=E5=AE=B6](=E6=94=B9=E5=8A=A8=E6=80=81=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E4=BA=86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 69 --------------------------------------- 1 file changed, 69 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 21d79d9..7f3a34f 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3105,75 +3105,6 @@ "bF": "return fun.src_bF(pageE)" } }, - "动漫之家": { - "host": ["www.dmzj.com","www.idmzj.com"], - "url": "if (fun.indexOF('/view/')) {if (fun.getCookie('display_mode') != '1') {document.cookie='display_mode=1; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/';location.reload();}else{return true;}}", - "style": "p.mh_curr_page, .btmBtnBox, .float_code, #floatCode {display: none !important;} .comic_wraCon > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;min-height: 200px;}", - "history": true, - "pager": { - "nextL": "span.next>a", - "pageE": "head>script[type]:not([src])", - "insertP": ["body",3], - "replaceE": ".wrap_last_mid", - "scriptT": 2, - "interval": 4000, - "scrollD": 3000 - }, - "function": { - "aF": "let _img = '', _img_arr; if (pages.indexOf('|') === -1){pages = pages.replace(/\\r\\n/g, '|')}; _img_arr = JSON.parse(pages).page_url.split('|'); for (let i=0;i<_img_arr.length;i++) {_img += ``;}; fun.getCSS('.comic_wraCon').insertAdjacentHTML('beforeend', _img);" - } - }, - "动漫之家 - 分类页": { - "host": ["www.dmzj.com","www.idmzj.com"], - "url": "/^\\/(category|update|rank)/", - "style": ".wrap_mhlist_l.con_left, .wrap_list {height: auto!important;}", - "blank": 3, - "pager": { - "nextL": "a.pg_next", - "pageE": "ul.list_con_li>li, .ph_r_con_li>div:not(.ad_column)", - "replaceE": ".page" - } - }, - "动漫之家 - 日漫": { - "host": ["manhua.dmzj.com","manhua.idmzj.com"], - "url": "if (fun.indexOF(/\\/\\d+\\.shtml/)) {let chapterScroll = fun.getCSS('#qiehuan_txt'); if (chapterScroll && chapterScroll.textContent === '切换到上下滚动阅读') {chapterScroll.click();} else {return true;}}", - "style": "p.curr_page, .btmBtnBox, .float_code, #floatCode {display: none !important;} #center_box > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;min-height: 200px;}", - "history": true, - "pager": { - "nextL": "#next_chapter", - "pageE": "head>script[type]:not([src])", - "insertP": ["body",3], - "replaceE": ".display_graybg", - "scriptT": 2, - "interval": 2000, - "scrollD": 3000 - }, - "function": { - "aF": "let _img = ''; for (let i=0;i`;}; fun.getCSS('#center_box').insertAdjacentHTML('beforeend', _img);" - } - }, - "动漫之家 - 日漫 - 分类页": { - "host": ["manhua.dmzj.com","manhua.idmzj.com"], - "url": "/^\\/tags/", - "pager": { - "type": 6, - "nextL": "//div[@class='pages']/a[contains(text(), '下一页')]", - "pageE": ".tcaricature_block>ul", - "replaceE": ".pages", - "forceHTTPS": true, - "loadTime": 800 - } - }, - "动漫之家 - 日漫 - 最近更新": { - "host": ["manhua.dmzj.com","manhua.idmzj.com"], - "url": "/^\\/update/", - "blank": 3, - "pager": { - "nextL": "//div[@class='pages']/a[contains(text(), '下一页')]", - "pageE": ".newpic_content > *:not(.pages)", - "replaceE": ".pages" - } - }, "快岸漫画": { "host": "www.kanbook.net", "url": "if (fun.indexOF(/^\\/\\d+\\/\\d+\\/\\d+/)) {if (fun.getCSS('img.img-fluid')){fun.getCSS('img.img-fluid').style.display = 'none';}; setTimeout(()=>{let _img = '';for (let i = 0; i < imagesUrlArr.length; i++) {_img += ``;};document.querySelector('.content-wrapper').insertAdjacentHTML('beforeend', _img);},500); return true;}",