From 66ccc15868c2ed20c525162eb0b8f683914a36b5 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 22 Oct 2021 18:29:12 +0800
Subject: [PATCH 0001/1710] =?UTF-8?q?=E4=BF=9D=E7=95=99=20=E6=97=A7?=
=?UTF-8?q?=E7=89=88=20Release=20=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F?=
=?UTF-8?q?=E7=9A=84=E6=94=AF=E6=8C=81=EF=BC=88=E7=9B=AE=E5=89=8D=E6=B8=B8?=
=?UTF-8?q?=E5=AE=A2=E7=9C=8B=E5=88=B0=E7=9A=84=E4=BE=9D=E7=84=B6=E6=98=AF?=
=?UTF-8?q?=E6=97=A7=E7=89=88=E6=A0=B7=E5=BC=8F=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 102 ++++++++++++++++-----
1 file changed, 79 insertions(+), 23 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index 10c0022c2..50843bf7e 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
-// @version 1.6.4
+// @version 1.6.5
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -134,31 +134,87 @@
// Release
function addRelease() {
- let html = document.getElementsByClassName('Box-footer');if (!html) return
+ let html = document.getElementsByClassName('Box-footer');//if (html.length == 0) return
let divDisplay = '';
- if (document.documentElement.clientWidth > 1000) {divDisplay = 'float: right;margin-top: -3px;margin-left: 8px;';}; // 调整小屏幕下样式
- Array.from(html).forEach(function (current) {
- current.querySelectorAll('li.Box-row > a').forEach(function (_this) {
- let href = _this.href.split(location.host),
- url = [],
- _html = `
`;
-
- for (let i=0;i
0) {
+ if (document.documentElement.clientWidth > 1000) {divDisplay = 'float: right;margin-top: -3px;margin-left: 8px;';}; // 调整小屏幕下样式
+ Array.from(html).forEach(function (current) {
+ current.querySelectorAll('li.Box-row > a').forEach(function (_this) {
+ let href = _this.href.split(location.host),
+ url = [],
+ _html = ``;
+
+ for (let i=0;i${download_url[i][1]}`
- }
- _html += `
`
- _this.insertAdjacentHTML('afterend', _html);
+
+ for (let i=0;i${download_url[i][1]}`
+ }
+ _html += ` `
+ _this.insertAdjacentHTML('afterend', _html);
+ });
});
- });
+ } else if (document.getElementsByClassName('Box Box--condensed').length > 0) {
+ html = document.getElementsByClassName('Box Box--condensed')
+ if (document.documentElement.clientWidth > 1000) {divDisplay = 'display: flex;';} else {divDisplay = 'display: block;';}
+ Array.from(html).forEach(function (current) {
+ current.querySelectorAll('.d-flex.Box-body > a').forEach(function (_this) {
+ let href = _this.href.split(location.host),
+ url = [],
+ _html = ``;
+
+ for (let i=0;i${download_url[i][1]}`
+ }
+ _html += `
`
+ _this.nextElementSibling.insertAdjacentHTML('afterend', _html);
+ });
+ // 修改[文件大小]元素样式
+ document.querySelectorAll('.Box.Box--condensed small').forEach(el=>{el.style.cssText='display: flex; justify-content: flex-end; flex-grow: 1; margin-right: 8px;'});
+
+
+ // Source Code
+ current.querySelectorAll('.d-block.Box-body > a').forEach(function (_this) {
+ let href = _this.href.split(location.host),
+ url = [],
+ _html = ``;
+
+ for (let i=0;i${download_url[i][1]}`
+ }
+ _html += `
`
+ _this.insertAdjacentHTML('afterend', _html);
+ });
+ });
+ // 修改 Source code 样式,使其和加速按钮并列一排
+ document.querySelectorAll('div.d-block.py-1.py-md-2.Box-body.px-2').forEach(el=>{el.className='d-flex py-1 py-md-2 Box-body px-2'});
+ } else {
+ return
+ }
}
From 2588068e5f26fd7ef5b81906486d5e065cad2115 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sat, 23 Oct 2021 14:56:07 +0800
Subject: [PATCH 0002/1710] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=BE=A1?=
=?UTF-8?q?=E4=B9=A6=E7=BD=91]=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 | 42 +++++++++++++++++++++++++++++++++++++++++-
1 file changed, 41 insertions(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index bcc526263..4a16b26ca 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.1.5
+// @version 3.1.6
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -2721,6 +2721,46 @@
scrollD: 900
}
}, // 宝书网- 手机版
+ yushubo: {
+ host: 'www.yushubo.com',
+ functionStart: function() {if (location.pathname.indexOf('/read_') > -1) {
+ curSite = DBSite.yushubo;
+ } else if (location.pathname.indexOf('/lists/') > -1) {
+ curSite = DBSite.yushubo_list;
+ } else if (location.pathname.indexOf('/all') > -1) {
+ curSite = DBSite.yushubo_all;
+ }},
+ insStyle: '.readbg.mt10 {display: none !important;}',
+ pager: {
+ type: 1,
+ nextL: '//div[contains(@class, "articlebtn")]/a[contains(text(), "下一页") or contains(text(), "下一章")]',
+ pageE: 'css;#BookText',
+ insertP: ['css;#BookText', 5],
+ replaceE: 'css;.articlebtn, head > title',
+ history: true,
+ scrollD: 1000
+ }
+ }, // 御书网
+ yushubo_list: {
+ pager: {
+ type: 1,
+ nextL: 'id("pager")//a[contains(text(), "下一页")]',
+ pageE: 'css;.books-list > ul > li',
+ insertP: ['css;.books-list > ul', 3],
+ replaceE: 'css;#pager',
+ scrollD: 1000
+ }
+ }, // 御书网 - 分类页
+ yushubo_all: {
+ pager: {
+ type: 1,
+ nextL: 'id("pager")//a[contains(text(), "下一页")]',
+ pageE: 'css;ul.search-list > li',
+ insertP: ['css;ul.search-list', 3],
+ replaceE: 'css;#pager',
+ scrollD: 1000
+ }
+ }, // 御书网 - 书库页
xineyby: {
host: 'www.xineyby.com',
functionStart: function() {if (location.pathname.indexOf('/read/') > -1) {
From 36b015c76c3cb3d136e02fb30582c08a181d7811 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 24 Oct 2021 12:54:13 +0800
Subject: [PATCH 0003/1710] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=96=B0?=
=?UTF-8?q?=E7=89=87=E5=9C=BA]=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 | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 4a16b26ca..4205b8c06 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.1.6
+// @version 3.1.7
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -3990,6 +3990,22 @@
scrollD: 1000
}
}, // 壁纸
+ xinpianchang: {
+ host: 'www.xinpianchang.com',
+ insStyle: '.lazy-img {opacity: 1 !important;}',
+ pager: {
+ type: 1,
+ nextL: 'css;.page > a[title="下一页"]',
+ pageE: 'css;div[class*="-container"] div[class*="-con"] > ul > li, div[class*="-container"] div[class*="-con"] > div[class*="-wrap"] > ul > li',
+ insertP: ['css;div[class*="-container"] div[class*="-con"] > ul, div[class*="-container"] div[class*="-con"] > div[class*="-wrap"] > ul', 3],
+ replaceE: 'css;.page',
+ scrollD: 2000
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[_src]', '_src']
+ }
+ }, // 新片场
fnvshen: {
host: 'www.fnvshen.com',
functionStart: function() {
From be847d9b323db32a696d1143b6660041ee88ae62 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 25 Oct 2021 09:43:32 +0800
Subject: [PATCH 0004/1710] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=A7=80?=
=?UTF-8?q?=E4=BA=BA=E7=BE=8E=E5=A5=B3=E7=BD=91]=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 | 40 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 39 insertions(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 4205b8c06..5c93805ae 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.1.7
+// @version 3.1.8
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -4006,6 +4006,44 @@
pF: [0, 'img[_src]', '_src']
}
}, // 新片场
+ xrmn5: {
+ host: 'www.xrmn5.com',
+ functionStart: function() {if (/\d+\.html/.test(location.pathname)) {
+ curSite = DBSite.xrmn5;
+ } else if (location.pathname.indexOf('/search') > -1) {
+ curSite = DBSite.xrmn5_search;
+ /*} else {
+ curSite = DBSite.xrmn5_list;*/
+ }},
+ pager: {
+ type: 1,
+ nextL: '//div[contains(@class, "page")]//a[contains(text(), "下页")]',
+ pageE: 'css;.content_left > p > img',
+ insertP: ['css;.content_left > p', 3],
+ replaceE: 'css;.page',
+ scrollD: 3000
+ }
+ }, // 秀人美女网 - 图片页
+ xrmn5_list: {
+ pager: {
+ type: 1,
+ nextL: '//div[contains(@class, "page")]//a[contains(text(), "下页")]',
+ pageE: 'css;ul.update_area_lists > li',
+ insertP: ['css;ul.update_area_lists', 3],
+ replaceE: 'css;.page',
+ scrollD: 2000
+ }
+ }, // 秀人美女网 - 分类页
+ xrmn5_search: {
+ pager: {
+ type: 1,
+ nextL: 'css;.page a.current+a',
+ pageE: 'css;div.sousuo',
+ insertP: ['//div[contains(@class, "sousuo")][last()]', 4],
+ replaceE: 'css;.page',
+ scrollD: 2000
+ }
+ }, // 秀人美女网 - 搜索页
fnvshen: {
host: 'www.fnvshen.com',
functionStart: function() {
From eebb19f0f0ddcf3961f887ea032f8d7ed93e72d1 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 29 Oct 2021 17:10:33 +0800
Subject: [PATCH 0005/1710] =?UTF-8?q?=E8=A7=A3=E5=86=B3=20=E5=B1=8F?=
=?UTF-8?q?=E8=94=BD=E8=A7=86=E9=A2=91=E5=90=8E=EF=BC=8C=E5=9B=A0=E9=A6=96?=
=?UTF-8?q?=E9=A1=B5=E4=BF=A1=E6=81=AF=E6=B5=81=E5=A4=AA=E5=B0=91=E8=80=8C?=
=?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=BB=9A=E5=8A=A8=E6=9D=A1=EF=BC=8C=E5=AF=BC?=
=?UTF-8?q?=E8=87=B4=E6=97=A0=E6=B3=95=E5=8A=A0=E8=BD=BD=E6=9B=B4=E5=A4=9A?=
=?UTF-8?q?=E5=86=85=E5=AE=B9=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Zhihu-Enhanced.user.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js
index 4b5815380..4c1066db6 100644
--- a/Zhihu-Enhanced.user.js
+++ b/Zhihu-Enhanced.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 知乎增强
-// @version 1.7.6
+// @version 1.7.7
// @author X.I.U
// @description 移除登录弹窗、默认收起回答、一键收起回答、收起当前回答/评论(点击两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、屏蔽首页视频(视频/文章等类别)、屏蔽盐选内容、净化标题消息、展开问题描述、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
// @match *://www.zhihu.com/*
@@ -1576,6 +1576,8 @@ function questionInvitation(){
blockUsers('index'); // 屏蔽指定用户
blockKeywords('index'); // 屏蔽指定关键词
blockType(); // 屏蔽指定类别(视频/文章等)
+ // 解决屏蔽视频后,因为首页信息流太少而没有滚动条导致无法加载更多内容的问题
+ document.lastElementChild.appendChild(document.createElement('style')).textContent = '.Topstory-container{min-height: 1500px;}';
}
}
})();
\ No newline at end of file
From c79b87c109906a5996ae79fb00a8e224bb263689 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 29 Oct 2021 17:23:50 +0800
Subject: [PATCH 0006/1710] =?UTF-8?q?=E8=A7=A3=E5=86=B3=20=E5=B1=8F?=
=?UTF-8?q?=E8=94=BD=E8=A7=86=E9=A2=91=E5=90=8E=EF=BC=8C=E5=9B=A0=E9=A6=96?=
=?UTF-8?q?=E9=A1=B5=E4=BF=A1=E6=81=AF=E6=B5=81=E5=A4=AA=E5=B0=91=E8=80=8C?=
=?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=BB=9A=E5=8A=A8=E6=9D=A1=EF=BC=8C=E5=AF=BC?=
=?UTF-8?q?=E8=87=B4=E6=97=A0=E6=B3=95=E5=8A=A0=E8=BD=BD=E6=9B=B4=E5=A4=9A?=
=?UTF-8?q?=E5=86=85=E5=AE=B9=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Zhihu-Enhanced.user.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js
index 4c1066db6..0d70144ce 100644
--- a/Zhihu-Enhanced.user.js
+++ b/Zhihu-Enhanced.user.js
@@ -1577,7 +1577,7 @@ function questionInvitation(){
blockKeywords('index'); // 屏蔽指定关键词
blockType(); // 屏蔽指定类别(视频/文章等)
// 解决屏蔽视频后,因为首页信息流太少而没有滚动条导致无法加载更多内容的问题
- document.lastElementChild.appendChild(document.createElement('style')).textContent = '.Topstory-container{min-height: 1500px;}';
+ if (menu_value('menu_blockTypeVideo')) document.lastElementChild.appendChild(document.createElement('style')).textContent = '.Topstory-container{min-height: 1500px;}';
}
}
})();
\ No newline at end of file
From 891d2416e5cde587cd610c5bb1e98228348fa180 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 29 Oct 2021 19:57:13 +0800
Subject: [PATCH 0007/1710] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[ACS]=E3=80=81[W?=
=?UTF-8?q?iley=20Online=20Library]=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 | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 5c93805ae..a987ea5a5 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.1.8
+// @version 3.1.9
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -3744,6 +3744,19 @@
scrollD: 1500
}
}, // 学术
+ acs: {
+ host: ['pubs.acs.org','onlinelibrary.wiley.com'],
+ functionStart: function() {if (location.pathname.indexOf('/doSearch') > -1) {curSite = DBSite.acs;}},
+ pager: {
+ type: 1,
+ nextL: 'css;a.pagination__btn--next',
+ pageE: 'css;ul.items-results > *',
+ insertP: ['css;ul.items-results', 3],
+ replaceE: 'css;.pagination',
+ history: true,
+ scrollD: 3000
+ }
+ }, // 学术
google_scholar: {
pager: {
type: 1,
@@ -5649,7 +5662,7 @@
}
// 添加历史记录
- if (curSite.pager.history) {
+ if (curSite.pager.history && newBody.querySelector('title')) {
window.history.pushState(`{title: ${document.title}, url: ${location.href}}`, newBody.querySelector('title').textContent, curSite.pageUrl);
}
From 66943c6cbf55c6669914d764191cc433955277b8 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sat, 30 Oct 2021 10:14:53 +0800
Subject: [PATCH 0008/1710] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[CADTutor]?=
=?UTF-8?q?=E3=80=81[TheSwamp]=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 | 69 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 68 insertions(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index a987ea5a5..b7dd6872b 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.1.9
+// @version 3.2.0
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -3829,6 +3829,73 @@
scrollD: 1000
}
}, // 360 学术
+ cadtutor: {
+ host: 'www.cadtutor.net',
+ functionStart: function() {
+ if (location.pathname.indexOf('/forum/forum/') > -1) {
+ curSite = DBSite.cadtutor;
+ } else if (location.pathname.indexOf('/forum/topic/') > -1) {
+ curSite = DBSite.cadtutor_post;
+ } else if (location.pathname.indexOf('/forum/search/') > -1) {
+ curSite = DBSite.cadtutor_search;
+ }},
+ pager: {
+ type: 1,
+ nextL: 'css;a[rel="next"]',
+ pageE: 'css;ol.ipsDataList > li:not([data-rowid])~li',
+ insertP: ['css;ol.ipsDataList', 3],
+ replaceE: 'css;ul.ipsPagination',
+ scrollD: 2000
+ }
+ }, // CADTutor - 列表页
+ cadtutor_post: {
+ pager: {
+ type: 1,
+ nextL: 'css;a[rel="next"]',
+ pageE: 'css;#elPostFeed > form > *:not(input):not(.after-first-post)',
+ insertP: ['css;#elPostFeed > form', 3],
+ replaceE: 'css;ul.ipsPagination',
+ scrollD: 2000
+ }
+ }, // CADTutor - 帖子内
+ cadtutor_search: {
+ pager: {
+ type: 1,
+ nextL: 'css;a[rel="next"]',
+ pageE: 'css;ol.ipsStream > li',
+ insertP: ['css;ol.ipsStream', 3],
+ replaceE: 'css;ul.ipsPagination',
+ scrollD: 2000
+ }
+ }, // CADTutor - 搜索页
+ theswamp: {
+ host: 'www.theswamp.org',
+ functionStart: function() {
+ if (!location.search) return
+ if (location.search.indexOf('board=') > -1) {
+ curSite = DBSite.theswamp;
+ } else if (location.search.indexOf('topic=') > -1) {
+ curSite = DBSite.theswamp_post;
+ }},
+ pager: {
+ type: 1,
+ nextL: 'css;.pagelinks > strong+a',
+ pageE: 'css;#messageindex tbody > tr:not([class])',
+ insertP: ['css;#messageindex tbody', 3],
+ replaceE: 'css;.pagelinks',
+ scrollD: 2000
+ }
+ }, // TheSwamp - 列表页
+ theswamp_post: {
+ pager: {
+ type: 1,
+ nextL: 'css;.pagelinks > strong+a',
+ pageE: 'css;#forumposts form > *',
+ insertP: ['css;#forumposts form', 3],
+ replaceE: 'css;.pagelinks',
+ scrollD: 2000
+ }
+ }, // TheSwamp - 帖子内
wikihow: {
host: ['www.wikihow.com', 'zh.wikihow.com'],
functionStart: function() {if (location.pathname.indexOf('/Category:') > -1) {
From d45099de67c88b0f2f988276882de23f9c4ede1d Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sat, 30 Oct 2021 19:01:06 +0800
Subject: [PATCH 0009/1710] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[B=E7=AB=99=20-?=
=?UTF-8?q?=20=E6=90=9C=E7=B4=A2=E9=A1=B5]=20=E8=A7=84=E5=88=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index b7dd6872b..7968bf0b3 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.2.0
+// @version 3.2.1
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -1588,11 +1588,8 @@
insertP: ['css;ul.video-list', 3],
replaceE: 'css;ul.pages',
scriptT: 2,
- history: function() {
- if (/page=\d+/.test(location.search)) return false;
- return true;
- },
- scrollD: 800
+ history: function() {if (/page=\d+/.test(location.search)) {return false;} else {return true;}},// 解决 locationChange 与 history 冲突的问题,只有返回 true 才会重置规则+页码
+ scrollD: 1000
},
function: {
aF: bilibili_search_aF
@@ -4304,7 +4301,8 @@
setSiteTypeID();
// 用于脚本判断(针对部分特殊的网站)
SiteType = {
- BAIDU_TIEBA: DBSite.baidu_tieba.SiteTypeID
+ BAIDU_TIEBA: DBSite.baidu_tieba.SiteTypeID,
+ BILIBILI_SEARCH: DBSite.bilibili_search.SiteTypeID
};
}
@@ -5663,6 +5661,7 @@
timeout: 10000,
onload: function (response) {
try {
+ //console.log('最终 URL:' + response.finalUrl, '返回内容:' + response.responseText)
processResult(ShowPager.createDocumentByString(response.responseText));
} catch (e) {
console.log(e);
@@ -5674,13 +5673,12 @@
};
// XHR 后处理结果
function processResult(response) {
- //console.log('最终 URL:' + response.finalUrl, '返回内容:' + response.responseText)
var newBody = response;
let pageElems = getAll(curSite.pager.pageE, newBody, newBody),
toElement = getAll(curSite.pager.insertP[0])[0];
//console.log(curSite.pager.pageE, pageElems, curSite.pager.insertP, toElement)
- if (pageElems.length >= 0) {
+ if (pageElems.length > 0) {
// 如果有插入前函数就执行函数
if (curSite.function && curSite.function.bF) {
if (curSite.function.pF) { // 如果指定了参数
@@ -5729,8 +5727,10 @@
}
// 添加历史记录
- if (curSite.pager.history && newBody.querySelector('title')) {
- window.history.pushState(`{title: ${document.title}, url: ${location.href}}`, newBody.querySelector('title').textContent, curSite.pageUrl);
+ if (curSite.pager.history) {
+ let title_ = newBody.querySelector('title');
+ if (title_) {title_ = title_.textContent;} else {title_ = document.title;};
+ window.history.pushState(`{title: ${document.title}, url: ${location.href}}`, title_, curSite.pageUrl);
}
// 替换待替换元素
@@ -5757,6 +5757,8 @@
curSite.function.aF();
}
}
+ } else { // 获取主体元素失败后,尝试重新获取
+ if (curSite.SiteTypeID === SiteType.BILIBILI_SEARCH) {curSite.pageUrl = '';}
}
}
// 插入所有 Script
From b8ed04399a711d10a6e4e174c7e7b5d4d1a62bb1 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 31 Oct 2021 10:20:38 +0800
Subject: [PATCH 0010/1710] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[OI=20Wiki]?=
=?UTF-8?q?=E3=80=81[=E7=95=AA=E7=BB=84=E8=AE=A1=E5=88=92=20(Bangumi)]=20?=
=?UTF-8?q?=E6=94=AF=E6=8C=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 42 +++++++++++++++++++++++++++++++++++++++++-
1 file changed, 41 insertions(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 7968bf0b3..4f5b5f2ec 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.2.1
+// @version 3.2.2
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -959,6 +959,33 @@
scrollD: 1500
}
}, // 看雪论坛 - 帖子内
+ bangumitv: {
+ host: 'bangumi.tv',
+ functionStart: function() {
+ if (location.pathname.indexOf('/browser') > -1 || location.pathname.indexOf('/subject_search') > -1) {
+ curSite = DBSite.bangumitv;
+ } else if (location.pathname.indexOf('/forum') > -1) {
+ curSite = DBSite.bangumitv_forum;
+ }},
+ pager: {
+ type: 1,
+ nextL: '//div[@class="page_inner"]/a[contains(text(), "››")]',
+ pageE: 'css;ul#browserItemList > li',
+ insertP: ['css;ul#browserItemList', 3],
+ replaceE: 'css;.page_inner',
+ scrollD: 1500
+ }
+ }, // 番组计划
+ bangumitv_forum: {
+ pager: {
+ type: 1,
+ nextL: '//div[@class="page_inner"]/a[contains(text(), "››")]',
+ pageE: 'css;.topic_list > tbody:last-of-type > tr.topic',
+ insertP: ['css;.topic_list > tbody:last-of-type', 3],
+ replaceE: 'css;.page_inner',
+ scrollD: 1500
+ }
+ }, // 番组计划 - 小组帖子列表
kdslife: {
host: 'club.kdslife.com',
functionStart: function() {
@@ -3920,6 +3947,19 @@
scrollD: 3000
}
}, // 指南 - 搜索页
+ oi_wiki: {
+ host: 'oi-wiki.org',
+ insStyle: 'blockquote.page-copyright, h2#__comments, form#gitalk-form {display: none !important;} article.md-content__inner{min-height: 700px;}',
+ pager: {
+ type: 1,
+ nextL: 'css;li.md-nav__item.md-nav__item--active.md-nav__item--nested li.md-nav__item--active+li a',
+ pageE: 'css;article.md-content__inner',
+ insertP: ['css;article.md-content__inner', 5],
+ replaceE: 'css;.md-sidebar.md-sidebar--primary',
+ history: true,
+ scrollD: 1300
+ }
+ }, // 编程竞赛
afreecatv: {
host: 'www.afreecatv.com',
pager: {
From 6da7c749c158d4d52dff5fb97fdac26ce96a1fef Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 31 Oct 2021 14:27:05 +0800
Subject: [PATCH 0011/1710] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[X-MOL]=20?=
=?UTF-8?q?=E6=94=AF=E6=8C=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 4f5b5f2ec..a6c204732 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.2.2
+// @version 3.2.3
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -3781,6 +3781,19 @@
scrollD: 3000
}
}, // 学术
+ x_mol: {
+ host: 'www.x-mol.com',
+ functionStart: function() {if (location.pathname.indexOf('/search/q') > -1) {curSite = DBSite.x_mol;}},
+ pager: {
+ type: 1,
+ nextL: x_mol_mod_nextL,
+ pageE: 'css;.magazine-senior-search-results-list > ul > li',
+ insertP: ['css;.magazine-senior-search-results-list > ul', 3],
+ replaceE: 'css;.pagination',
+ history: true,
+ scrollD: 2000
+ }
+ }, // 学术
google_scholar: {
pager: {
type: 1,
@@ -4661,6 +4674,26 @@
}
+ // [X-MOL] 获取下一页地址
+ function x_mol_mod_nextL() {
+ let nextNum = getCSS('.pagination li.active+li > a');
+ var url;
+ if (nextNum && nextNum.textContent) {
+ if (location.search) {
+ let search;
+ if (location.search.indexOf('pageIndex=') > -1) {
+ search = location.search.replace(/pageIndex=\d+/, 'pageIndex=' + nextNum.textContent);
+ } else {
+ search = location.search + '&pageIndex=' + nextNum.textContent;
+ }
+ url = location.origin + location.pathname + search;
+ }
+ }
+ //console.log(url)
+ return url
+ }
+
+
// [游民星空-攻略] 的插入前函数(移除下一页底部的 "更多相关内容请关注:xxx" 文字)
function gamersky_gl_bF(pageElems) {
pageElems.forEach(function (one) {
From 9c72f4a9203e8757ccb7cc766e77708f83f14f4c Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 31 Oct 2021 18:31:29 +0800
Subject: [PATCH 0012/1710] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[CADTutor]?=
=?UTF-8?q?=E3=80=81[TheSwamp]=20=E8=A7=84=E5=88=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index a6c204732..5fd99d992 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.2.3
+// @version 3.2.4
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -27,7 +27,7 @@
['menu_discuz_thread_page', '帖子内自动翻页', '帖子内自动翻页', true],
['menu_page_number', '显示当前页码及点击暂停翻页', '显示当前页码及点击暂停翻页', true],
['menu_pause_page', '左键双击网页空白处暂停翻页', '左键双击网页空白处暂停翻页', false]
- ], menuId = [], webType = 0, curSite = {SiteTypeID: 0}, DBSite, SiteType, pausePage = true, pageNum = {now: 1, _now: 1}, locationChange = false, nowLocation = '', forumWebsite = ['cs.rin.ru', 'www.flyert.com', 'bbs.pediy.com', 'www.libaclub.com', 'tieba.baidu.com'];
+ ], menuId = [], webType = 0, curSite = {SiteTypeID: 0}, DBSite, SiteType, pausePage = true, pageNum = {now: 1, _now: 1}, locationChange = false, nowLocation = '', forumWebsite = ['cs.rin.ru', 'www.flyert.com', 'bbs.pediy.com', 'www.libaclub.com', 'tieba.baidu.com', 'www.cadtutor.net', 'www.theswamp.org'];
for (let i=0;i -1) {
curSite = DBSite.cadtutor;
- } else if (location.pathname.indexOf('/forum/topic/') > -1) {
+ } else if (location.pathname.indexOf('/forum/topic/') > -1 && GM_getValue('menu_discuz_thread_page')) {
curSite = DBSite.cadtutor_post;
} else if (location.pathname.indexOf('/forum/search/') > -1) {
curSite = DBSite.cadtutor_search;
@@ -3911,7 +3911,7 @@
if (!location.search) return
if (location.search.indexOf('board=') > -1) {
curSite = DBSite.theswamp;
- } else if (location.search.indexOf('topic=') > -1) {
+ } else if (location.search.indexOf('topic=') > -1 && GM_getValue('menu_discuz_thread_page')) {
curSite = DBSite.theswamp_post;
}},
pager: {
From a586182b6d344873edef95455f90ba15a1af631d Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 3 Nov 2021 15:19:10 +0800
Subject: [PATCH 0013/1710] Update
---
.github/ISSUE_TEMPLATE/------bug-report-.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/ISSUE_TEMPLATE/------bug-report-.md b/.github/ISSUE_TEMPLATE/------bug-report-.md
index 6dafc5a50..e186e54da 100644
--- a/.github/ISSUE_TEMPLATE/------bug-report-.md
+++ b/.github/ISSUE_TEMPLATE/------bug-report-.md
@@ -8,3 +8,4 @@ assignees: ''
---
+
From 39df87139fcac867ca27438531c8aa8fa74059c3 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 3 Nov 2021 15:21:48 +0800
Subject: [PATCH 0014/1710] Update
---
.github/ISSUE_TEMPLATE/------bug-report-.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/ISSUE_TEMPLATE/------bug-report-.md b/.github/ISSUE_TEMPLATE/------bug-report-.md
index e186e54da..71ae4f2a9 100644
--- a/.github/ISSUE_TEMPLATE/------bug-report-.md
+++ b/.github/ISSUE_TEMPLATE/------bug-report-.md
@@ -8,4 +8,4 @@ assignees: ''
---
-
+
From e555290e1f78bf1e32e0a37adbd0e29f70394e55 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 3 Nov 2021 20:46:54 +0800
Subject: [PATCH 0015/1710] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[Steam=20?=
=?UTF-8?q?=E5=88=9B=E6=84=8F=E5=B7=A5=E5=9D=8A]=20=E8=A7=84=E5=88=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/Autopage.user.js b/Autopage.user.js
index 5fd99d992..4b0896bd3 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1520,6 +1520,7 @@
}, // NexusMods
steamcommunity: {
host: 'steamcommunity.com',
+ functionStart: function() {if (location.pathname.indexOf('/workshop/browse') > -1) {curSite = DBSite.steamcommunity;}},
pager: {
type: 1,
nextL: '//a[@class="pagebtn"][last()]',
From 167b24639f0423e804e490d0dea696056bd26cfa Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 5 Nov 2021 14:56:19 +0800
Subject: [PATCH 0016/1710] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[=E7=99=BE?=
=?UTF-8?q?=E5=BA=A6=E8=B4=B4=E5=90=A7]=20=E8=A7=84=E5=88=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 56 +++++++++++++++++++++---------------------------
1 file changed, 24 insertions(+), 32 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 4b0896bd3..638291192 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.2.4
+// @version 3.2.5
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、微博、NGA、V2EX、B 站(Bilibili)、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、FitGirl、片库、茶杯狐、NO视频、低端影视、奈菲影视、91美剧网、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画DB、动漫之家、古风漫画网、PubMed、wikiHow、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -4586,37 +4586,29 @@
// [百度贴吧] 插入数据
function baidu_tieba_insertE(newBody, type) {
if (!newBody) return
- let pageElems = getAll(curSite.pager.pageE, newBody, newBody),
- toElement = getAll(curSite.pager.insertP[0])[0];
- if (pageElems.length >= 0) {
- // 执行插入前函数
- pageElems = curSite.function.bF(pageElems);
- // 插入位置
- let addTo = getAddTo(curSite.pager.insertP[1]);
- // 获取