From dca79caf80b8a4e53d370d55dcb7575cbf04784e Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Tue, 19 Oct 2021 22:35:38 +0800
Subject: [PATCH 0001/1702] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[A=20=E5=B2=9B]?=
=?UTF-8?q?=20=E5=85=B6=E4=BB=96=E5=9F=9F=E5=90=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index a0db3870d..a6111a2c9 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.1.0
+// @version 3.1.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 *://*/*
@@ -1121,7 +1121,7 @@
}
}, // 飞客网论坛 - 帖子内
adnmb3: {
- host: 'adnmb3.com',
+ host: ['adnmb3.com', 'www.tnmb.org'],
functionStart: function() {
if (location.pathname.indexOf('/m/f/') > -1) {
curSite = DBSite.adnmb3_mf;
@@ -1139,7 +1139,7 @@
insertP: ['css;.h-threads-list', 3],
replaceE: '//ul[contains(@class, "pagination")]',
scriptT: 3,
- scrollD: 1500
+ scrollD: 2000
}
}, // A 岛
adnmb3_t: {
@@ -1150,7 +1150,7 @@
insertP: ['css;.h-threads-list > .h-threads-item', 3],
replaceE: '//ul[contains(@class, "pagination")]',
scriptT: 3,
- scrollD: 1500
+ scrollD: 2000
}
}, // A 岛 - 帖子内
adnmb3_mf: {
@@ -1161,7 +1161,7 @@
insertP: ['css;#h-threads-pagination', 1],
replaceE: 'css;#h-threads-pagination',
scriptT: 3,
- scrollD: 1500
+ scrollD: 2000
}
}, // A 岛 - 帖子列表(手机版)
adnmb3_mt: {
@@ -1172,7 +1172,7 @@
insertP: ['css;.h-threads-replylist', 3],
replaceE: 'css;#h-threads-pagination',
scriptT: 3,
- scrollD: 1500
+ scrollD: 2000
}
}, // A 岛 - 帖子内(手机版)
guokr: {
@@ -4503,18 +4503,16 @@
// [Anime1] 获取下一页内容(叠加)
function anime1_nextL() {
- let next = document.getElementById('tablepress-1_next');
+ let next = getCSS('#tablepress-1_next');
if (next && next.className.indexOf('disabled') === -1) {
- let oldList = document.querySelector('tbody.row-hover');
+ let oldList = getCSS('tbody.row-hover').innerHTML;
if (oldList) {
- // 将当前列表存为变量
- oldList = oldList.innerHTML;
// 点击下一页
next.click();
// 当前页码 + 1
pageNum.now = pageNum._now + 1
// 插入到列表头部
- document.querySelector('tbody.row-hover').insertAdjacentHTML('afterbegin', oldList);
+ getCSS('tbody.row-hover').insertAdjacentHTML('afterbegin', oldList);
}
}
}
@@ -4899,7 +4897,7 @@
if (next) {
if (next.href === curSite.pageUrl) return
curSite.pageUrl = next.href;
- console.log(curSite.pageUrl)
+ //console.log(curSite.pageUrl)
getPageElems(curSite.pageUrl);
}
}
@@ -5426,7 +5424,7 @@
timeout: 10000,
onload: function (response) {
try {
- processResult(response);
+ processResult(ShowPager.createDocumentByString(response.responseText));
} catch (e) {
console.log(e);
}
@@ -5438,7 +5436,7 @@
// XHR 后处理结果
function processResult(response) {
//console.log('最终 URL:' + response.finalUrl, '返回内容:' + response.responseText)
- var newBody = ShowPager.createDocumentByString(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)
From 893df0fb7c6ea41bbf5a6804110350a50e4c0c31 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Tue, 19 Oct 2021 23:57:45 +0800
Subject: [PATCH 0002/1702] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[3DM]=20?=
=?UTF-8?q?=E8=A7=84=E5=88=99?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index a6111a2c9..8fd15f0e5 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.1.1
+// @version 3.1.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 *://*/*
@@ -1330,10 +1330,11 @@
pager: {
type: 3,
nextL: 'css;li.next > a',
- pageE: 'css;.news_warp_center > *',
+ pageE: 'css;script[src*="common.js"], .news_warp_center > *',
insertP: ['css;.news_warp_center', 3],
replaceE: 'css;.pagewrap',
scrollE: 'css;.pagewrap',
+ scriptT: 3,
scrollD: 400
}
}, // 3DM
From ead7ba33a9fb1466d2ebd83186d5a0670d981f60 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 20 Oct 2021 17:56:37 +0800
Subject: [PATCH 0003/1702] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[3DM=20-=20?=
=?UTF-8?q?=E6=B8=B8=E6=88=8F=E5=88=97=E8=A1=A8=E9=A1=B5=E3=80=81=E4=B8=93?=
=?UTF-8?q?=E5=8C=BA=E5=86=85=E5=88=97=E8=A1=A8]=E3=80=81[=E6=B8=B8?=
=?UTF-8?q?=E4=BE=A0=E7=BD=91=20-=20=E6=B8=B8=E6=88=8F=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E9=A1=B5]=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 | 70 +++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 67 insertions(+), 3 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 8fd15f0e5..ac1a6600b 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.1.2
+// @version 3.1.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 *://*/*
@@ -1327,6 +1327,16 @@
}, // 下得乐
_3dmgame: {
host: 'www.3dmgame.com',
+ functionStart: function() {
+ if (getCSS('.ztliswrap > div.lis')) {
+ curSite = DBSite._3dmgame_list;
+ } else if (getCSS('.newsleft > ul')) {
+ curSite = DBSite._3dmgame_list2;
+ } else if (location.pathname.indexOf('/resource') > -1) {
+ curSite = DBSite._3dmgame_list3;
+ } else {
+ curSite = DBSite._3dmgame;
+ }},
pager: {
type: 3,
nextL: 'css;li.next > a',
@@ -1335,9 +1345,47 @@
replaceE: 'css;.pagewrap',
scrollE: 'css;.pagewrap',
scriptT: 3,
- scrollD: 400
+ scrollD: 600
}
}, // 3DM
+ _3dmgame_list: {
+ pager: {
+ type: 1,
+ nextL: 'css;li.next > a',
+ pageE: 'css;.ztliswrap > div.lis',
+ insertP: ['css;.pagewrap', 1],
+ replaceE: 'css;.pagewrap',
+ scrollD: 1000
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-original]', 'data-original']
+ }
+ }, // 3DM - 分类页
+ _3dmgame_list2: {
+ pager: {
+ type: 1,
+ nextL: 'css;li.next > a',
+ pageE: 'css;.newsleft > ul > li',
+ insertP: ['css;.newsleft > ul', 3],
+ replaceE: 'css;.pagewrap',
+ scrollD: 1000
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-original]', 'data-original']
+ }
+ }, // 3DM - 游戏专区 - 分类页
+ _3dmgame_list3: {
+ pager: {
+ type: 1,
+ nextL: 'css;li.next > a',
+ pageE: 'css;.item > ul',
+ insertP: ['css;.item > ul:last-child', 1],
+ replaceE: 'css;.pagewrap',
+ scrollD: 800
+ }
+ }, // 3DM - 游戏专区 - 资源页
_3dmgame_mod: {
host: 'mod.3dmgame.com',
pager: {
@@ -1359,9 +1407,25 @@
insertP: ['css;.page_fenye', 1],
replaceE: 'css;.page_fenye',
scrollE: 'css;.page_fenye',
- scrollD: 400
+ scrollD: 600
}
}, // 游侠网
+ ali213_list: {
+ host: 'down.ali213.net',
+ functionStart: function() {if (getCSS('.famous-ul > .famous-li')) {curSite = DBSite.ali213_list;}},
+ pager: {
+ type: 1,
+ nextL: 'css;a.page-next',
+ pageE: 'css;.famous-ul > .famous-li',
+ insertP: ['css;.famous-ul', 3],
+ replaceE: 'css;.page-container',
+ scrollD: 1000
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-original]', 'data-original']
+ }
+ }, // 游侠网 - 分类页
ali213_gl: {
host: 'gl.ali213.net',
insStyle: '.n_show_b {display: none !important;}',
From fc83bf8ddded94120a29d9a8bbe12780902dc5f3 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 22 Oct 2021 12:24:26 +0800
Subject: [PATCH 0004/1702] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=9B=A0=20Gith?=
=?UTF-8?q?ub=20=E6=A0=B7=E5=BC=8F=E6=9B=B4=E6=96=B0=E5=AF=BC=E8=87=B4=20R?=
=?UTF-8?q?elease=20=E5=8A=A0=E9=80=9F=E6=BA=90=E6=8C=89=E9=92=AE=E4=B8=8D?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 43 +++-------------------
1 file changed, 6 insertions(+), 37 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index d45de5119..10c0022c2 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.3
+// @version 1.6.4
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -134,43 +134,14 @@
// Release
function addRelease() {
- let html = document.getElementsByClassName('Box Box--condensed');if (!html) return
- let divDisplay;
- if (document.documentElement.clientWidth > 1000) {
- divDisplay = 'display: flex;';
- } else {
- divDisplay = 'display: block;';
- }
+ let html = document.getElementsByClassName('Box-footer');if (!html) 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('.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('small.pl-2.color-text-secondary.flex-shrink-0').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) {
+ current.querySelectorAll('li.Box-row > a').forEach(function (_this) {
let href = _this.href.split(location.host),
url = [],
- _html = ``;
+ _html = `
`;
for (let i=0;i
{el.className='d-flex py-1 py-md-2 Box-body px-2'});
}
From fcde68a0c911a3530b8d65c97a8844cdf1ad6f80 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 22 Oct 2021 12:32:28 +0800
Subject: [PATCH 0005/1702] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[Github=20-=20Re?=
=?UTF-8?q?leases=20=E5=88=97=E8=A1=A8]=E3=80=81[Github=20-=20Tags=20?=
=?UTF-8?q?=E5=88=97=E8=A1=A8]=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 | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index ac1a6600b..286975342 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.1.3
+// @version 3.1.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 *://*/*
@@ -3340,9 +3340,9 @@
github_releases: {
pager: {
type: 1,
- nextL: '//div[@class="pagination"]/a[contains(text(), "Next")]',
- pageE: 'css;.repository-content >.position-relative > div',
- insertP: ['css;.repository-content >.position-relative', 3],
+ nextL: 'css;a.next_page',
+ pageE: 'css;#repo-content-pjax-container > div[data-pjax] > div:not(.paginate-container)',
+ insertP: ['//div[contains(@class, "paginate-container")][1]', 1],
replaceE: 'css;.pagination',
scrollD: 3000
}
@@ -3351,8 +3351,8 @@
pager: {
type: 1,
nextL: '//div[@class="pagination"]/a[contains(text(), "Next")]',
- pageE: 'css;.repository-content > .Box > div.Box-row',
- insertP: ['css;.repository-content > .Box', 3],
+ pageE: 'css;.Box-body > div.Box-row',
+ insertP: ['css;.Box-body', 3],
replaceE: 'css;.pagination',
scrollD: 3000
}
From 8c62c7327517a793372240cbdbae6ebd6776fafc Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 22 Oct 2021 13:58:59 +0800
Subject: [PATCH 0006/1702] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[Discuz!]=20?=
=?UTF-8?q?=E8=A7=84=E5=88=99=E8=AF=86=E5=88=AB=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 286975342..bcc526263 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 3.1.4
+// @version 3.1.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 *://*/*
@@ -4204,12 +4204,12 @@
// [Discuz! 论坛] 判断各版块帖子列表类型
function discuzForum() {
- if (document.querySelector('#pgbtn, .pgbtn')) { // 如果各版块帖子列表已存在这个元素,说明自带了无缝翻页
- return
- } else if (document.getElementById('autopbn')) { // 判断是否有 [下一页] 按钮
+ if (document.getElementById('autopbn')) { // 判断是否有 [下一页] 按钮
curSite = DBSite.discuz_forum;
- } else if (document.getElementById('waterfall')) { // 判断是否为图片模式
- curSite = DBSite.discuz_waterfall; waterfallStyle(); // 图片模式列表样式预处理
+ } else if (document.getElementById('waterfall')) { // 判断是否为图片模式
+ if (!document.querySelector('#pgbtn, .pgbtn')) { // 如果各版块帖子列表已存在这个元素,说明自带了无缝翻页
+ curSite = DBSite.discuz_waterfall; waterfallStyle(); // 图片模式列表样式预处理
+ }
} else {
curSite = DBSite.discuz_guide;
}
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 0007/1702] =?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 0008/1702] =?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 0009/1702] =?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 0010/1702] =?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 0011/1702] =?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 0012/1702] =?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 0013/1702] =?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 0014/1702] =?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 0015/1702] =?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 0016/1702] =?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 0017/1702] =?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 0018/1702] =?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 0019/1702] 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 0020/1702] 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 0021/1702] =?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 0022/1702] =?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]);
- // 获取