From 6aa36e13f50000006733d55b852cc43748364ca3 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 27 Dec 2021 13:32:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=88=B1=E6=BC=AB?=
=?UTF-8?q?=E7=94=BB]=20=E6=94=AF=E6=8C=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 66 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 65 insertions(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 444732d..d955ccc 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.2.6
+// @version 4.2.7
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、Pixiv、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、片库、茶杯狐、NO视频、低端影视、奈菲影视、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画 DB、动漫之家、拷贝漫画、包子漫画、古风漫画网、Mangabz、PubMed、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -2800,6 +2800,38 @@ function: {
scrollD: 1500
}
}, // 漫画皮 - 分类页
+ imanhuaw: {
+ host: 'www.imanhuaw.com',
+ functionS: function() {
+ if (getCSS('.mh-search-result')) {
+ curSite = DBSite.imanhuaw_list;
+ } else if (getCSS('a#zhankai')) {
+ getCSS('a#zhankai').click();
+ } else if (indexOF(/\/imanhua\/.+\/\d{3,}\.html/)) {
+ curSite = DBSite.imanhuaw; imanhuaw_init();
+ }
+ },
+ insStyle: '#sider-left, #sider-right, .main-left, .main-right, .w996.tc, .title > span {display: none !important;}',
+ history: true,
+ pager: {
+ type: 4,
+ nextL: imanhuaw_nextL,
+ insertP: ['css;#qTcms_Pic_middle img:last-of-type', 4],
+ insertE: imanhuaw_insertE,
+ replaceE: 'css;.title h2',
+ interval: 2000,
+ scrollD: 3000
+ }
+ }, // 爱漫画
+ imanhuaw_list: {
+ pager: {
+ type: 1,
+ nextL: '//div[@class="NewPages"]//a[text()="下一页"]',
+ pageE: 'css;ul.mh-search-list > li',
+ replaceE: 'css;.NewPages',
+ scrollD: 1500
+ }
+ }, // 爱漫画 - 分类页
manhuagui: {
host: 'www.mhgui.com',
functionS: function() {if (indexOF(/\/comic\/\d+\/\d+\.html/)) {
@@ -5987,6 +6019,38 @@ function: {
}
+ // [爱漫画] 初始化(调整本话其余图片)
+ function imanhuaw_init() {
+ let _img = '';
+ for (let one of base64_decode(qTcms_S_m_murl_e).split("$qingtiandy$")) {_img += `
`;}
+ getOne(curSite.pager.insertP[0]).outerHTML = _img;
+ }
+ // [爱漫画] 获取下一页地址
+ function imanhuaw_nextL() {
+ let next = location.origin + qTcms_Pic_nextArr
+ if (next && next != location.origin && next != curSite.pageUrl) {
+ curSite.pageUrl = next;
+ getPageElems_(curSite.pageUrl);
+ }
+ }
+ // [爱漫画] 插入数据
+ function imanhuaw_insertE(pageElems, type) {
+ if (!pageElems) return
+ // 插入并运行