From f70b9ad82710ffb62b7bdb082adbf5a8f98f6bc1 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 14 Jun 2024 21:03:06 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20[=E7=88=B1=E6=BC=AB?=
=?UTF-8?q?=E7=94=BB]=E3=80=81[188=E6=BC=AB=E7=94=BB=E7=BD=91]=20=E6=94=AF?=
=?UTF-8?q?=E6=8C=81(=E5=9F=9F=E5=90=8D=E4=BC=BC=E4=B9=8E=E5=85=A8?=
=?UTF-8?q?=E9=83=BD=E6=8C=82=E4=BA=86=EF=BC=8C=E4=B8=8D=E6=B8=85=E6=A5=9A?=
=?UTF-8?q?=E6=98=AF=E5=90=A6=E6=9C=89=E6=96=B0=E5=9F=9F=E5=90=8D=EF=BC=8C?=
=?UTF-8?q?=E7=9F=A5=E9=81=93=E7=9A=84=E4=BA=BA=E5=8F=AF=E4=BB=A5=E8=B7=9F?=
=?UTF-8?q?=E6=88=91=E8=AF=B4=E4=B8=8B=EF=BC=8C=E6=88=91=E5=86=8D=E7=BB=99?=
=?UTF-8?q?=E6=81=A2=E5=A4=8D=E5=9B=9E=E6=9D=A5);=20=E8=B0=83=E6=95=B4=20[?=
=?UTF-8?q?Mangabz=20=E6=BC=AB=E7=94=BB=20-=20=E5=88=86=E7=B1=BB=E9=A1=B5]?=
=?UTF-8?q?=E3=80=81[Xmanhua=20=E6=BC=AB=E7=94=BB=20-=20=E5=88=86=E7=B1=BB?=
=?UTF-8?q?=E9=A1=B5]=20=E7=9A=84=20blank=20=E5=BC=BA=E5=88=B6=E6=96=B0?=
=?UTF-8?q?=E6=A0=87=E7=AD=BE=E9=A1=B5=E6=89=93=E5=BC=80=E9=93=BE=E6=8E=A5?=
=?UTF-8?q?=E7=9A=84=E6=96=B9=E5=BC=8F(1=E6=94=B9=E4=B8=BA4)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 83 ++----------------------------------------------
1 file changed, 2 insertions(+), 81 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 08a7763..db5be05 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -914,36 +914,6 @@ function: {
scrollD: 4000
}
}, // 漫画猫 + 漫画飞
- imanhuaw: {
- host: ['www.imanhuaw.net', 'www.imanhuaw.com', 'www.ccshwy.com'],
- url: ()=> {
- if (getCSS('.mh-search-result')) {
- curSite = DBSite.imanhuaw_list;
- } else if (getCSS('a#zhankai')) {
- getCSS('a#zhankai').click();
- } else if (indexOF(/\/\d{3,}\.html/)) {
- curSite = DBSite.imanhuaw; imanhuaw_init();
- }
- },
- style: '#sider-left, #sider-right, .main-left, .main-right, .w996.tc, .title > span {display: none !important;} #qTcms_Pic_middle img {max-width: 110%;height: auto;}',
- pager: {
- type: 4,
- nextL: imanhuaw_nextL,
- insertP: ['#qTcms_Pic_middle img:last-of-type', 4],
- insertE: imanhuaw_insertE,
- replaceE: '.title h2',
- interval: 2000,
- scrollD: 3000
- }
- }, // 爱漫画 + 188漫画网
- imanhuaw_list: {
- blank: 1,
- pager: {
- nextL: '//div[@class="NewPages"]//a[text()="下一页"]',
- pageE: 'ul.mh-search-list > li',
- replaceE: '.NewPages'
- }
- }, // 爱漫画 - 分类页
hicomic: {
host: 'www.hicomic.net',
url: ()=> {if (indexOF('/chapters/')) {
@@ -1017,7 +987,7 @@ function: {
}
}, // Mangabz 漫画
mangabz_list: {
- blank: 1,
+ blank: 4,
pager: {
nextL: '//div[contains(@class,"page-pagination")]//a[contains(text(), ">")]',
pageE: 'ul.mh-list > li',
@@ -1069,7 +1039,7 @@ function: {
}
}, // Xmanhua 漫画
xmanhua_list: {
- blank: 1,
+ blank: 4,
pager: {
nextL: '//div[@class="page-pagination"]//a[contains(text(), ">")]',
pageE: 'ul.mh-list > li',
@@ -1493,55 +1463,6 @@ function: {
}
- // [爱漫画] 获取全部图片
- function imanhuaw_getIMG() {
- let _img = '', _imgUrl;
- for (let one of base64_decode(qTcms_S_m_murl_e).split("$qingtiandy$")) {
- _imgUrl = one;
- if (one.substring(0,1) == '/') {
- _imgUrl = qTcms_m_weburl + _imgUrl;
- } else {
- if (qTcms_Pic_m_if != '2') {
- one = one.replace(/\?/gi, 'a1a1');
- one = one.replace(/&/gi, 'b1b1');
- one = one.replace(/%/gi, 'c1c1');
- let m_httpurl = '';
- if (typeof(qTcms_S_m_mhttpurl) != 'undefined') m_httpurl = base64_decode(qTcms_S_m_mhttpurl);
- if (location.hostname == 'www.ccshwy.com') qTcms_m_indexurl = 'http://h.ccshwy.com/';
- _imgUrl = qTcms_m_indexurl + 'statics/pic/?p=' + escape(one) + '&picid=' + qTcms_S_m_id + '&m_httpurl=' + escape(m_httpurl);
- } else {
- _imgUrl = _imgUrl.replace('http:', '') ;
- _imgUrl = _imgUrl.replace('https:', '');
- }
- }
- _img += `
`;
- }
- return _img;
- }
- // [爱漫画] 初始化(调整本话其余图片)
- function imanhuaw_init() {
- getOne(curSite.pager.insertP[0]).outerHTML = imanhuaw_getIMG();
- document.oncontextmenu = function(){}
- }
- // [爱漫画] 获取下一页地址
- function imanhuaw_nextL() {
- let next = location.origin + qTcms_Pic_nextArr
- if (next && next != location.origin && next != curSite.pageUrl) {
- curSite.pageUrl = next;
- getPageE_(curSite.pageUrl);
- }
- }
- // [爱漫画] 插入数据
- function imanhuaw_insertE(pageE, type) {
- if (!pageE) return
- // 插入并运行