From c5f41795f51e30c19ccbec68c87fb67c7c9acfd8 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 20 Jun 2024 15:23:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=BC=AB=E7=94=BB1234]?= =?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 | 43 ++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 6b1a299..ceff0a3 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3364,29 +3364,9 @@ "replaceE": ".pagination, .pages, .page" } }, - "古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台 / 古漫画 / 前未漫画 / 下拉式漫画": { - "host": ["www.gufengmh.com","/^www\\.gufengmh\\d/","www.123gf.com","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.36man.cc","www.100fanwo.com","www.manmantai.com","www.izhegu.com","www.qianwee.com","www.xlsmh.com"], - "url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {if (/^www\\.(123gf|ykmh|izhegu|qianwee|manmantai)\\.com$/.test(location.hostname)|| location.hostname.indexOf('36man') != -1) {if (localStorage.getItem('chapterScroll') != '\"pagination\"') {localStorage.setItem('chapterScroll', '\"pagination\"'); location.reload();} else {setTimeout(()=>{let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|izhegu)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'){host+='/'}; if (location.hostname == 'www.qianwee.com' ||location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http')){host=''}; for (let i=0;i`;}; document.getElementById('images').innerHTML = _img;}, 500); return true;}} else if (localStorage.getItem('chapterScroll') != '\"scroll\"') {localStorage.setItem('chapterScroll', '\"scroll\"'); location.reload();}else{return true}}", - "style": ".img_land_prev, .img_land_next, #sider-left, #sider-right, p.img_info, .tc, .chapter-view + .w996, .chapter-view>div[style]:not([id]):not([class]) {display: none !important;} #images{min-height: 6000px !important;} #images>img {display: inline-block !important;min-height: 400px;margin: 0 auto !important;border: none !important;padding: 0 !important;max-width: 99% !important;height: auto !important;}", - "history": true, - "pager": { - "nextL": "js; let url = comicUrl + nextChapterData.id + '.html'; if (nextChapterData.id != null && url && url != '.html' && url != location.href) return url", - "pageE": "//script[contains(text(),'chapterImages')]", - "insertP": [ - "body", - 3 - ], - "scriptT": 2, - "interval": 4000, - "scrollD": 4000 - }, - "function": { - "aF": "let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|100fanwo|izhegu|xlsmh)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'){host+='/'}; if (location.hostname == 'www.qianwee.com' ||location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http') ||location.hostname == 'www.xlsmh.com'){host=''}; for (let i=0;i`;}; document.getElementById('images').insertAdjacentHTML('beforeend', _img);" - } - }, - "古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台 / 古漫画 / 前未漫画 / 下拉式漫画 - 分类页": { - "host": ["www.gufengmh.com","/^www\\.gufengmh\\d/","www.123gf.com","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.36man.cc","www.100fanwo.com","www.manmantai.com","www.izhegu.com","www.qianwee.com","www.xlsmh.com"], - "url": "/^\\/(update|list|search)/", + "古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台 / 古漫画 / 前未漫画 / 下拉式漫画 / 漫画1234 - 分类页": { + "host": ["www.gufengmh.com","/^www\\.gufengmh\\d/","www.123gf.com","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.36man.cc","www.100fanwo.com","www.manmantai.com","www.izhegu.com","www.qianwee.com","www.xlsmh.com","www.gmh1234.com"], + "url": "/^\\/(comic\\/)?(update|list|search)/", "blank": 3, "pager": { "nextL": "li.next>a", @@ -3394,6 +3374,23 @@ "replaceE": "ul.pagination" } }, + "古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台 / 古漫画 / 前未漫画 / 下拉式漫画 / 漫画1234": { + "host": ["www.gufengmh.com","/^www\\.gufengmh\\d/","www.123gf.com","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.36man.cc","www.100fanwo.com","www.manmantai.com","www.izhegu.com","www.qianwee.com","www.xlsmh.com","www.gmh1234.com"], + "url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {if (/^www\\.(123gf|ykmh|izhegu|qianwee|manmantai)\\.com$/.test(location.hostname)|| location.hostname.indexOf('36man') != -1) {if (localStorage.getItem('chapterScroll') != '\"pagination\"') {localStorage.setItem('chapterScroll', '\"pagination\"'); location.reload();} else {setTimeout(()=>{let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|izhegu)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'||location.hostname=='www.gmh1234.com'){host+='/'}; if (location.hostname == 'www.qianwee.com' ||location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http')){host=''}; for (let i=0;i`;}; document.getElementById('images').innerHTML = _img;}, 500); return true;}} else if (localStorage.getItem('chapterScroll') != '\"scroll\"') {localStorage.setItem('chapterScroll', '\"scroll\"'); location.reload();}else{return true}}", + "style": ".img_land_prev, .img_land_next, #sider-left, #sider-right, p.img_info, .tc, .chapter-view + .w996, .chapter-view>div[style]:not([id]):not([class]) {display: none !important;} #images{min-height: 6000px !important;} #images>img {display: inline-block !important;min-height: 400px;margin: 0 auto !important;border: none !important;padding: 0 !important;max-width: 99% !important;height: auto !important;}", + "history": true, + "pager": { + "nextL": "js; let url = comicUrl.replace('.html','/') + nextChapterData.id + '.html'; if (nextChapterData.id != null && url && url != '.html' && url != location.href) return url", + "pageE": "//script[contains(text(),'chapterImages')]", + "insertP": ["body",3], + "scriptT": 2, + "interval": 4000, + "scrollD": 4000 + }, + "function": { + "aF": "let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|100fanwo|izhegu|xlsmh)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'||location.hostname=='www.gmh1234.com'){host+='/'}; if (location.hostname == 'www.qianwee.com' ||location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http') ||location.hostname == 'www.xlsmh.com'){host=''}; for (let i=0;i`;}; document.getElementById('images').insertAdjacentHTML('beforeend', _img);" + } + }, "爱漫之家 / 733 动漫": { "host": ["www.52fuman.xyz","www.733.so"], "url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {let _img='',imgArr=qTcms_S_m_murl.split('$qingtiandy$'); for (let i=0;i`;}; fun.getCSS('#qTcms_Pic_middle td').innerHTML=_img; return true}",