From 547186fa6eacdf9048097792c80c36cbada6eb7d Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Tue, 18 Jan 2022 16:43:11 +0800
Subject: [PATCH 0001/1482] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20[=E5=B1=8F?=
=?UTF-8?q?=E8=94=BD=E7=94=A8=E6=88=B7]=E3=80=81[=E5=B1=8F=E8=94=BD?=
=?UTF-8?q?=E5=85=B3=E9=94=AE=E8=AF=8D]=20=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Zhihu-Enhanced.user.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js
index 80d03dbce..7a27f1749 100644
--- a/Zhihu-Enhanced.user.js
+++ b/Zhihu-Enhanced.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 知乎增强
-// @version 1.9.3
+// @version 1.9.4
// @author X.I.U
// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起当前回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
// @match *://www.zhihu.com/*
@@ -400,7 +400,7 @@ function blockUsers(type) {
if (!menu_value('menu_customBlockUsers') || menu_value('menu_customBlockUsers').length < 1) return
switch(type) {
case 'index':
- blockUsers_('.Card.TopstoryItem.TopstoryItem--old.TopstoryItem-isRecommend', 'Card TopstoryItem TopstoryItem--old TopstoryItem-isRecommend');
+ blockUsers_('.Card.TopstoryItem.TopstoryItem-isRecommend', 'Card TopstoryItem TopstoryItem-isRecommend');
break;
case 'question':
blockUsers_question();
@@ -723,7 +723,7 @@ function blockKeywords(type) {
if (!menu_value('menu_customBlockKeywords') || menu_value('menu_customBlockKeywords').length < 1) return
switch(type) {
case 'index':
- blockKeywords_('.Card.TopstoryItem.TopstoryItem--old.TopstoryItem-isRecommend', 'Card TopstoryItem TopstoryItem--old TopstoryItem-isRecommend');
+ blockKeywords_('.Card.TopstoryItem.TopstoryItem-isRecommend', 'Card TopstoryItem TopstoryItem-isRecommend');
break;
case 'topic':
blockKeywords_('.List-item.TopicFeedItem', 'List-item TopicFeedItem');
From a8597a5c965c346ce47ea945d5628f46a0b26466 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 19 Jan 2022 11:06:24 +0800
Subject: [PATCH 0002/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=81=B5?=
=?UTF-8?q?=E6=A2=A6=E5=BE=A1=E6=89=80]=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 | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 6e5301710..82c87972f 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.5.1
+// @version 4.5.2
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -2598,6 +2598,17 @@ function: {
scrollD: 1500
}
}, // 琉璃神社
+ reimu: {
+ host: 'blog.reimu.net',
+ functionS: function() {if (lp == '/' || indexOF('/category') || indexOF('/tag')) curSite = DBSite.reimu},
+ pager: {
+ type: 1,
+ nextL: 'css;span.current+a.sfwppa-current-page',
+ pageE: 'css;article[id^="post-"]',
+ replaceE: 'css;.wp-pagenavi',
+ scrollD: 1500
+ }
+ }, // 灵梦御所
futaacg: {
host: 'futaacg.com',
pager: {
From d223f9adb3728040768e108c0e4632b236f8fd70 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 19 Jan 2022 11:28:33 +0800
Subject: [PATCH 0003/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?=
=?UTF-8?q?=E9=80=9F=E6=BA=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index e61530cfa..5435a52c4 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
-// @version 1.7.3
+// @version 1.7.4
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -58,7 +58,7 @@
['https://raw.githubusercontent.com', 'Github 原生',''],
['https://ghproxy.fsou.cc/https://github.com', '中国香港 1', ''],
['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '中国香港 2'],
- ['https://cdn.jsdelivr.net/gh','日本东京 1', '注意:该加速源存在缓存机制(24小时),所以文件可能不是最新。
注意:当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
注意:当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
+ ['https://fastly.jsdelivr.net/gh','日本东京 1', '注意:该加速源存在缓存机制(24小时),所以文件可能不是最新。
注意:当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
注意:当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
['https://cdn.staticaly.com/gh','日本东京 2', '注意:该加速是全球 Anycast CDN,国内一般分配到日本节点。'],
['https://raw.fastgit.org','日本东京 3', '注意:单个文件太大时可能会提示超时(实时获取中),请重试。']
],
From 1a6cab6db976e70ae401e38af8f7d3c80715a819 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 19 Jan 2022 13:21:58 +0800
Subject: [PATCH 0004/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81/=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 107 +++++++++------------
1 file changed, 45 insertions(+), 62 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index 5435a52c4..ec399b89b 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
-// @version 1.7.4
+// @version 1.7.5
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -42,8 +42,8 @@
['https://gh.api.99988866.xyz/https://github.com', '美国 3'],
['https://github.rc1844.workers.dev', '美国 4'],
['https://download.fastgit.org', '日本'],
- ['https://ghproxy.com/https://github.com', '韩国'],
- ['https://ghproxy.fsou.cc/https://github.com', '香港']
+ ['https://ghproxy.com/https://github.com', '韩国']
+ //['https://ghproxy.fsou.cc/https://github.com', '香港']
],
clone_url = [
['https://hub.fastgit.org', '中国香港'],
@@ -56,15 +56,15 @@
],
raw_url = [
['https://raw.githubusercontent.com', 'Github 原生',''],
- ['https://ghproxy.fsou.cc/https://github.com', '中国香港 1', ''],
- ['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '中国香港 2'],
+ //['https://ghproxy.fsou.cc/https://github.com', '中国香港 1', ''],
+ ['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '中国香港 2', ''],
['https://fastly.jsdelivr.net/gh','日本东京 1', '注意:该加速源存在缓存机制(24小时),所以文件可能不是最新。
注意:当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
注意:当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
['https://cdn.staticaly.com/gh','日本东京 2', '注意:该加速是全球 Anycast CDN,国内一般分配到日本节点。'],
['https://raw.fastgit.org','日本东京 3', '注意:单个文件太大时可能会提示超时(实时获取中),请重试。']
],
svg = [
'',
- '',
+ '',
''
],
style = ['padding:0 6px;margin-right: -1px;border-radius: 2px;background-color: '+backColor+';border-color: rgba(27, 31, 35, 0.1);font-size: 11px;color: '+fontColor+';'];
@@ -135,17 +135,15 @@
Array.from(html).forEach(function (current) {
current.querySelectorAll('li.Box-row > a').forEach(function (_this) {
let href = _this.href.split(location.host),
- url = [],
- _html = `
`;
- // 循环组合 URL 链接
- for (let i=0;i
-1) url[i] = url[i].replace('https://download.fastgit.org','https://archive.fastgit.org')
- }
+ url = '', _html = ``;
+
// 循环生成 HTML 标签
- for (let i=0;i
${download_url[i][1]}`
+ for (let i=0;i -1) url = url.replace('https://download.fastgit.org','https://archive.fastgit.org')
+
+ _html += `${download_url[i][1]}`
}
_html += ` `
_this.insertAdjacentHTML('afterend', _html);
@@ -159,17 +157,14 @@
if (document.querySelector('.XIU2-DZ')) return
let html = document.querySelector('.dropdown-menu.dropdown-menu-sw.p-0 ul li:last-child');if (!html) return
let href = html.getElementsByTagName('a')[0].href,
- url = [],
- _html = ``;
+ url = '', _html = '';
- for (let i=0;i -1) url[i] = url[i].replace('https://download.fastgit.org','https://archive.fastgit.org')
- }
+ for (let i=0;i -1) url = url.replace('https://download.fastgit.org','https://archive.fastgit.org')
- for (let i=0;i${svg[0]}Download ZIP ${download_url[i][1]}`
+ _html += `${svg[0]}Download ZIP ${download_url[i][1]}`
}
html.insertAdjacentHTML('afterend', _html);
}
@@ -180,19 +175,15 @@
if (document.querySelector('.XIU2-GC')) return
let html = document.querySelector('[role="tabpanel"]:nth-child(2) div.input-group');if (!html) return
let href_split = html.getElementsByTagName('input')[0].getAttribute('value').split(location.host),
- url = [],
- _html = ``;
+ url = '', _html = '';
- for (let i=0;i${svg[1]}
`
+ _html += ``
}
html.insertAdjacentHTML('afterend', _html);
}
@@ -203,17 +194,12 @@
if (document.querySelector('.XIU2-GCS')) return
let html = document.querySelector('[role="tabpanel"]:nth-child(3) div.input-group');if (!html) return
let href_split = html.getElementsByTagName('input')[0].getAttribute('value').split(':'),
- url = [],
- _html = ``;
+ _html = '';
if (href_split[0] != 'git@github.com') return
- for (let i=0;i${svg[1]}
`
+ for (let i=0;i${svg[1]}
`
}
html.insertAdjacentHTML('afterend', _html);
}
@@ -225,16 +211,18 @@
let html = document.getElementById('raw-url');if (!html) return
let href = location.href.replace(`https://${location.host}`,''),
href2 = href.replace('/blob/','/'),
- url = [
- raw_url[1][0] + href,
- raw_url[2][0] + href2,
- raw_url[3][0] + href.replace('/blob/','@'),
- raw_url[4][0] + href2,
- raw_url[5][0] + href2
- ],
- _html = ``;
- for (let i=0;i${raw_url[i+1][1]}`
+ url = '', _html = '';
+
+ for (let i=1;i${raw_url[i][1]}`
}
html.insertAdjacentHTML('afterend', _html);
}
@@ -272,22 +260,17 @@
Name = cntElm_a.innerText,
href = cntElm_a.attributes.href.nodeValue.replace(`https://${location.host}`,''),
href2 = href.replace('/blob/','/'), url, url_name, url_tip = '';
+
switch(menu_raw_fast) {
- case 0:
- case 2:
- case 4:
- case 5:
- url = raw_url[menu_raw_fast][0] + href2; break;
- case 1:
- url = raw_url[menu_raw_fast][0] + href; break;
+ //case 1:
+ // url = raw_url[menu_raw_fast][0] + href; break;
case 3:
url = raw_url[menu_raw_fast][0] + href.replace('/blob/','@'); break;
default:
- url = raw_url[menu_raw_fast][0] + '/' + raw_url[0][0] + href2;
+ url = raw_url[menu_raw_fast][0] + href2;
}
url_name = raw_url[menu_raw_fast][1]; url_tip = raw_url[menu_raw_fast][2];
- let _html = ` ${svg[2]}`;
- cntElm_svg.insertAdjacentHTML('afterend', _html);
+ cntElm_svg.insertAdjacentHTML('afterend', `${svg[2]}`);
// 绑定鼠标事件
trElm.onmouseover = mouseOverHandler;
trElm.onmouseout = mouseOutHandler;
From 572d2725ba7105245f2ea3c28e1c2cd9ecc5b0d4 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 19 Jan 2022 20:20:57 +0800
Subject: [PATCH 0005/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[CS.RIN.RU=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 | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 82c87972f..0d28a7e54 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.5.2
+// @version 4.5.3
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -2078,10 +2078,11 @@ function: {
host: 'cs.rin.ru',
functionS: function() {if (lp == '/forum/viewforum.php') {
curSite = DBSite.cs_rin_ru;
+ } else if (lp == '/forum/search.php') {
+ curSite = DBSite.cs_rin_ru_search;
+ if (indexOF('sr=posts', 's')) curSite.pager.pageE = 'css;#wrapcentre > form > table.tablebg > tbody > tr[class^="row"]'
} else if (lp == '/forum/viewtopic.php' && GM_getValue('menu_thread')) {
curSite = DBSite.cs_rin_ru_list;
- } else if (lp == '/forum/search.php') { // 搜索结果
- curSite = DBSite.cs_rin_ru_search;
}},
pager: {
type: 1,
From 5ab63a9cb39e38ce7eb22a754ad88136732fd3e1 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Thu, 20 Jan 2022 14:13:42 +0800
Subject: [PATCH 0006/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20Release=20?=
=?UTF-8?q?=E4=BB=A3=E7=A0=81;=20=E5=85=BC=E5=AE=B9=20=E6=88=91=E7=9A=84?=
=?UTF-8?q?=20[=E8=87=AA=E5=8A=A8=E6=97=A0=E7=BC=9D=E7=BF=BB=E9=A1=B5]=20?=
=?UTF-8?q?=E8=84=9A=E6=9C=AC=EF=BC=88Release=20=E9=A1=B5=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index ec399b89b..87809d7ad 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
-// @version 1.7.5
+// @version 1.7.6
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -124,18 +124,22 @@
// 在浏览器返回/前进时重新添加 Raw 下载链接(☁)事件
// Tampermonkey v4.11 版本添加的 onurlchange 事件 grant,可以监控 pjax 等网页的 URL 变化
if (window.onurlchange === undefined) {addUrlChangeEvent();}
- window.addEventListener('urlchange', function() {addRawDownLink_();});
+ window.addEventListener('urlchange', function() {
+ addRawDownLink_();
+ if (location.pathname.indexOf('/releases')) {addRelease();}
+ });
// Release
function addRelease() {
- let html = document.getElementsByClassName('Box-footer'); if (html.length == 0) return
+ let html = document.querySelectorAll('.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) {
+ for (const current of html) {
+ if (current.querySelector('.XIU2-RS')) continue
current.querySelectorAll('li.Box-row > a').forEach(function (_this) {
let href = _this.href.split(location.host),
- url = '', _html = ``;
+ url = '', _html = `
`;
// 循环生成 HTML 标签
for (let i=0;i${download_url[i][1]}`
}
- _html += `
`
- _this.insertAdjacentHTML('afterend', _html);
+ _this.insertAdjacentHTML('afterend', _html + '
');
});
- });
+ }
}
From 1c81c0998f5fb0e4349b3147a7008b5a507cd95d Mon Sep 17 00:00:00 2001
From: richex-cn
Date: Fri, 21 Jan 2022 11:57:39 +0800
Subject: [PATCH 0007/1482] fix hub.fastgit.org blocked by GFW (#162)
fix https://github.com/XIU2/UserScript/issues/161
https://t.me/fastgitchannel
---
GithubEnhanced-High-Speed-Download.user.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index 87809d7ad..ef713ef0f 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -46,13 +46,13 @@
//['https://ghproxy.fsou.cc/https://github.com', '香港']
],
clone_url = [
- ['https://hub.fastgit.org', '中国香港'],
+ ['https://hub.fastgit.xyz', '中国香港'],
['https://gitclone.com', '中国浙江'],
['https://github.com.cnpmjs.org', '新加坡']
],
clone_ssh_url = [
['git@git.zhlh6.cn', '中国北京'],
- ['git@hub.fastgit.org', '中国香港']
+ ['git@hub.fastgit.xyz', '中国香港']
],
raw_url = [
['https://raw.githubusercontent.com', 'Github 原生',''],
@@ -344,4 +344,4 @@
window.dispatchEvent(new Event('urlchange'))
});
}
-})();
\ No newline at end of file
+})();
From 0bdb7e0bbe6029fc91e298d25ed368d79f66e077 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 21 Jan 2022 12:11:56 +0800
Subject: [PATCH 0008/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Clone=20?=
=?UTF-8?q?=E5=8A=A0=E9=80=9F=E6=BA=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index ef713ef0f..4c3fc7cdf 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
-// @version 1.7.6
+// @version 1.7.7
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -46,13 +46,13 @@
//['https://ghproxy.fsou.cc/https://github.com', '香港']
],
clone_url = [
- ['https://hub.fastgit.xyz', '中国香港'],
['https://gitclone.com', '中国浙江'],
- ['https://github.com.cnpmjs.org', '新加坡']
+ ['https://github.com.cnpmjs.org', '新加坡'],
+ ['https://hub.fastgit.xyz', '日本东京']
],
clone_ssh_url = [
- ['git@git.zhlh6.cn', '中国北京'],
- ['git@hub.fastgit.xyz', '中国香港']
+ ['git@hub.fastgit.xyz', '日本东京'],
+ ['git@git.zhlh6.cn', '美国']
],
raw_url = [
['https://raw.githubusercontent.com', 'Github 原生',''],
From ff781f737a374aab36a7692eed908bd0f852f47c Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sat, 22 Jan 2022 21:39:40 +0800
Subject: [PATCH 0009/1482] =?UTF-8?q?=E8=A1=A5=E5=85=85=20=E5=8F=A6?=
=?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=9F=9F=E5=90=8D(=E7=BD=91=E7=AB=99?=
=?UTF-8?q?=E5=B7=A6=E4=B8=8A=E8=A7=92=E5=86=99=E4=BA=86=E5=BA=94=E8=AF=A5?=
=?UTF-8?q?=E6=B2=A1=E9=94=99...)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Hostloc-Enhanced.user.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Hostloc-Enhanced.user.js b/Hostloc-Enhanced.user.js
index ccef66341..7b8517720 100644
--- a/Hostloc-Enhanced.user.js
+++ b/Hostloc-Enhanced.user.js
@@ -1,9 +1,10 @@
// ==UserScript==
// @name 全球主机交流论坛增强
-// @version 1.4.2
+// @version 1.4.3
// @author X.I.U
// @description 自动签到(访问空间 +22 积分)、屏蔽用户(黑名单)、屏蔽关键词(帖子标题)、回帖小尾巴、自动无缝翻页、快捷回到顶部(右键点击两侧空白处)、收起预览帖子(左键点击两侧空白处)、预览帖子快速回复带签名、显示是否在线、显示帖子内隐藏回复、屏蔽阅读权限 255 帖子
// @match *://hostloc.com/*
+// @match *://91ai.net/*
// @icon https://www.hostloc.com/favicon.ico
// @grant GM_xmlhttpRequest
// @grant GM_registerMenuCommand
From 7084e7f818b16792cb76d561e672e1c3d3158734 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 23 Jan 2022 12:00:50 +0800
Subject: [PATCH 0010/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[=E5=85=AD?=
=?UTF-8?q?=E9=9F=B3=E8=BD=AF=E4=BB=B6]=20=E8=A7=84=E5=88=99;=20=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=20[=E7=AC=94=E8=B6=A3=E9=98=81]=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 | 38 ++++++++++++++++----------------------
1 file changed, 16 insertions(+), 22 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 0d28a7e54..ccb0a1e7c 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.5.3
+// @version 4.5.4
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -129,7 +129,7 @@ pager: {
3 = 插入基准元素内,最后一个子元素后面
4 = 插入基准元素自身的后面
5 = 插入 pageE 列表最后一个元素的后面(该 insertP 可以直接省略不写,等同于 ['pageE', 5] )
- 6 = 插入该元素自身内部末尾(针对小说网站等文本类的)
+ 6 = 插入该元素自身内部末尾(针对小说网站等文本类的),附带参数 insertP6Br: true, 用来中间插入换行
// 小技巧:当基准元素是下一页主体元素的父元素时(或者说要将下一页元素插入到本页同元素最后一个后面时)是可以省略不写 insertP
例如:当 pageE: 'css;ul>li' 且 insertP: ['css;ul', 3] 时,实际等同于 ['css;ul>li', 5]
当 pageE: 'css;.item' 且 insertP: ['css;.item', 4] 时,实际等同于 ['css;.item', 5]
@@ -381,6 +381,7 @@ function: {
nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页")]',
pageE: 'css;#content, .content, #chaptercontent, .chaptercontent, #BookText',
insertP: ['css;#content, .content, #chaptercontent, .chaptercontent, #BookText', 6],
+ insertP6Br: true,
replaceE: '//*[./a[contains(text(), "下一章") or contains(text(), "下一页")]]',
scrollD: 1500
}
@@ -3597,6 +3598,7 @@ function: {
nextL: '//div[contains(@class, "articlebtn")]/a[contains(text(), "下一页") or contains(text(), "下一章")]',
pageE: 'css;#BookText',
insertP: ['css;#BookText', 6],
+ insertP6Br: true,
replaceE: 'css;.articlebtn',
scrollD: 1000
}
@@ -3628,6 +3630,7 @@ function: {
nextL: '//font[contains(text(), "下一章")]/following-sibling::a[1]',
pageE: 'css;.content',
insertP: ['css;.content', 6],
+ insertP6Br: true,
replaceE: 'css;.pagego',
scrollD: 1500
}
@@ -3640,6 +3643,7 @@ function: {
nextL: 'css;#nextLink',
pageE: 'css;#cp_content',
insertP: ['css;#cp_content', 6],
+ insertP6Br: true,
replaceE: 'css;#pg_bar',
scrollD: 1500
}
@@ -3656,6 +3660,7 @@ function: {
nextL: 'id("footlink")/a[contains(text(), "下一页")]',
pageE: 'css;#contents',
insertP: ['css;#contents', 6],
+ insertP6Br: true,
replaceE: 'css;#footlink, #amain dd h1',
scrollD: 900
}
@@ -3894,29 +3899,17 @@ function: {
pF: [0, 'img[data-original]', 'data-original']
}
}, // 果核剥壳 - 分类/搜索页
- sixyin: {
- host: 'www.sixyin.com',
- functionS: function() {if (lp == '/' && location.search === '') { // 首页
- curSite = DBSite.sixyin;
- } else if (!indexOF('.html')) { // 分类页
- curSite = DBSite.sixyin_list;
- }},
- pager: {
- type: 2,
- nextL: 'css;.load-more',
- nextHTML: '点击查看更多',
- scrollD: 1500
- }
- }, // 六音软件 - 首页
- sixyin_list: {
+ _6yit: {
+ host: ['www.6yit.com'],
+ functionS: function() {if (!indexOF('.html')) {curSite = DBSite._6yit;}},
pager: {
type: 1,
- nextL: 'css;a.next',
- pageE: 'css;ul.post-loop > li',
- replaceE: 'css;ul.pagination',
+ nextL: 'css;a.next.page-numbers',
+ pageE: 'css;posts.posts-item.list',
+ replaceE: 'css;.pagenav',
scrollD: 1500
}
- }, // 六音软件 - 分类页
+ }, // 六音软件
apprcn: {
host: ['www.apprcn.com', 'free.apprcn.com'],
functionS: function() {if (lp == '/' || indexOF('/category/')) {curSite = DBSite.apprcn;}},
@@ -6936,7 +6929,7 @@ function: {
console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 102;
} else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) {
console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 103;
- } else if (getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"]') && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) {
+ } else if ((getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"]') || location.hostname.indexOf('biqu') || document.title.indexOf('笔趣阁')) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) {
console.info('[自动无缝翻页] - <笔趣阁> 模板的小说网站'); return 200;
} else if (self != top) {
return -1;
@@ -7131,6 +7124,7 @@ function: {
// 插入新页面元素
if (curSite.pager.insertP[1] === 6) { // 插入到目标内部末尾(针对文本,比如小说网页)
let afterend = '';
+ if (curSite.pager.insertP6Br) afterend += '
'
pageElems.forEach(function (one) {afterend += one.innerHTML;});
toElement.insertAdjacentHTML(addTo, afterend);
} else {
From 627b0523bfb50f83073e389f86413becbe0dfaaf Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 23 Jan 2022 19:15:28 +0800
Subject: [PATCH 0011/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[=E7=A7=80?=
=?UTF-8?q?=E4=BA=BA=E9=9B=86]=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 | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index ccb0a1e7c..10473abc1 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.5.4
+// @version 4.5.5
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -5246,17 +5246,17 @@ function: {
}},
pager: {
type: 1,
- nextL: '//div[@class="page"]/a[contains(text(), "后")]',
- pageE: 'css;div.img > p > *',
+ nextL: '//div[@class="page"]/a[text()="下页"]',
+ pageE: 'css;div.content > p > *',
replaceE: 'css;.page',
- scrollD: 2000
+ scrollD: 1500
}
}, // 秀人集 - 图片页
xiurenji_list: {
pager: {
type: 1,
- nextL: '//div[@class="page"]/a[contains(text(), "下页")]',
- pageE: 'css;td >.tp2 > *',
+ nextL: '//div[@class="page"]/a[text()="下页"]',
+ pageE: 'css;li.i_list',
replaceE: 'css;.page',
scrollD: 1000
}
@@ -5267,7 +5267,7 @@ function: {
nextL: 'css;.page > a.current+a',
pageE: 'css;.node > *',
replaceE: 'css;.page',
- scrollD: 1000
+ scrollD: 700
}
}, // 秀人集 - 搜索页
mmtvv: {
From 918e9772b8d12d5c84f4cf0facf614c523f4ba93 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 23 Jan 2022 19:33:04 +0800
Subject: [PATCH 0012/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E9=BB=98?=
=?UTF-8?q?=E8=AE=A4=E6=94=B6=E8=B5=B7=E5=9B=9E=E7=AD=94]=20=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Zhihu-Enhanced.user.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js
index 7a27f1749..05490a66f 100644
--- a/Zhihu-Enhanced.user.js
+++ b/Zhihu-Enhanced.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 知乎增强
-// @version 1.9.4
+// @version 1.9.5
// @author X.I.U
// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起当前回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
// @match *://www.zhihu.com/*
@@ -143,10 +143,11 @@ function getCollapsedAnswerObserver() {
for (const mutation of mutations) {
if (mutation.target.hasAttribute('script-collapsed')) return
if (!mutation.target.classList.contains('RichContent')) continue
+ //console.log(mutation.target)
for (const addedNode of mutation.addedNodes) {
if (addedNode.nodeType != Node.ELEMENT_NODE) continue
//console.log(addedNode, addedNode.offsetHeight)
- if (addedNode.className == 'RichContent-inner' && addedNode.offsetHeight < 400) return
+ if (addedNode.classList.contains('RichContent-inner') && (addedNode.offsetHeight < 400 || addedNode.textContent.length < 200)) {console.log(addedNode, addedNode.offsetHeight, addedNode.textContent.length);break}
//console.log(addedNode.offsetHeight)
const button = addedNode.querySelector('.ContentItem-actions.Sticky [data-zop-retract-question]');
if (button) {
From a76798f964625b4a64c982c9f2c3493da82c1776 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 23 Jan 2022 23:11:27 +0800
Subject: [PATCH 0013/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E9=BB=98?=
=?UTF-8?q?=E8=AE=A4=E6=94=B6=E8=B5=B7=E5=9B=9E=E7=AD=94]=20=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Zhihu-Enhanced.user.js | 31 +++++++++++++++++++++----------
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js
index 05490a66f..1893c6f8f 100644
--- a/Zhihu-Enhanced.user.js
+++ b/Zhihu-Enhanced.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 知乎增强
-// @version 1.9.5
+// @version 1.9.6
// @author X.I.U
// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起当前回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
// @match *://www.zhihu.com/*
@@ -142,16 +142,27 @@ function getCollapsedAnswerObserver() {
const observer = new MutationObserver(mutations => {
for (const mutation of mutations) {
if (mutation.target.hasAttribute('script-collapsed')) return
- if (!mutation.target.classList.contains('RichContent')) continue
- //console.log(mutation.target)
- for (const addedNode of mutation.addedNodes) {
- if (addedNode.nodeType != Node.ELEMENT_NODE) continue
- //console.log(addedNode, addedNode.offsetHeight)
- if (addedNode.classList.contains('RichContent-inner') && (addedNode.offsetHeight < 400 || addedNode.textContent.length < 200)) {console.log(addedNode, addedNode.offsetHeight, addedNode.textContent.length);break}
- //console.log(addedNode.offsetHeight)
- const button = addedNode.querySelector('.ContentItem-actions.Sticky [data-zop-retract-question]');
+ // 短的回答
+ if (mutation.target.classList.contains('RichContent')) {
+ for (const addedNode of mutation.addedNodes) {
+ if (addedNode.nodeType != Node.ELEMENT_NODE) continue
+ if (addedNode.className != 'RichContent-inner') continue
+ if (addedNode.offsetHeight < 400) break
+ //console.log('111',addedNode, addedNode.classList, addedNode.classList.contains('RichContent-inner'), addedNode.offsetHeight, addedNode.textContent.length)
+ const button = mutation.target.querySelector('.ContentItem-actions.Sticky [data-zop-retract-question]');
+ if (button) {
+ mutation.target.setAttribute('script-collapsed', '');
+ button.click();
+ return
+ }
+ }
+ // 长的回答
+ } else if (mutation.target.tagName === 'DIV' && !mutation.target.style.cssText && !mutation.target.className) {
+ if (mutation.target.parentElement.hasAttribute('script-collapsed')) return
+ //console.log('222',mutation.target, mutation.target.querySelector('.ContentItem-actions.Sticky [data-zop-retract-question]'))
+ const button = mutation.target.querySelector('.ContentItem-actions.Sticky [data-zop-retract-question]');
if (button) {
- mutation.target.setAttribute('script-collapsed', '');
+ mutation.target.parentElement.setAttribute('script-collapsed', '');
button.click();
return
}
From 96bc13090c1ac0000663c39b30dd606564ae994c Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 24 Jan 2022 12:05:47 +0800
Subject: [PATCH 0014/1482] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E6=A8=A1?=
=?UTF-8?q?=E5=BC=8F=203=20=E9=BB=98=E8=AE=A4=E5=80=BC=E4=B8=BA=2090%=20(?=
=?UTF-8?q?=E5=8E=9F=E4=B8=BA=2080%)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
DarkMode.user.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/DarkMode.user.js b/DarkMode.user.js
index 198cea1c7..d9beb113f 100644
--- a/DarkMode.user.js
+++ b/DarkMode.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 护眼模式
-// @version 1.3.6
+// @version 1.3.7
// @author X.I.U
// @description 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式)
// @match *://*/*
@@ -28,7 +28,7 @@
['menu_autoRecognition', '智能排除自带暗黑模式的网页 (beta)', '智能排除自带暗黑模式的网页 (beta)', true],
['menu_forcedToEnable', '✅ 已强制当前网站启用护眼模式 (👆)', '❌ 未强制当前网站启用护眼模式 (👆)', []],
['menu_darkModeType', '点击切换模式', '点击切换模式', 2],
- ['menu_customMode', '自定义当前模式', '自定义当前模式', true], ['menu_customMode1',,,'80|70'], ['menu_customMode2',,,'80|20|70|30'], ['menu_customMode3',,,'80'],
+ ['menu_customMode', '自定义当前模式', '自定义当前模式', true], ['menu_customMode1',,,'80|70'], ['menu_customMode2',,,'80|20|70|30'], ['menu_customMode3',,,'90'],
['menu_customTime', '自定义昼夜时间', '自定义昼夜时间', '6|18'],
['menu_autoSwitch', '晚上自动切换模式', '晚上自动切换模式', ''],
], menu_ID = [];
@@ -160,8 +160,8 @@
name = 'menu_customMode2';
break;
case 3:
- tip = '自定义 [模式 3],修改后立即生效 (部分网页可能需要刷新)~\n格式:反色\n默认:80(均为百分比 50~100,不需要 % 符号)';
- defaults = '80';
+ tip = '自定义 [模式 3],修改后立即生效 (部分网页可能需要刷新)~\n格式:反色\n默认:90(均为百分比 50~100,不需要 % 符号)';
+ defaults = '90';
name = 'menu_customMode3';
break;
}
From 942295d35fdf6c0692b380ea2b4639545f47420c Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Tue, 25 Jan 2022 13:09:47 +0800
Subject: [PATCH 0015/1482] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[=E7=A7=80?=
=?UTF-8?q?=E4=BA=BA=E9=9B=86]=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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 10473abc1..500acd6e8 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.5.5
+// @version 4.5.6
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -5235,7 +5235,7 @@ function: {
}
}, // 妹子图 - 分类/搜索页
xiurenji: {
- host: /\.xiurenji\./,
+ host: /\.xiuren[a-z]+\./,
functionS: function() {insStyle('img[src$=".gif"]:not([src*="logo"]) {display: none !important;}');
if (indexOF('.html') && !indexOF('/index')) {
curSite = DBSite.xiurenji;
From 91b8f0d300fd32bdd3c56ab9b3982024bd4a2c0b Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Tue, 25 Jan 2022 16:33:02 +0800
Subject: [PATCH 0016/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[=E5=AE=85?=
=?UTF-8?q?=E7=94=B7=E5=A5=B3=E7=A5=9E]=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 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 500acd6e8..1bf015bce 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.5.6
+// @version 4.5.7
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -5402,10 +5402,10 @@ function: {
}},
pager: {
type: 1,
- nextL: 'id("pages")/a[contains(text(), "下一页")]',
+ nextL: 'css;#pages > span +a:not(.a1)',
pageE: 'css;#hgallery > img',
replaceE: 'css;#pages',
- scrollD: 1000
+ scrollD: 1500
}
}, // 宅男女神 - 图片页
fnvshen_list: {
From c1f8f76e3cadb7a944b98d2fb537fea682a90c43 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 26 Jan 2022 13:48:17 +0800
Subject: [PATCH 0017/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=8A=A8?=
=?UTF-8?q?=E6=BC=AB=E5=95=A6]=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 | 35 ++++++++++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 1bf015bce..f62446681 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.5.7
+// @version 4.5.8
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -2850,6 +2850,39 @@ function: {
scrollD: 1000
}
}, // 动漫狂 - 分类/搜索页
+ dongman: {
+ host: 'www.dongman.la',
+ functionS: function() {if (indexOF('/chapter/')) {
+ src_bF(getAllCSS('img.mdui-img-fluid[data-srcset]:not([src])'), [0, 'img[data-srcset]', 'data-srcset']);
+ curSite = DBSite.dongman;
+ } else if (indexOF('/detail/')) {
+ setTimeout(function(){getCSS('a#zhankai').click()}, 500)
+ } else if (indexOF('/manhua/')) {
+ curSite = DBSite.dongman_list;
+ }},
+ insStyle: 'button.prePic, button.nextPic, footer, header, #left-drawer {display: none !important;} body, #app {padding: 0 !important;} .slick-track {width: 100% !important;} .lazyBox {width: 100%; display: inline-block;}',
+ pager: {
+ type: 1,
+ nextL: '//footer//a[./label[text()="下一章"]]',
+ pageE: 'css;.lazyBox',
+ insertP: ['css;.slick-track', 3],
+ replaceE: 'css;footer',
+ scrollD: 3000
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-srcset]', 'data-srcset']
+ }
+ }, // 动漫啦
+ dongman_list: {
+ pager: {
+ type: 1,
+ nextL: '//a[@class="GPageLink" and text()="下一页"]',
+ pageE: 'css;.cy_list_mh > ul',
+ replaceE: 'css;.NewPages',
+ scrollD: 2000
+ }
+ }, // 动漫啦 - 分类页
manhuacat: {
host: ['www.manhuacat.com', 'www.maofly.com'],
functionS: function() {if (indexOF(/\/manga\/\d+\/.+\.html/)) {
From 746b5514da2c46058a719aee22223ebbf2f72c36 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Thu, 27 Jan 2022 15:07:40 +0800
Subject: [PATCH 0018/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E6=A8=A1?=
=?UTF-8?q?=E5=BC=8F3=20=E6=8E=92=E9=99=A4=20svg=20=E5=85=83=E7=B4=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
DarkMode.user.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/DarkMode.user.js b/DarkMode.user.js
index d9beb113f..81f10220a 100644
--- a/DarkMode.user.js
+++ b/DarkMode.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 护眼模式
-// @version 1.3.7
+// @version 1.3.8
// @author X.I.U
// @description 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式)
// @match *://*/*
@@ -335,8 +335,8 @@
style_21_firefox = `html {filter: brightness(${style_20[0]}%) sepia(${style_20[1]}%) !important; background-image: url();}`,
style_22 = `html {filter: brightness(${style_20[2]}%) sepia(${style_20[3]}%) !important;}`,
style_22_firefox = `html {filter: brightness(${style_20[2]}%) sepia(${style_20[3]}%) !important; background-image: url();}`,
- style_31 = `html {filter: invert(${style_30[0]}%) !important;} img, video, [style*="background"][style*="url"] {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;} html {text-shadow: 0 0 0 !important;}`,
- style_31_firefox = `html {filter: invert(${style_30[0]}%) !important; background-image: url();} img, video, [style*="background"][style*="url"] {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;} html {text-shadow: 0 0 0 !important;}`;
+ style_31 = `html {filter: invert(${style_30[0]}%) !important;} img, video, [style*="background"][style*="url"], svg {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;} html {text-shadow: 0 0 0 !important;}`,
+ style_31_firefox = `html {filter: invert(${style_30[0]}%) !important; background-image: url();} img, video, [style*="background"][style*="url"], svg {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;} html {text-shadow: 0 0 0 !important;}`;
// Firefox 浏览器需要特殊对待
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
From af2862a5b469410339ff33c2fe2d4dad92a437cb Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 28 Jan 2022 12:34:06 +0800
Subject: [PATCH 0019/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E4=B9=A6?=
=?UTF-8?q?=E7=AD=BE=E5=9C=B0=E7=90=83]=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 | 36 +++++++++++++++++++++++++++++++-----
1 file changed, 31 insertions(+), 5 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index f62446681..ed78d5f86 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.5.8
+// @version 4.5.9
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -5008,6 +5008,30 @@ function: {
scrollD: 1000
}
}, // Quicker
+ bookmarkearth: {
+ host: 'www.bookmarkearth.com',
+ functionS: function() {if (lp == '/' || lp == '/page') {
+ curSite = DBSite.bookmarkearth;
+ } else if (lp == '/s/search') {
+ curSite = DBSite.bookmarkearth_search;
+ }},
+ pager: {
+ type: 1,
+ nextL: () => getNextU('currentPage=', /currentPage=\d+/, '/page', '2', getCSS('ul.pager').dataset.totalpage),
+ pageE: 'css;.document-piece',
+ replaceE: 'css;ul.pager',
+ scrollD: 1000
+ }
+ }, // 书签地球
+ bookmarkearth_search: {
+ pager: {
+ type: 1,
+ nextL: () => getNextP('css;a.cut-page-item.active+a.cut-page-item', 'currentPage=', /currentPage=\d+/),
+ pageE: 'css;.document-piece',
+ replaceE: 'css;.cut-page',
+ scrollD: 1000
+ }
+ }, // 书签地球 - 搜索页
smzdm: {
host: ['www.smzdm.com', 'search.smzdm.com'],
functionS: function() {if (location.hostname === 'search.smzdm.com' || indexOF('/fenlei/')) {
@@ -7249,12 +7273,14 @@ function: {
return url
}
// 通用型获取下一页地址(从 URL 中获取页码,URL 替换 page= 参数)
- function getNextU(pf, reg, initpage = '2') {
+ function getNextU(pf, reg, lp = location.pathname, initP = '2', endP) {
let nextNum = getSearch(pf.replace('=',''));
if (nextNum) {
- nextNum = String(parseInt(nextNum)+1)
+ nextNum = String(parseInt(nextNum)+1);
+ if (endP && (parseInt(nextNum) > parseInt(endP))) return ''
} else {
- nextNum = initpage
+ nextNum = initP;
+ if (endP && (parseInt(nextNum) >= parseInt(endP))) return ''
}
var url = '';
if (location.search) {
@@ -7266,7 +7292,7 @@ function: {
} else {
url = '?' + pf + nextNum;
}
- url = location.origin + location.pathname + url;
+ url = location.origin + lp + url;
return url
}
// 通用型获取下一页地址(直接从元素获取)
From 2c5ef6c5bed8f7c243634bfecc6f5e170407ecb5 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sat, 29 Jan 2022 14:32:57 +0800
Subject: [PATCH 0020/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=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?]=20=E5=8A=9F=E8=83=BD(=E6=8E=92=E9=99=A4=E9=A6=96=E9=A1=B5?=
=?UTF-8?q?=E9=A1=B6=E9=83=A8=E5=AF=BC=E8=88=AA)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
V2ex-Enhanced.user.js | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/V2ex-Enhanced.user.js b/V2ex-Enhanced.user.js
index 47676b578..8be939d3c 100644
--- a/V2ex-Enhanced.user.js
+++ b/V2ex-Enhanced.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name V2EX 增强
-// @version 1.1.5
+// @version 1.1.6
// @author X.I.U
// @description 自动签到、链接转图片、自动无缝翻页、回到顶部(右键点击两侧空白处)、快速回复(左键双击两侧空白处)、新标签页打开链接、标签页伪装为 Github(摸鱼)
// @match *://v2ex.com/*
@@ -159,16 +159,16 @@
switch (location.pathname) {
- case "/": // 首页
+ case '/': // 首页
addChangesLink();
break;
- case "/recent": // 最近主题页
+ case '/recent': // 最近主题页
curSite = DBSite.recent;
break;
- case "/notifications": // 提醒消息页
+ case '/notifications': // 提醒消息页
curSite = DBSite.notifications;
break;
- case "/balance": // 账户余额页
+ case '/balance': // 账户余额页
curSite = DBSite.balance;
break;
default:
@@ -193,7 +193,7 @@
// 自动签到(后台)
function qianDao() {
- let timeNow = new Date().getUTCFullYear() + "/" + (new Date().getUTCMonth() + 1) + "/" + new Date().getUTCDate() // 当前 UTC-0 时间(V2EX 按这个时间的)
+ let timeNow = new Date().getUTCFullYear() + '/' + (new Date().getUTCMonth() + 1) + '/' + new Date().getUTCDate() // 当前 UTC-0 时间(V2EX 按这个时间的)
if (location.pathname == '/') { // 在首页
let qiandao = document.querySelector('.box .inner a[href="/mission/daily"]');
if (qiandao) { // 如果找到了签到提示
@@ -225,7 +225,7 @@
timeout: 5000,
onload: function (response) {
let html = ShowPager.createDocumentByString(response.responseText);
- console.log(html)
+ //console.log(html)
if (html.querySelector('li.fa.fa-ok-sign')) {
html = html.getElementById('Main').textContent.match(/已连续登录 (\d+?) 天/)[0];
GM_setValue('menu_clockInTime', timeNow); // 写入签到时间以供后续比较
@@ -265,8 +265,8 @@
// 回到顶部(右键左右两侧空白处)
function backToTop() {
- document.getElementById('Wrapper').oncontextmenu = document.querySelector("#Wrapper > .content").oncontextmenu = function(event){
- if (event.target==this) {
+ document.getElementById('Wrapper').oncontextmenu = document.querySelector('#Wrapper > .content').oncontextmenu = function(event){
+ if (event.target == this) {
event.preventDefault();
window.scrollTo(0,0)
}
@@ -317,7 +317,7 @@
if (location.pathname.indexOf('/settings') > -1) return
document.head.appendChild(document.createElement('base')).target = '_blank'; // 让所有链接默认以新标签页打开
Array.from(document.links).forEach(function (_this) {
- if (_this.onclick || _this.href.slice(0,4) != 'http' || _this.href.indexOf('#;') > -1 || _this.href.indexOf('night/toggle') > -1 || _this.href.indexOf('/favorite') > -1) {
+ if (_this.onclick || _this.href.slice(0,4) != 'http' || _this.href.indexOf('#;') > -1 || _this.href.indexOf('night/toggle') > -1 || _this.href.indexOf('/favorite') > -1 || _this.href.indexOf('/?tab=') > -1) {
_this.target = '_self'
}
})
From 7e0ad69dac613c84e08d91b15659955d9f3b48ff Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 30 Jan 2022 17:06:00 +0800
Subject: [PATCH 0021/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E4=BB=80?=
=?UTF-8?q?=E4=B9=88=E5=80=BC=E5=BE=97=E4=B9=B0=20-=20=E5=95=86=E5=AE=B6?=
=?UTF-8?q?=E5=AF=BC=E8=88=AA=E5=90=84=E5=88=86=E7=B1=BB=E9=A1=B5]=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 | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index ed78d5f86..d5f3294bb 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.5.9
+// @version 4.6.0
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -16,7 +16,6 @@
// @grant GM_openInTab
// @grant GM_getValue
// @grant GM_setValue
-// @grant GM_deleteValue
// @grant GM_notification
// @grant window.onurlchange
// @grant unsafeWindow
@@ -36,14 +35,6 @@
['menu_pause_page', '左键双击网页空白处暂停翻页', '左键双击网页空白处暂停翻页', false]
], menuId = [], webType = 0, curSite = {SiteTypeID: 0}, DBSite, SiteType, pausePage = true, pageNum = {now: 1, _now: 1}, locationC = false, nowLocation = '', lp = location.pathname;
- // 过渡,几个版本后删掉,记得顺便删掉 grant GM_deleteValue
-
- if (GM_getValue('menu_discuz_thread_page') != null && GM_getValue('menu_thread') == null){
- GM_setValue('menu_thread', GM_getValue('menu_discuz_thread_page'));
- GM_deleteValue('menu_discuz_thread_page');
- }
-
-
for (let i=0;i
Date: Tue, 1 Feb 2022 08:12:54 +0800
Subject: [PATCH 0022/1482] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[south-plus]=20?=
=?UTF-8?q?=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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index d5f3294bb..13a96d2bd 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.6.0
+// @version 4.6.1
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -1417,7 +1417,7 @@ function: {
}
}, // TGFC Lifestyle - 帖子内
south: {
- host: /((www|bbs)\.)?(soul|north|south|white|level|summer|spring|snow)-plus\.net/,
+ host: /((www|bbs)\.)?(soul|north|south|white|level|summer|spring|snow)-plus\.(net|org)/,
functionS: function() {
if (lp == '/thread.php' || lp == '/search.php') {
curSite = DBSite.south;
From 6139e157b04f3fbaa303a7bc83ba48ed5106f3ac Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 2 Feb 2022 18:06:30 +0800
Subject: [PATCH 0023/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8F=8D?=
=?UTF-8?q?=E9=A6=88=E9=93=BE=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
DarkMode.user.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/DarkMode.user.js b/DarkMode.user.js
index 81f10220a..d312b397a 100644
--- a/DarkMode.user.js
+++ b/DarkMode.user.js
@@ -103,7 +103,7 @@
menu_ID[i] = GM_registerMenuCommand(`${menu_ALL[i][3]?'✅':'❌'} ${menu_ALL[i][1]}`, function(){menu_switch(`${menu_ALL[i][3]}`,`${menu_ALL[i][0]}`,`${menu_ALL[i][2]}`)});
}
}
- menu_ID[menu_ID.length] = GM_registerMenuCommand('💬 反馈 & 建议', function () {window.GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});window.GM_openInTab('https://greasyfork.org/zh-CN/scripts/412212/feedback', {active: true,insert: true,setParent: true});});
+ menu_ID[menu_ID.length] = GM_registerMenuCommand('💬 反馈 & 建议', function () {window.GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});window.GM_openInTab('https://greasyfork.org/zh-CN/scripts/426377/feedback', {active: true,insert: true,setParent: true});});
}
@@ -335,8 +335,8 @@
style_21_firefox = `html {filter: brightness(${style_20[0]}%) sepia(${style_20[1]}%) !important; background-image: url();}`,
style_22 = `html {filter: brightness(${style_20[2]}%) sepia(${style_20[3]}%) !important;}`,
style_22_firefox = `html {filter: brightness(${style_20[2]}%) sepia(${style_20[3]}%) !important; background-image: url();}`,
- style_31 = `html {filter: invert(${style_30[0]}%) !important;} img, video, [style*="background"][style*="url"], svg {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;} html {text-shadow: 0 0 0 !important;}`,
- style_31_firefox = `html {filter: invert(${style_30[0]}%) !important; background-image: url();} img, video, [style*="background"][style*="url"], svg {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;} html {text-shadow: 0 0 0 !important;}`;
+ style_31 = `html {filter: invert(${style_30[0]}%) !important; text-shadow: 0 0 0 !important;} img, video, [style*="background"][style*="url"], svg {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;}`,
+ style_31_firefox = `html {filter: invert(${style_30[0]}%) !important; background-image: url(); text-shadow: 0 0 0 !important;} img, video, [style*="background"][style*="url"], svg {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;}`;
// Firefox 浏览器需要特殊对待
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
From aca241694cd469429fbeef89f48480f66f77f24c Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 2 Feb 2022 19:06:32 +0800
Subject: [PATCH 0024/1482] Update
---
Autopage.user.js | 508 -----------------------------------------------
1 file changed, 508 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 13a96d2bd..796dba1ae 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -2580,28 +2580,6 @@ function: {
aF: function() {document.body.appendChild(document.createElement('script')).textContent = `$('#topic_list > tbody > tr:even:not(.even):not(.odd)').addClass('even'); $('#topic_list > tbody > tr:odd:not(.even):not(.odd)').addClass('odd');`;}
}
}, // 动漫花园
- hacg: {
- host: 'www.hacg.cat',
- functionS: function() {if (indexOF('/wp/') && !indexOF(/\d+\.html/)) curSite = DBSite.hacg},
- pager: {
- type: 1,
- nextL: 'css;a.nextpostslink',
- pageE: 'css;article[id^="post-"]',
- replaceE: 'css;.wp-pagenavi',
- scrollD: 1500
- }
- }, // 琉璃神社
- reimu: {
- host: 'blog.reimu.net',
- functionS: function() {if (lp == '/' || indexOF('/category') || indexOF('/tag')) curSite = DBSite.reimu},
- pager: {
- type: 1,
- nextL: 'css;span.current+a.sfwppa-current-page',
- pageE: 'css;article[id^="post-"]',
- replaceE: 'css;.wp-pagenavi',
- scrollD: 1500
- }
- }, // 灵梦御所
futaacg: {
host: 'futaacg.com',
pager: {
@@ -5205,492 +5183,6 @@ function: {
pF: [0, 'img[_src]', '_src']
}
}, // 新片场
- tujigu: {
- host: ['www.tuji001.com', 'www.tujigu.net'],
- functionS: function() {
- if (indexOF('/a/')) {
- curSite = DBSite.tujigu;
- } else if (location.pathname != '/' && !indexOF('/search/')) {
- curSite = DBSite.tujigu_list;
- }},
- insStyle: '.content img {display: block !important;}',
- pager: {
- type: 1,
- nextL: 'id("pages")/a[contains(text(), "下一页")]',
- pageE: 'css;.content > img',
- replaceE: 'css;#pages',
- scrollD: 2000
- }
- }, // 图集谷 - 图片页
- tujigu_list: {
- pager: {
- type: 1,
- nextL: 'id("pages")/a[contains(text(), "下一页")]',
- pageE: 'css;.hezi > ul > li',
- insertP: ['//div[@class="hezi"][last()]/ul', 3],
- replaceE: 'css;#pages',
- scrollD: 1000
- }
- }, // 图集谷 - 分类页
- mvtui: {
- host: 'mvtui.com',
- functionS: function() {if (indexOF('.html')) {curSite = DBSite.mvtui;} else {curSite = DBSite.mvtui_list;}},
- pager: {
- type: 1,
- nextL: 'css;.article-paging span.current+a',
- pageE: 'css;.article-content > p',
- replaceE: 'css;.article-paging',
- scrollD: 3000
- }
- }, // 美女推 - 图片页
- mvtui_list: {
- pager: {
- type: 1,
- nextL: 'css;li.next-page a',
- pageE: 'css;#posts > div',
- replaceE: 'css;.pagination',
- scrollD: 1500
- },
- function: {
- bF: src_bF,
- pF: [0, 'img[data-src]', 'data-src']
- }
- }, // 美女推 - 分类页
- mzitu: {
- host: 'www.mzitu.com',
- functionS: function() {if (indexOF(/\/\d+/)) {curSite = DBSite.mzitu;getCSS('.main-image a[href]').href = 'javascript:void(0);'} else {curSite = DBSite.mzitu_list;}},
- pager: {
- type: 1,
- nextL: '//div[@class="pagenavi"]/a[contains(string(), "下一页")]',
- pageE: 'css;.main-image img',
- replaceE: 'css;.pagenavi',
- scrollD: 1500
- }
- }, // 妹子图 - 图片页
- mzitu_list: {
- pager: {
- type: 1,
- nextL: 'css;.next.page-numbers',
- pageE: 'css;.postlist > ul > li',
- replaceE: 'css;.pagination',
- scrollD: 1000
- },
- function: {
- bF: src_bF,
- pF: [0, 'img[data-original]', 'data-original']
- }
- }, // 妹子图 - 分类/搜索页
- xiurenji: {
- host: /\.xiuren[a-z]+\./,
- functionS: function() {insStyle('img[src$=".gif"]:not([src*="logo"]) {display: none !important;}');
- if (indexOF('.html') && !indexOF('/index')) {
- curSite = DBSite.xiurenji;
- } else if (indexOF('search')) {
- curSite = DBSite.xiurenji_search;
- } else {
- curSite = DBSite.xiurenji_list;
- }},
- pager: {
- type: 1,
- nextL: '//div[@class="page"]/a[text()="下页"]',
- pageE: 'css;div.content > p > *',
- replaceE: 'css;.page',
- scrollD: 1500
- }
- }, // 秀人集 - 图片页
- xiurenji_list: {
- pager: {
- type: 1,
- nextL: '//div[@class="page"]/a[text()="下页"]',
- pageE: 'css;li.i_list',
- replaceE: 'css;.page',
- scrollD: 1000
- }
- }, // 秀人集 - 分类页
- xiurenji_search: {
- pager: {
- type: 1,
- nextL: 'css;.page > a.current+a',
- pageE: 'css;.node > *',
- replaceE: 'css;.page',
- scrollD: 700
- }
- }, // 秀人集 - 搜索页
- mmtvv: {
- host: 'mm.tvv.tw',
- functionS: function() {if (lp == '/' || indexOF('/category/')) {curSite = DBSite.mmtvv;}},
- insStyle: '.blog-masonry, .blog-masonry-4col {height: auto !important;} .blog-listing {position: relative !important;float: left !important;top: auto !important;left: auto !important;} .blog-title > a {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .blog-image img {min-height: 300px;}',
- pager: {
- type: 1,
- nextL: 'css;a.next',
- pageE: 'css;.blog-listing',
- replaceE: 'css;.pagination',
- scrollD: 1500
- }
- }, // 妹妹图
- mm131: {
- host: ['www.mm131.net', 'www.mmm131.com'],
- functionS: function() {if (indexOF('.html')) {curSite = DBSite.mm131;} else {curSite = DBSite.mm131_list;}},
- retry: 300,
- pager: {
- type: 1,
- nextL: '//div[@class="content-page"]/a[contains(text(), "下一页")]',
- pageE: 'css;.content-pic img',
- replaceE: 'css;.content-page',
- scrollD: 2000
- }
- }, // MM131 - 图片页
- mm131_list: {
- pager: {
- type: 1,
- nextL: '//dd[@class="page"]/a[contains(text(), "下一页")]',
- pageE: 'css;dl.list-left > dd:not([class="page"])',
- replaceE: 'css;.page',
- scrollD: 1000
- }
- }, // MM131 - 分类页
- mm131_m: {
- host: 'm.mmm131.com',
- functionS: function() {insStyle('.bannert, .bannerb, bannert_ios, .bannerb_ios {display: none !important;}'); if (lp == '/') {curSite = DBSite.mm131_m_;} else if (indexOF('.html')) {curSite = DBSite.mm131_m;} else {curSite = DBSite.mm131_m_list;}},
- retry: true,
- pager: {
- type: 1,
- nextL: '//div[@class="paging"]/a[text()="下一张" or text()="下一页"]',
- pageE: 'css;.post-content img',
- replaceE: 'css;.paging',
- scrollD: 2000
- }
- }, // MM131 - 手机版 - 图片页
- mm131_m_list: {
- pager: {
- type: 1,
- nextL: 'css;#xbtn',
- pageE: 'css;#content > article',
- replaceE: 'css;#webpage',
- scrollD: 2000
- },
- function: {
- bF: src_bF,
- pF: [0, 'img[data-img]', 'data-img']
- }
- }, // MM131 - 手机版 - 分类页
- mm131_m_: {
- pager: {
- type: 2,
- nextL: 'css;#webpage>span[onclick]',
- isHidden: true,
- interval: 500,
- scrollD: 2000
- }
- }, // MM131 - 手机版 - 首页
- mrcong: {
- host: 'mrcong.com',
- functionS: function() {if (lp == '/' || indexOF('/tag/')) {curSite = DBSite.mrcong_list;} else {curSite = DBSite.mrcong;}},
- pager: {
- type: 1,
- nextL: 'css;.post-page-numbers.current+a.post-page-numbers',
- pageE: 'css;#fukie2 > p > img',
- replaceE: 'css;.page-link',
- scrollD: 3000
- }
- }, // MrCong - 图片页
- mrcong_list: {
- pager: {
- type: 3,
- nextL: 'css;.current+a.page',
- pageE: 'css;article.item-list',
- scrollE: 'css;.pagination',
- replaceE: 'css;.pagination',
- scrollD: 2000
- }
- }, // MrCong - 分类页
- buondua: {
- host: 'buondua.com',
- functionS: function() {if (indexOF(/-photos-\d+/)) {curSite = DBSite.buondua;} else {curSite = DBSite.buondua_list;}},
- pager: {
- type: 3,
- nextL: '//nav[@class="pagination"]//span[./a[contains(@class, "is-current")]]/following-sibling::span[1]/a',
- pageE: 'css;.article-fulltext > p',
- scrollE: 'css;nav.pagination',
- replaceE: 'css;nav.pagination',
- scrollD: 1500
- },
- function: {
- bF: src_bF,
- pF: [0, 'img[data-src]', 'data-src']
- }
- }, // Buon Dua - 图片页
- buondua_list: {
- pager: {
- type: 3,
- nextL: 'css;.pagination-next',
- pageE: 'css;.items-row.column, .collection-item.column',
- scrollE: 'css;nav.pagination',
- replaceE: 'css;nav.pagination',
- scrollD: 1200
- },
- function: {
- bF: src_bF,
- pF: [0, 'img[data-src]', 'data-src']
- }
- }, // Buon Dua - 分类页
- fnvshen: {
- host: 'www.fnvshen.com',
- functionS: function() {
- if (indexOF('/gallery/') || indexOF('/tag/')) {
- curSite = DBSite.fnvshen_list;
- } else if (indexOF('/g/')) {
- curSite = DBSite.fnvshen;
- } else if (indexOF(/\/article\/\d+\//)) {
- curSite = DBSite.fnvshen_article;
- } else if (indexOF('/article/')) {
- curSite = DBSite.fnvshen_article_list;
- }},
- pager: {
- type: 1,
- nextL: 'css;#pages > span +a:not(.a1)',
- pageE: 'css;#hgallery > img',
- replaceE: 'css;#pages',
- scrollD: 1500
- }
- }, // 宅男女神 - 图片页
- fnvshen_list: {
- insStyle: '.yalayi_box {display: none !important; margin: -4px 0 !important;}',
- pager: {
- type: 1,
- nextL: '//div[@class="pagesYY"]//a[contains(text(), "下一页")]',
- pageE: 'css;#listdiv > ul > li',
- replaceE: 'css;.pagesYY',
- scrollD: 1000
- },
- function: {
- bF: src_bF,
- pF: [0, 'img[data-original]', 'data-original']
- }
- }, // 宅男女神 - 分类页
- fnvshen_article_list: {
- pager: {
- type: 1,
- nextL: '//div[@class="pagesYY"]//a[contains(text(), "下一页")]',
- pageE: 'css;li.other_girlli',
- replaceE: 'css;.pagesYY',
- scrollD: 1000
- }
- }, //宅男女神 - 文章列表
- fnvshen_article: {
- pager: {
- type: 1,
- nextL: 'css;.pagesYY a.cur+a',
- pageE: 'css;#articleDiv',
- insertP: ['css;#articleDiv', 6],
- replaceE: 'css;.pagesYY',
- scrollD: 1000
- }
- }, // 宅男女神 - 文章内
- xrmn5: {
- host: 'www.xrmn5.cc',
- functionS: function() {if (indexOF(/\d+\.html/)) {
- curSite = DBSite.xrmn5;
- } else if (indexOF('/search')) {
- 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',
- 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',
- replaceE: 'css;.page',
- scrollD: 2000
- }
- }, // 秀人美女 - 分类页
- xrmn5_search: {
- pager: {
- type: 1,
- nextL: 'css;.page a.current+a',
- pageE: 'css;div.sousuo',
- replaceE: 'css;.page',
- scrollD: 2000
- }
- }, // 秀人美女 - 搜索页
- jpmn8: {
- host: 'www.jpmn8.com',
- functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.jpmn8;} else if (location.pathname != '/') {curSite = DBSite.jpmn8_list;}},
- insStyle: 'img[onload] {min-height: 500px;}',
- pager: {
- type: 1,
- nextL: '//div[@class="pagination1"]//a[text()="下一页"]',
- pageE: 'css;img[onload]',
- replaceE: 'css;.pagination1',
- scrollD: 3000
- }
- }, // 精品美女 - 图片页
- jpmn8_list: {
- pager: {
- type: 1,
- nextL: '//div[@class="pagination1"]//a[text()="下一页"]',
- pageE: 'css;article.excerpt',
- replaceE: 'css;.pagination1',
- scrollD: 1500
- }
- }, // 精品美女 - 分类页
- ku66: {
- host: 'www.ku66.net',
- functionS: function() {if (/\/\d+\.html/.test(location.pathname)) {curSite = DBSite.ku66;} else {curSite = DBSite.ku66_list;}},
- insStyle: '.content img {min-height: 500px;}',
- pager: {
- type: 1,
- nextL: '//div[@class="NewPages"]//a[text()="下一页"]',
- pageE: 'css;.content > img',
- insertP: ['css;.content', 3],
- replaceE: 'css;.NewPages',
- scrollD: 4000
- }
- }, // 美女图片 - 图片页
- ku66_list: {
- pager: {
- type: 1,
- nextL: '//div[@class="NewPages"]//a[text()="下一页"]',
- pageE: 'css;.TypeList > ul > li',
- insertP: ['css;.TypeList > ul', 3],
- replaceE: 'css;.NewPages',
- scrollD: 1000
- }
- }, // 美女图片 - 分类页
- ku66_m: {
- host: 'm.ku66.net',
- functionS: function() {if (/\/\d+\.html/.test(location.pathname)) {curSite = DBSite.ku66_m;} else {curSite = DBSite.ku66_m_list;}},
- insStyle: '.ArticleImageBox img {min-height: 200px;}',
- pager: {
- type: 1,
- nextL: '//div[@class="article_page"]//a[text()="下一页"]',
- pageE: 'css;.ArticleImageBox > *',
- replaceE: 'css;.article_page',
- scrollD: 4000
- }
- }, // 美女图片 - 手机版 - 图片页
- ku66_m_list: {
- pager: {
- type: 1,
- nextL: '//div[@class="article_page"]//a[text()="下一页"]',
- pageE: 'css;.PictureList > ul > li',
- replaceE: 'css;.article_page',
- scrollD: 1000
- }
- }, // 美女图片 - 手机版 - 分类页
- ku137: {
- host: 'www.ku137.net',
- functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.ku137;} else if (location.pathname != '/') {curSite = DBSite.ku137_list;}},
- insStyle: '.Title9, .dibu1, .dibu2 {display: none !important;} .content img {min-height: 500px;}',
- pager: {
- type: 1,
- nextL: '//div[@class="page"]/a[text()="下一页"]',
- pageE: 'css;.content > img',
- replaceE: 'css;.page',
- scrollD: 3000
- }
- }, // 美女写真 - 图片页
- ku137_list: {
- pager: {
- type: 1,
- nextL: '//div[@class="page"]/a[text()="下一页"]',
- pageE: 'css;.m-list > ul > li',
- replaceE: 'css;.page',
- scrollD: 1500
- }
- }, // 美女写真 - 分类页
- ku137_m: {
- host: 'm.ku137.net',
- functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.ku137_m;} else if (location.pathname != '/') {curSite = DBSite.ku137_m_list;}},
- insStyle: '.ArticleImageBox img {min-height: 300px;}',
- pager: {
- type: 1,
- nextL: '//div[@class="article_page"]//a[text()="下一页"]',
- pageE: 'css;.ArticleImageBox > *',
- replaceE: 'css;.article_page',
- scrollD: 3000
- }
- }, // 美女写真 - 手机版 - 图片页
- ku137_m_list: {
- pager: {
- type: 1,
- nextL: '//div[@class="article_page"]//a[text()="下一页"]',
- pageE: 'css;.PictureList > ul > li',
- replaceE: 'css;.article_page',
- scrollD: 1500
- }
- }, // 美女写真 - 手机版 - 分类页
- mnttz: {
- host: 'www.mnttz.com',
- functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.mnttz;} else {curSite = DBSite.mnttz_list;}},
- insStyle: 'img.content_img {min-height: 500px;}',
- pager: {
- type: 1,
- nextL: 'css;.article-paging > span+a',
- pageE: 'css;img.content_img',
- replaceE: 'css;.article-paging',
- scrollD: 3000
- }
- }, // 美女套图 - 图片页
- mnttz_list: {
- pager: {
- type: 1,
- nextL: 'css;li.next-page > a',
- pageE: 'css;article.excerpt',
- replaceE: 'css;.pagination',
- scrollD: 1500
- },
- function: {
- bF: src_bF,
- pF: [0, 'img[data-src]', 'data-src']
- }
- }, // 美女套图 - 分类页
- kingdom: {
- host: ['kingdom-en.com', 'www.kingdom-en.com', 'm.kingdom-en.com'],
- functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.kingdom;} else {curSite = DBSite.kingdom_list;}},
- insStyle: '.pic_center img {min-height: 300px;} .arcmain > .title, .footer, .index-list-title, .listmain_st {display: none !important;}',
- pager: {
- type: 1,
- nextL: '//a[@class="page_next"] | //div[@class="article_page"]//a[text()="下一页"]',
- pageE: 'css;.pic_center img',
- replaceE: '//div[@class="pages2" or @class="article_page"]',
- scrollD: 4000
- }
- }, // King爱模 - 图片页
- kingdom_list: {
- pager: {
- type: 1,
- nextL: () => getCSS('a.page_next').href.replace(/(www.)?ermo.net/, location.hostname).replace(/http(s)?:/, location.protocol),
- pageE: 'css;.channel_list3 > ul > li, ul#container > li',
- replaceE: 'css;.pages, .list_page',
- scrollD: 1000
- }
- }, // King爱模 - 分类页
- kissgoddess: {
- host: ['kissgoddess.com', 'tw.kissgoddess.com', 'jp.kissgoddess.com'],
- functionS: function() {if (indexOF('/album/') || indexOF('/category/')) curSite = DBSite.kissgoddess;},
- insStyle: '.td-gallery-content > img {min-height: 300px;}',
- pager: {
- type: 1,
- nextL: 'css;a.a1:last-of-type',
- pageE: 'css;.td-gallery-content > img, .td-category-span',
- replaceE: 'css;#pages',
- scrollD: 3000
- },
- function: {
- bF: src_bF,
- pF: [0, 'img[data-original]', 'data-original']
- }
- }, // Kiss Goddess - 图片页
planetminecraft: {
host: 'www.planetminecraft.com',
functionS: function() {if (!indexOF('/forums/') && !indexOF('/posts/')) {curSite = DBSite.planetminecraft;}},
From 08ba4dfa6fc9fe9cf9a14caadd92f76266db60de Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Thu, 3 Feb 2022 07:31:11 +0800
Subject: [PATCH 0025/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Raw=20=E5=8A=A0?=
=?UTF-8?q?=E9=80=9F=E6=BA=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index 4c3fc7cdf..731f9f4fa 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
-// @version 1.7.7
+// @version 1.7.8
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -57,10 +57,13 @@
raw_url = [
['https://raw.githubusercontent.com', 'Github 原生',''],
//['https://ghproxy.fsou.cc/https://github.com', '中国香港 1', ''],
- ['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '中国香港 2', ''],
- ['https://fastly.jsdelivr.net/gh','日本东京 1', '注意:该加速源存在缓存机制(24小时),所以文件可能不是最新。
注意:当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
注意:当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
- ['https://cdn.staticaly.com/gh','日本东京 2', '注意:该加速是全球 Anycast CDN,国内一般分配到日本节点。'],
- ['https://raw.fastgit.org','日本东京 3', '注意:单个文件太大时可能会提示超时(实时获取中),请重试。']
+ //['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '中国香港 2', ''],
+ ['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', ''],
+ ['https://fastly.jsdelivr.net/gh','日本 1', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
+ ['https://cdn.staticaly.com/gh','日本 2', '注意:
- 该加速是全球 Anycast CDN,国内一般分配到日本节点。'],
+ ['https://raw.fastgit.org','日本 3', '注意:
- 单个文件太大时可能会提示超时(实时获取中),请重试。'],
+ ['https://cdn.jsdelivr.net/gh','美国', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
+ ['https://gcore.jsdelivr.net/gh','俄罗斯', '适用于 [电信用户],特别是北方。
注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。']
],
svg = [
'',
@@ -220,7 +223,9 @@
switch(i) {
//case 1:
// url = raw_url[i][0] + href; break;
- case 3:
+ case 2:
+ case 5:
+ case 6:
url = raw_url[i][0] + href.replace('/blob/','@'); break;
default:
url = raw_url[i][0] + href2;
@@ -267,7 +272,9 @@
switch(menu_raw_fast) {
//case 1:
// url = raw_url[menu_raw_fast][0] + href; break;
- case 3:
+ case 2:
+ case 5:
+ case 6:
url = raw_url[menu_raw_fast][0] + href.replace('/blob/','@'); break;
default:
url = raw_url[menu_raw_fast][0] + href2;
From 7f510f175ae1278d131b0ce13a3eafa4c7f7b0ed Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Thu, 3 Feb 2022 08:38:15 +0800
Subject: [PATCH 0026/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E5=BF=85?=
=?UTF-8?q?=E5=BA=94=E6=90=9C=E7=B4=A2]=20=E8=A7=84=E5=88=99(=E6=89=8B?=
=?UTF-8?q?=E6=9C=BA=E7=89=88=E6=97=B6=E4=B8=8D=E5=86=8D=E6=98=BE=E7=A4=BA?=
=?UTF-8?q?=E7=BD=91=E7=AB=99=E5=9B=BE=E6=A0=87)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 536 +++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 524 insertions(+), 12 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 796dba1ae..e4ff5ebce 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.6.1
+// @version 4.6.2
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -425,6 +425,7 @@ function: {
host: ['www.bing.com','cn.bing.com'],
functionS: function() {if (lp == '/search') {
curSite = DBSite.bing;
+ curSite.function = {bF: bing_bF}
} else if (lp == '/academic/search') {
curSite = DBSite.bing_academic;
}},
@@ -434,10 +435,7 @@ function: {
nextL: 'css;a.sb_pagN, a.sb_halfnext, a.sb_fullnpl',
pageE: 'css;#b_results > li:not(.b_msg):not([class="b_ans"]):not(.b_pag):not(#mfa_root)',
replaceE: 'css;#b_results > .b_pag',
- scrollD: 1500
- },
- function: {
- bF: bing_bF
+ scrollD: 2000
}
}, // 必应 搜索
sogou: {
@@ -449,7 +447,7 @@ function: {
pageE: 'css;.results > *',
replaceE: 'css;#pagebar_container',
scriptT: 3,
- scrollD: 1500
+ scrollD: 2000
}
}, // 搜狗 搜索
sogou_weixin: {
@@ -483,7 +481,7 @@ function: {
nextL: '//div[contains(@class, "-pagination")]/a[string()="下一页"]',
pageE: 'css;div[class*="-result-list"] > .result-content[data-i]',
replaceE: 'css;div[class*="-pagination"]',
- scrollD: 1500
+ scrollD: 2000
},
function: {
bF: toutiao_bF
@@ -498,7 +496,7 @@ function: {
pageE: 'css;ul.result > li, style:not(src)',
insertP: ['css;ul.result', 3],
replaceE: 'css;#page',
- scrollD: 1500
+ scrollD: 2000
},
function: {
bF: src_bF,
@@ -841,7 +839,7 @@ function: {
replaceE: 'css;ul.hupu-rc-pagination',
scrollD: 1500
}
- }, // 虎扑社区
+ }, // 虎扑社区
hupu_post: {
pager: {
type: 1,
@@ -850,7 +848,7 @@ function: {
replaceE: 'css;ul.hupu-rc-pagination',
scrollD: 2000
}
- }, // 虎扑社区 - 帖子内
+ }, // 虎扑社区 - 帖子内
nga_thread: {
host: ['bbs.nga.cn', 'ngabbs.com', 'nga.178.com', 'g.nga.cn'],
iframe: true,
@@ -2581,7 +2579,7 @@ function: {
}
}, // 动漫花园
futaacg: {
- host: 'futaacg.com',
+ host: /futaacg\./,
pager: {
type: 1,
nextL: 'css;ul.pagination a[rel="next"]',
@@ -2610,6 +2608,28 @@ function: {
scrollD: 2000
}
}, // MioBT + 简单动漫
+ reimu: {
+ host: /\.reimu\./,
+ functionS: function() {if (lp == '/' || indexOF('/category') || indexOF('/tag')) curSite = DBSite.reimu},
+ pager: {
+ type: 1,
+ nextL: 'css;span.current+a.sfwppa-current-page',
+ pageE: 'css;article[id^="post-"]',
+ replaceE: 'css;.wp-pagenavi',
+ scrollD: 1500
+ }
+ }, // REIMU
+ hacg: {
+ host: /\.hacg\./,
+ functionS: function() {if (indexOF('/wp/') && !indexOF(/\d+\.html/)) curSite = DBSite.hacg},
+ pager: {
+ type: 1,
+ nextL: 'css;a.nextpostslink',
+ pageE: 'css;article[id^="post-"]',
+ replaceE: 'css;.wp-pagenavi',
+ scrollD: 1500
+ }
+ }, // HACG
nyaa: {
host: /nyaa\.si/,
pager: {
@@ -3911,7 +3931,7 @@ function: {
replaceE: 'css;.pagenav',
scrollD: 1500
}
- }, // 六音软件
+ }, // 六音软件
apprcn: {
host: ['www.apprcn.com', 'free.apprcn.com'],
functionS: function() {if (lp == '/' || indexOF('/category/')) {curSite = DBSite.apprcn;}},
@@ -5183,6 +5203,492 @@ function: {
pF: [0, 'img[_src]', '_src']
}
}, // 新片场
+ tujigu: {
+ host: ['www.tuji001.com', 'www.tujigu.net'],
+ functionS: function() {
+ if (indexOF('/a/')) {
+ curSite = DBSite.tujigu;
+ } else if (location.pathname != '/' && !indexOF('/search/')) {
+ curSite = DBSite.tujigu_list;
+ }},
+ insStyle: '.content img {display: block !important;}',
+ pager: {
+ type: 1,
+ nextL: 'id("pages")/a[contains(text(), "下一页")]',
+ pageE: 'css;.content > img',
+ replaceE: 'css;#pages',
+ scrollD: 2000
+ }
+ }, // tujigu - 图片页
+ tujigu_list: {
+ pager: {
+ type: 1,
+ nextL: 'id("pages")/a[contains(text(), "下一页")]',
+ pageE: 'css;.hezi > ul > li',
+ insertP: ['//div[@class="hezi"][last()]/ul', 3],
+ replaceE: 'css;#pages',
+ scrollD: 1000
+ }
+ }, // tujigu - 分类页
+ mvtui: {
+ host: 'mvtui.com',
+ functionS: function() {if (indexOF('.html')) {curSite = DBSite.mvtui;} else {curSite = DBSite.mvtui_list;}},
+ pager: {
+ type: 1,
+ nextL: 'css;.article-paging span.current+a',
+ pageE: 'css;.article-content > p',
+ replaceE: 'css;.article-paging',
+ scrollD: 3000
+ }
+ }, // mvtui - 图片页
+ mvtui_list: {
+ pager: {
+ type: 1,
+ nextL: 'css;li.next-page a',
+ pageE: 'css;#posts > div',
+ replaceE: 'css;.pagination',
+ scrollD: 1500
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-src]', 'data-src']
+ }
+ }, // mvtui - 分类页
+ mzitu: {
+ host: 'www.mzitu.com',
+ functionS: function() {if (indexOF(/\/\d+/)) {curSite = DBSite.mzitu;getCSS('.main-image a[href]').href = 'javascript:void(0);'} else {curSite = DBSite.mzitu_list;}},
+ pager: {
+ type: 1,
+ nextL: '//div[@class="pagenavi"]/a[contains(string(), "下一页")]',
+ pageE: 'css;.main-image img',
+ replaceE: 'css;.pagenavi',
+ scrollD: 1500
+ }
+ }, // mzitu - 图片页
+ mzitu_list: {
+ pager: {
+ type: 1,
+ nextL: 'css;.next.page-numbers',
+ pageE: 'css;.postlist > ul > li',
+ replaceE: 'css;.pagination',
+ scrollD: 1000
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-original]', 'data-original']
+ }
+ }, // mzitu - 分类/搜索页
+ xiurenji: {
+ host: /\.xiuren[a-z]+\./,
+ functionS: function() {insStyle('img[src$=".gif"]:not([src*="logo"]) {display: none !important;}');
+ if (indexOF('.html') && !indexOF('/index')) {
+ curSite = DBSite.xiurenji;
+ } else if (indexOF('search')) {
+ curSite = DBSite.xiurenji_search;
+ } else {
+ curSite = DBSite.xiurenji_list;
+ }},
+ pager: {
+ type: 1,
+ nextL: '//div[@class="page"]/a[text()="下页"]',
+ pageE: 'css;div.content > p > *',
+ replaceE: 'css;.page',
+ scrollD: 1500
+ }
+ }, // xiurenji - 图片页
+ xiurenji_list: {
+ pager: {
+ type: 1,
+ nextL: '//div[@class="page"]/a[text()="下页"]',
+ pageE: 'css;li.i_list',
+ replaceE: 'css;.page',
+ scrollD: 1000
+ }
+ }, // xiurenji - 分类页
+ xiurenji_search: {
+ pager: {
+ type: 1,
+ nextL: 'css;.page > a.current+a',
+ pageE: 'css;.node > *',
+ replaceE: 'css;.page',
+ scrollD: 700
+ }
+ }, // xiurenji - 搜索页
+ tvv: {
+ host: /\.tvv\.tw/,
+ functionS: function() {if (lp == '/' || indexOF('/page/') || indexOF('/category/')) {curSite = DBSite.tvv;}},
+ insStyle: '.blog-masonry, .blog-masonry-4col {height: auto !important;} .blog-listing {position: relative !important;float: left !important;top: auto !important;left: auto !important;} .blog-title > a {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .blog-image img {min-height: 300px;}',
+ pager: {
+ type: 1,
+ nextL: 'css;a.next',
+ pageE: 'css;.blog-listing',
+ replaceE: 'css;.pagination',
+ scrollD: 2000
+ }
+ }, // tvv
+ mm131: {
+ host: ['www.mm131.net', 'www.mmm131.com'],
+ functionS: function() {if (indexOF('.html')) {curSite = DBSite.mm131;} else {curSite = DBSite.mm131_list;}},
+ retry: 300,
+ pager: {
+ type: 1,
+ nextL: '//div[@class="content-page"]/a[contains(text(), "下一页")]',
+ pageE: 'css;.content-pic img',
+ replaceE: 'css;.content-page',
+ scrollD: 2000
+ }
+ }, // MM131 - 图片页
+ mm131_list: {
+ pager: {
+ type: 1,
+ nextL: '//dd[@class="page"]/a[contains(text(), "下一页")]',
+ pageE: 'css;dl.list-left > dd:not([class="page"])',
+ replaceE: 'css;.page',
+ scrollD: 1000
+ }
+ }, // MM131 - 分类页
+ mm131_m: {
+ host: 'm.mmm131.com',
+ functionS: function() {insStyle('.bannert, .bannerb, bannert_ios, .bannerb_ios {display: none !important;}'); if (lp == '/') {curSite = DBSite.mm131_m_;} else if (indexOF('.html')) {curSite = DBSite.mm131_m;} else {curSite = DBSite.mm131_m_list;}},
+ retry: true,
+ pager: {
+ type: 1,
+ nextL: '//div[@class="paging"]/a[text()="下一张" or text()="下一页"]',
+ pageE: 'css;.post-content img',
+ replaceE: 'css;.paging',
+ scrollD: 2000
+ }
+ }, // MM131 - 手机版 - 图片页
+ mm131_m_list: {
+ pager: {
+ type: 1,
+ nextL: 'css;#xbtn',
+ pageE: 'css;#content > article',
+ replaceE: 'css;#webpage',
+ scrollD: 2000
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-img]', 'data-img']
+ }
+ }, // MM131 - 手机版 - 分类页
+ mm131_m_: {
+ pager: {
+ type: 2,
+ nextL: 'css;#webpage>span[onclick]',
+ isHidden: true,
+ interval: 500,
+ scrollD: 2000
+ }
+ }, // MM131 - 手机版 - 首页
+ mrcong: {
+ host: 'mrcong.com',
+ functionS: function() {if (lp == '/' || indexOF('/tag/')) {curSite = DBSite.mrcong_list;} else {curSite = DBSite.mrcong;}},
+ pager: {
+ type: 1,
+ nextL: 'css;.post-page-numbers.current+a.post-page-numbers',
+ pageE: 'css;#fukie2 > p > img',
+ replaceE: 'css;.page-link',
+ scrollD: 3000
+ }
+ }, // MrCong - 图片页
+ mrcong_list: {
+ pager: {
+ type: 3,
+ nextL: 'css;.current+a.page',
+ pageE: 'css;article.item-list',
+ scrollE: 'css;.pagination',
+ replaceE: 'css;.pagination',
+ scrollD: 2000
+ }
+ }, // MrCong - 分类页
+ buondua: {
+ host: 'buondua.com',
+ functionS: function() {if (indexOF(/-photos-\d+/)) {curSite = DBSite.buondua;} else {curSite = DBSite.buondua_list;}},
+ pager: {
+ type: 3,
+ nextL: '//nav[@class="pagination"]//span[./a[contains(@class, "is-current")]]/following-sibling::span[1]/a',
+ pageE: 'css;.article-fulltext > p',
+ scrollE: 'css;nav.pagination',
+ replaceE: 'css;nav.pagination',
+ scrollD: 1500
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-src]', 'data-src']
+ }
+ }, // Buon Dua - 图片页
+ buondua_list: {
+ pager: {
+ type: 3,
+ nextL: 'css;.pagination-next',
+ pageE: 'css;.items-row.column, .collection-item.column',
+ scrollE: 'css;nav.pagination',
+ replaceE: 'css;nav.pagination',
+ scrollD: 1200
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-src]', 'data-src']
+ }
+ }, // Buon Dua - 分类页
+ fnvshen: {
+ host: 'www.fnvshen.com',
+ functionS: function() {
+ if (indexOF('/gallery/') || indexOF('/tag/')) {
+ curSite = DBSite.fnvshen_list;
+ } else if (indexOF('/g/')) {
+ curSite = DBSite.fnvshen;
+ } else if (indexOF(/\/article\/\d+\//)) {
+ curSite = DBSite.fnvshen_article;
+ } else if (indexOF('/article/')) {
+ curSite = DBSite.fnvshen_article_list;
+ }},
+ pager: {
+ type: 1,
+ nextL: 'css;#pages > span +a:not(.a1)',
+ pageE: 'css;#hgallery > img',
+ replaceE: 'css;#pages',
+ scrollD: 1500
+ }
+ }, // fnvshen - 图片页
+ fnvshen_list: {
+ insStyle: '.yalayi_box {display: none !important; margin: -4px 0 !important;}',
+ pager: {
+ type: 1,
+ nextL: '//div[@class="pagesYY"]//a[contains(text(), "下一页")]',
+ pageE: 'css;#listdiv > ul > li',
+ replaceE: 'css;.pagesYY',
+ scrollD: 1000
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-original]', 'data-original']
+ }
+ }, // fnvshen - 分类页
+ fnvshen_article_list: {
+ pager: {
+ type: 1,
+ nextL: '//div[@class="pagesYY"]//a[contains(text(), "下一页")]',
+ pageE: 'css;li.other_girlli',
+ replaceE: 'css;.pagesYY',
+ scrollD: 1000
+ }
+ }, //fnvshen - 文章列表
+ fnvshen_article: {
+ pager: {
+ type: 1,
+ nextL: 'css;.pagesYY a.cur+a',
+ pageE: 'css;#articleDiv',
+ insertP: ['css;#articleDiv', 6],
+ replaceE: 'css;.pagesYY',
+ scrollD: 1000
+ }
+ }, // fnvshen - 文章内
+ xrmn5: {
+ host: 'www.xrmn5.cc',
+ functionS: function() {if (indexOF(/\d+\.html/)) {
+ curSite = DBSite.xrmn5;
+ } else if (indexOF('/search')) {
+ 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',
+ replaceE: 'css;.page',
+ scrollD: 3000
+ }
+ }, // xrmn5 - 图片页
+ xrmn5_list: {
+ pager: {
+ type: 1,
+ nextL: '//div[contains(@class, "page")]//a[contains(text(), "下页")]',
+ pageE: 'css;ul.update_area_lists > li',
+ replaceE: 'css;.page',
+ scrollD: 2000
+ }
+ }, // xrmn5 - 分类页
+ xrmn5_search: {
+ pager: {
+ type: 1,
+ nextL: 'css;.page a.current+a',
+ pageE: 'css;div.sousuo',
+ replaceE: 'css;.page',
+ scrollD: 2000
+ }
+ }, // xrmn5 - 搜索页
+ jpmn8: {
+ host: 'www.jpmn8.com',
+ functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.jpmn8;} else if (location.pathname != '/') {curSite = DBSite.jpmn8_list;}},
+ insStyle: 'img[onload] {min-height: 500px;}',
+ pager: {
+ type: 1,
+ nextL: '//div[@class="pagination1"]//a[text()="下一页"]',
+ pageE: 'css;img[onload]',
+ replaceE: 'css;.pagination1',
+ scrollD: 3000
+ }
+ }, // jpmn8 - 图片页
+ jpmn8_list: {
+ pager: {
+ type: 1,
+ nextL: '//div[@class="pagination1"]//a[text()="下一页"]',
+ pageE: 'css;article.excerpt',
+ replaceE: 'css;.pagination1',
+ scrollD: 1500
+ }
+ }, // jpmn8 - 分类页
+ ku66: {
+ host: 'www.ku66.net',
+ functionS: function() {if (/\/\d+\.html/.test(location.pathname)) {curSite = DBSite.ku66;} else {curSite = DBSite.ku66_list;}},
+ insStyle: '.content img {min-height: 500px;}',
+ pager: {
+ type: 1,
+ nextL: '//div[@class="NewPages"]//a[text()="下一页"]',
+ pageE: 'css;.content > img',
+ insertP: ['css;.content', 3],
+ replaceE: 'css;.NewPages',
+ scrollD: 4000
+ }
+ }, // ku66 - 图片页
+ ku66_list: {
+ pager: {
+ type: 1,
+ nextL: '//div[@class="NewPages"]//a[text()="下一页"]',
+ pageE: 'css;.TypeList > ul > li',
+ insertP: ['css;.TypeList > ul', 3],
+ replaceE: 'css;.NewPages',
+ scrollD: 1000
+ }
+ }, // ku66 - 分类页
+ ku66_m: {
+ host: 'm.ku66.net',
+ functionS: function() {if (/\/\d+\.html/.test(location.pathname)) {curSite = DBSite.ku66_m;} else {curSite = DBSite.ku66_m_list;}},
+ insStyle: '.ArticleImageBox img {min-height: 200px;}',
+ pager: {
+ type: 1,
+ nextL: '//div[@class="article_page"]//a[text()="下一页"]',
+ pageE: 'css;.ArticleImageBox > *',
+ replaceE: 'css;.article_page',
+ scrollD: 4000
+ }
+ }, // ku66 - 手机版 - 图片页
+ ku66_m_list: {
+ pager: {
+ type: 1,
+ nextL: '//div[@class="article_page"]//a[text()="下一页"]',
+ pageE: 'css;.PictureList > ul > li',
+ replaceE: 'css;.article_page',
+ scrollD: 1000
+ }
+ }, // ku66 - 手机版 - 分类页
+ ku137: {
+ host: 'www.ku137.net',
+ functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.ku137;} else if (location.pathname != '/') {curSite = DBSite.ku137_list;}},
+ insStyle: '.Title9, .dibu1, .dibu2 {display: none !important;} .content img {min-height: 500px;}',
+ pager: {
+ type: 1,
+ nextL: '//div[@class="page"]/a[text()="下一页"]',
+ pageE: 'css;.content > img',
+ replaceE: 'css;.page',
+ scrollD: 3000
+ }
+ }, // ku137 - 图片页
+ ku137_list: {
+ pager: {
+ type: 1,
+ nextL: '//div[@class="page"]/a[text()="下一页"]',
+ pageE: 'css;.m-list > ul > li',
+ replaceE: 'css;.page',
+ scrollD: 1500
+ }
+ }, // ku137 - 分类页
+ ku137_m: {
+ host: 'm.ku137.net',
+ functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.ku137_m;} else if (location.pathname != '/') {curSite = DBSite.ku137_m_list;}},
+ insStyle: '.ArticleImageBox img {min-height: 300px;}',
+ pager: {
+ type: 1,
+ nextL: '//div[@class="article_page"]//a[text()="下一页"]',
+ pageE: 'css;.ArticleImageBox > *',
+ replaceE: 'css;.article_page',
+ scrollD: 3000
+ }
+ }, // ku137 - 手机版 - 图片页
+ ku137_m_list: {
+ pager: {
+ type: 1,
+ nextL: '//div[@class="article_page"]//a[text()="下一页"]',
+ pageE: 'css;.PictureList > ul > li',
+ replaceE: 'css;.article_page',
+ scrollD: 1500
+ }
+ }, // ku137 - 手机版 - 分类页
+ mnttz: {
+ host: 'www.mnttz.com',
+ functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.mnttz;} else {curSite = DBSite.mnttz_list;}},
+ insStyle: 'img.content_img {min-height: 500px;}',
+ pager: {
+ type: 1,
+ nextL: 'css;.article-paging > span+a',
+ pageE: 'css;img.content_img',
+ replaceE: 'css;.article-paging',
+ scrollD: 3000
+ }
+ }, // mnttz - 图片页
+ mnttz_list: {
+ pager: {
+ type: 1,
+ nextL: 'css;li.next-page > a',
+ pageE: 'css;article.excerpt',
+ replaceE: 'css;.pagination',
+ scrollD: 1500
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-src]', 'data-src']
+ }
+ }, // mnttz - 分类页
+ kingdom: {
+ host: ['kingdom-en.com', 'www.kingdom-en.com', 'm.kingdom-en.com'],
+ functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.kingdom;} else {curSite = DBSite.kingdom_list;}},
+ insStyle: '.pic_center img {min-height: 300px;} .arcmain > .title, .footer, .index-list-title, .listmain_st {display: none !important;}',
+ pager: {
+ type: 1,
+ nextL: '//a[@class="page_next"] | //div[@class="article_page"]//a[text()="下一页"]',
+ pageE: 'css;.pic_center img',
+ replaceE: '//div[@class="pages2" or @class="article_page"]',
+ scrollD: 4000
+ }
+ }, // kingdom - 图片页
+ kingdom_list: {
+ pager: {
+ type: 1,
+ nextL: () => getCSS('a.page_next').href.replace(/(www.)?ermo.net/, location.hostname).replace(/http(s)?:/, location.protocol),
+ pageE: 'css;.channel_list3 > ul > li, ul#container > li',
+ replaceE: 'css;.pages, .list_page',
+ scrollD: 1000
+ }
+ }, // kingdom - 分类页
+ kissgoddess: {
+ host: ['kissgoddess.com', 'tw.kissgoddess.com', 'jp.kissgoddess.com'],
+ functionS: function() {if (indexOF('/album/') || indexOF('/category/')) curSite = DBSite.kissgoddess;},
+ insStyle: '.td-gallery-content > img {min-height: 300px;}',
+ pager: {
+ type: 1,
+ nextL: 'css;a.a1:last-of-type',
+ pageE: 'css;.td-gallery-content > img, .td-category-span',
+ replaceE: 'css;#pages',
+ scrollD: 3000
+ },
+ function: {
+ bF: src_bF,
+ pF: [0, 'img[data-original]', 'data-original']
+ }
+ }, // Kiss Goddess - 图片页
planetminecraft: {
host: 'www.planetminecraft.com',
functionS: function() {if (!indexOF('/forums/') && !indexOF('/posts/')) {curSite = DBSite.planetminecraft;}},
@@ -5451,6 +5957,12 @@ function: {
// [必应搜索] 的插入前函数(加载网站图标)
function bing_bF(pageElems) {
+ if (!getCSS('.b_title > a.sh_favicon')) {
+ insStyle('.b_title > a.sh_favicon {display: none !important;}');
+ delete curSite.function
+ console.log(curSite)
+ return pageElems
+ }
pageElems.forEach(function (one) {
getAllCSS('div.rms_iac[data-src]').forEach(function (one1) {
one1.outerHTML = `
`;
From bcd132330d31d2c47455c77b1b7c82ce1f9f26dc Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Thu, 3 Feb 2022 13:57:00 +0800
Subject: [PATCH 0027/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20description?=
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 e4ff5ebce..4f89280b3 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -2,7 +2,7 @@
// @name 自动无缝翻页
// @version 4.6.2
// @author X.I.U
-// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
+// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
// @connect www.ykmh.com
// @connect www.xuexiniu.com
@@ -3571,7 +3571,7 @@ function: {
replaceE: 'css;#page-container',
scrollD: 900
}
- }, // 起点小说
+ }, // 起点中文
qidian_read: {
host: 'read.qidian.com',
insStyle: '.admire-wrap {display: none !important;}',
@@ -3582,7 +3582,7 @@ function: {
replaceE: 'css;.chapter-control',
scrollD: 900
}
- }, // 起点小说 - 阅读页
+ }, // 起点中文 - 阅读页
baoshuu: {
host: 'www.baoshuu.com',
functionS: function() {if (indexOF('/TXT/list')) curSite = DBSite.baoshuu;},
@@ -5325,7 +5325,7 @@ function: {
replaceE: 'css;.pagination',
scrollD: 2000
}
- }, // tvv
+ }, // tvv
mm131: {
host: ['www.mm131.net', 'www.mmm131.com'],
functionS: function() {if (indexOF('.html')) {curSite = DBSite.mm131;} else {curSite = DBSite.mm131_list;}},
@@ -5653,7 +5653,7 @@ function: {
}
}, // mnttz - 分类页
kingdom: {
- host: ['kingdom-en.com', 'www.kingdom-en.com', 'm.kingdom-en.com'],
+ host: /kingdom-en\.com/,
functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.kingdom;} else {curSite = DBSite.kingdom_list;}},
insStyle: '.pic_center img {min-height: 300px;} .arcmain > .title, .footer, .index-list-title, .listmain_st {display: none !important;}',
pager: {
@@ -5674,7 +5674,7 @@ function: {
}
}, // kingdom - 分类页
kissgoddess: {
- host: ['kissgoddess.com', 'tw.kissgoddess.com', 'jp.kissgoddess.com'],
+ host: /kissgoddess\./,
functionS: function() {if (indexOF('/album/') || indexOF('/category/')) curSite = DBSite.kissgoddess;},
insStyle: '.td-gallery-content > img {min-height: 300px;}',
pager: {
From 54776ef2f1729e26511e3557a24496252e9abe48 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Thu, 3 Feb 2022 20:13:51 +0800
Subject: [PATCH 0028/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?=
=?UTF-8?q?=E9=80=9F=E6=BA=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index 731f9f4fa..fe28f417e 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
-// @version 1.7.8
+// @version 1.7.9
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -41,6 +41,7 @@
['https://gh.xiu2.xyz/https://github.com', '美国 2'],
['https://gh.api.99988866.xyz/https://github.com', '美国 3'],
['https://github.rc1844.workers.dev', '美国 4'],
+ ['https://git.yumenaka.net/https://github.com', '美国 5'],
['https://download.fastgit.org', '日本'],
['https://ghproxy.com/https://github.com', '韩国']
//['https://ghproxy.fsou.cc/https://github.com', '香港']
From 9f0e50d101ad74832488ee078b4646d877017907 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 4 Feb 2022 07:41:46 +0800
Subject: [PATCH 0029/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E6=B8=B8?=
=?UTF-8?q?=E6=B0=91=E6=98=9F=E7=A9=BA]=20=E8=A7=84=E5=88=99=20(=E6=94=BB?=
=?UTF-8?q?=E7=95=A5=E9=A1=B5=E5=9B=BE=E7=89=87=E5=8A=A0=E8=BD=BD=E9=97=AE?=
=?UTF-8?q?=E9=A2=98)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 4f89280b3..8c5331c50 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.6.2
+// @version 4.6.3
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -6057,10 +6057,10 @@ function: {
}
- // [游民星空-攻略] 的插入前函数(移除下一页底部的 "更多相关内容请关注:xxx" 文字)
+ // [游民星空-攻略] 的插入前函数(移除下一页底部的 "更多相关内容请关注:xxx" 文字 + 加载图片)
function gamersky_gl_bF(pageElems) {
pageElems.forEach(function (one) {if (one.tagName === 'P' && one.textContent.indexOf('更多相关内容请关注') > -1) {one.style.display = 'none';}});
- return pageElems
+ return src_bF(pageElems, [0, 'img[data-src]', 'data-src'])
}
From efbb139c7992babecdc923c0694d7ea15f4f2692 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 4 Feb 2022 11:23:30 +0800
Subject: [PATCH 0030/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E8=AF=9D?=
=?UTF-8?q?=E6=9C=AC=E5=B0=8F=E8=AF=B4=E7=BD=91]=E3=80=81[=E8=AF=BB?=
=?UTF-8?q?=E4=B9=A6=E6=97=8F=E5=B0=8F=E8=AF=B4=E7=BD=91]=20=E6=94=AF?=
=?UTF-8?q?=E6=8C=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 59 +++++++++++++++++++++++++++++++++++++++---------
1 file changed, 48 insertions(+), 11 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 8c5331c50..cf6567aeb 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.6.3
+// @version 4.6.4
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -3657,19 +3657,19 @@ function: {
scrollD: 1500
}
}, // 搜小说
- _530p: {
- host: 'www.530p.com',
- functionS: function() {if (indexOF(/\/\d{4,}\.htm/)) {curSite = DBSite._530p;}},
+ ihuaben: {
+ host: 'www.ihuaben.com',
+ functionS: function() {if (indexOF(/\/\d{4,}\.html/)) {curSite = DBSite.ihuaben;}},
+ insStyle: '.discription > p > i, img, #container, #BDBannerBottom_PC, iframe, .navFooter {display: none !important;} .discription > p {font-size: 16px; min-height: 24px; padding-bottom: 24px;}',
pager: {
type: 1,
- nextL: 'css;#nextLink',
- pageE: 'css;#cp_content',
- insertP: ['css;#cp_content', 6],
- insertP6Br: true,
- replaceE: 'css;#pg_bar',
- scrollD: 1500
+ nextL: 'id("preAndNextBar")/a[contains(text(), "下一章")]',
+ pageE: 'css;#contentsource > p',
+ insertP: ['css;.discription', 3],
+ replaceE: 'css;#preAndNextBar',
+ scrollD: 1000
}
- }, // 无弹窗小说网
+ }, // 话本小说网
xineyby: {
host: 'www.xineyby.com',
functionS: function() {if (indexOF('/read/')) {
@@ -3697,6 +3697,36 @@ function: {
scrollD: 900
}
}, // 无错小说网 - 分类/搜索页
+ _530p: {
+ host: 'www.530p.com',
+ functionS: function() {if (indexOF(/\/\d{4,}\.htm/)) {curSite = DBSite._530p;}},
+ pager: {
+ type: 1,
+ nextL: 'css;#nextLink',
+ pageE: 'css;#cp_content',
+ insertP: ['css;#cp_content', 6],
+ insertP6Br: true,
+ replaceE: 'css;#pg_bar',
+ scrollD: 1500
+ }
+ }, // 无弹窗小说网
+ xiaoshuo77: {
+ host: 'm.xiaoshuo77.net',
+ functionS: function() {if (indexOF('.html')) {curSite = DBSite.xiaoshuo77; xs_bF(getAllCSS('#novelcontent'), [/(
)?( )+内容未完,下一页.*$|【本章阅读.*$/, '
']);}},
+ insStyle: '#novelcontent > p, img {display: none !important;}',
+ pager: {
+ type: 1,
+ nextL: 'css;.page_chapter a.p4',
+ pageE: 'css;#novelcontent',
+ insertP: ['css;#novelcontent', 6],
+ replaceE: 'css;.page_chapter',
+ scrollD: 1500
+ },
+ function: {
+ bF: xs_bF,
+ pF: [/(
)?( )+内容未完,下一页.*$|【本章阅读.*$/, '
']
+ }
+ }, // 读书族小说网
linovel: {
host: 'www.linovel.net',
functionS: function() {if (indexOF(/\/book\/\d+\/.+\.html/)) {
@@ -7246,6 +7276,13 @@ function: {
});
return pageElems
}
+ // 文字型插入前函数(正则过滤)
+ function xs_bF(pageElems, reg) {
+ pageElems.forEach(function (one) {
+ one.innerHTML = one.innerHTML.replace(reg[0], reg[1])
+ });
+ return pageElems
+ }
// 通用型获取下一页地址(URL 替换 page= 参数)
function getNextP(css, pf, reg) {
let nextNum = getOne(css);
From 76fc54095c63674dfb44720c99e7553b533ac5a0 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Fri, 4 Feb 2022 19:00:45 +0800
Subject: [PATCH 0031/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E8=AE=B0?=
=?UTF-8?q?=E4=BD=8F=E9=9D=99=E9=9F=B3=E5=8A=9F=E8=83=BD(=E5=A6=82?=
=?UTF-8?q?=E6=9E=9C=E5=9C=A8=E5=85=B3=E9=97=AD=E7=BD=91=E9=A1=B5=E5=89=8D?=
=?UTF-8?q?=E5=8F=96=E6=B6=88=E9=9D=99=E9=9F=B3=EF=BC=8C=E5=88=99=E4=B8=8D?=
=?UTF-8?q?=E4=BC=9A=E8=AE=B0=E4=BD=8F);=20=E4=BF=AE=E5=A4=8D=20=E6=89=8B?=
=?UTF-8?q?=E5=8A=A8=E5=B0=86=E9=9F=B3=E9=87=8F=E8=B0=83=E6=95=B4=E4=B8=BA?=
=?UTF-8?q?=200=20=E6=97=B6=E6=97=A0=E6=B3=95=E8=AE=B0=E4=BD=8F=E7=9A=84?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
HTML5Volume.user.js | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/HTML5Volume.user.js b/HTML5Volume.user.js
index 425c4b1d1..ee1a7ea72 100644
--- a/HTML5Volume.user.js
+++ b/HTML5Volume.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name HTML5 视频音频默认音量
-// @version 1.0.0
+// @version 1.0.1
// @author X.I.U
// @description 避免被一些默认 100% 音量的视频/音频吓一跳(或社死)!且支持各网站分别记住音量...
// @match *://*/*
@@ -64,7 +64,11 @@
// 音量变化事件(记住音量)
function volumeChangeEvent(event) {
- if (localStorage.getItem('html5_xiu_currentVolume') || ((event.target.volume * 100) !== GM_getValue('menu_defaultVolume', 30))) localStorage.setItem('html5_xiu_currentVolume', event.target.volume * 100)
+ if (event.target.muted) { // 判断是否静音
+ localStorage.setItem('html5_xiu_currentVolume', 0)
+ } else if (localStorage.getItem('html5_xiu_currentVolume') || ((event.target.volume * 100) !== GM_getValue('menu_defaultVolume', 30))) {
+ localStorage.setItem('html5_xiu_currentVolume', event.target.volume * 100)
+ }
}
@@ -72,7 +76,7 @@
function modifyVolume(_this) {
if (!_this.controls) return; // 如果视频/音频没有默认控件,则代表是
let nowVolume = parseFloat(localStorage.getItem('html5_xiu_currentVolume')); // 先看看 localStorage 有没有(即用户是否手动调整过音量)
- if (!nowVolume) nowVolume = GM_getValue('menu_defaultVolume', 30); // 如果 localStorage 没有,那就从脚本配置中获取
+ if (!nowVolume && nowVolume !== 0) nowVolume = GM_getValue('menu_defaultVolume', 30); // 如果 localStorage 没有,那就从脚本配置中获取
if (!((typeof nowVolume === 'number') && nowVolume <= 100)) nowVolume = 30; // 如果获取到的音量数值不是数字,或大于 100,则重置为 30
_this.volume = nowVolume / 100; // 设置音量为 0~1 范围
}
From a1aa29218944a14d03c833bd6904c823259b1dbb Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sat, 5 Feb 2022 12:09:17 +0800
Subject: [PATCH 0032/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=A4=A7?=
=?UTF-8?q?=E9=87=8F=E8=A7=84=E5=88=99=20(=E5=85=B7=E4=BD=93=E8=A7=81=20#1?=
=?UTF-8?q?17793)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 281 +++++++++++++++++++++++++++++------------------
1 file changed, 175 insertions(+), 106 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index cf6567aeb..dfb0df9c1 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,8 +1,8 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.6.4
+// @version 4.6.5
// @author X.I.U
-// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
+// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
// @connect www.ykmh.com
// @connect www.xuexiniu.com
@@ -624,7 +624,7 @@ function: {
retry: 1000,
pager: {
type: 6,
- nextL: () => getNextP('css;.turn-page-num-wrap.selected', 'pageIndex=', /pageIndex=\d+/),
+ nextL: () => getNextEP('css;.turn-page-num-wrap.selected', 'pageIndex=', /pageIndex=\d+/),
pageE: 'css;.organic-results > div',
replaceE: 'css;.bottom-pagination',
loadTime: 1000,
@@ -1730,7 +1730,7 @@ function: {
iframe: true,
pager: {
type: 5,
- nextL: () => getNextP('css;li.active+li:not(.disabled) > a', 'page=', /page=\d+/),
+ nextL: () => getNextEP('css;li.active+li:not(.disabled) > a', 'page=', /page=\d+/),
scrollD: 1000
}
}, // iconfont
@@ -1921,7 +1921,7 @@ function: {
host: 'mod.3dmgame.com',
pager: {
type: 1,
- nextL: () => getNextP('//li[@class="page-list active"]/following-sibling::li[contains(@class, "page-list")]/a', 'Page=', /Page=\d+/),
+ nextL: () => getNextEP('//li[@class="page-list active"]/following-sibling::li[contains(@class, "page-list")]/a', 'Page=', /Page=\d+/),
pageE: '//div[contains(@class, "game-mod-list") or contains(@class, "search-mod-list")] | //script[not(@src or @type)][contains(text(), ".game-mod-page") or contains(text(), ".search-mod-page")]',
insertP: ['//div[contains(@class, "game-mod-wrap") or contains(@class, "search-mod ")]', 3],
scriptT: 2,
@@ -2160,21 +2160,6 @@ function: {
scrollD: 1000
}
}, // B 站(Bilibili) - 搜索页 - 专栏
- pianku: {
- host: /pianku/,
- functionS: function() {if (location.pathname != '/') {curSite = DBSite.pianku;}},
- pager: {
- type: 1,
- nextL: 'css;a.a1',
- pageE: 'css;.content-list > li',
- replaceE: 'css;.pages',
- scrollD: 1500
- },
- function: {
- bF: src_bF,
- pF: [0, 'img[data-src]', 'data-src']
- }
- }, // 片库
cupfox: {
host: 'www.cupfox.com',
pager: {
@@ -2256,9 +2241,9 @@ function: {
pF: [0, 'img[data-src]', 'data-src']
}
}, // 嗯哩嗯哩
- _91mjw: {
- host: '91mjw.com',
- functionS: function() {if (!indexOF('/video/') || !indexOF('/vplay/')) {curSite = DBSite._91mjw;}},
+ mjw91: {
+ host: 'mjw91.com',
+ functionS: function() {if (!indexOF('/video/') || !indexOF('/vplay/')) {curSite = DBSite.mjw91;}},
pager: {
type: 1,
nextL: 'css;.next-page > a',
@@ -2270,7 +2255,7 @@ function: {
bF: src_bF,
pF: [0, 'img[data-original]', 'data-original']
}
- }, // 91 美剧网
+ }, // 91 美剧网
zhenbuka: {
host: ['www.zhenbuka3.com', 'www.zhenbuka5.com'],
functionS: function() {if (indexOF('/vodtype/')) {curSite = DBSite.zhenbuka;}},
@@ -2411,7 +2396,7 @@ function: {
}
}, // 樱花动漫 - 搜索页等
agefans: {
- host: /www\.agefans\./,
+ host: ['www.agemys.com', 'www.age.tv'],
functionS: function() {if (indexOF('/catalog/') || lp == '/search') {
curSite = DBSite.agefans;
} else if (lp == '/recommend' || lp == '/update') {
@@ -2505,7 +2490,7 @@ function: {
}
}, // Anime1 - 搜索页
yinfans: {
- host: 'www.yinfans.net',
+ host: /www\.yinfans\./,
insStyle: '#post_container {height: auto !important;} #post_container > li {position: static !important; float: left !important; height: 620px !important;}',
pager: {
type: 1,
@@ -2556,7 +2541,7 @@ function: {
}
}, // YYDS 电影
kisssub: {
- host: ['www.kisssub.org','www.comicat.org', 'share.acgnx.net'],
+ host: ['www.kisssub.org','www.comicat.org', /(share|www)\.acgnx\./],
pager: {
type: 1,
nextL: 'css;a.nextprev:last-of-type',
@@ -2588,8 +2573,19 @@ function: {
scrollD: 1500
}
}, // 扶她动漫
+ acg_rip: {
+ host: 'acg.rip',
+ pager: {
+ type: 1,
+ nextL: 'css;li.next>a',
+ pageE: 'css;table.post-index > tbody > tr',
+ replaceE: 'css;ul.pagination',
+ scrollD: 1500
+ }
+ }, // ACG.RIP
bangumi: {
host: 'bangumi.moe',
+ functionS: function() {if (indexOF('/lite')) {curSite = DBSite.bangumi_lite;} else {curSite = DBSite.bangumi;}},
pager: {
type: 2,
nextL: 'css;[torrent-list="lattorrents"] button[ng-click="loadMore()"] ,[torrent-list="torrents"] button[ng-click="loadMore()"]',
@@ -2597,6 +2593,15 @@ function: {
scrollD: 1500
}
}, // 萌番组
+ bangumi_lite: {
+ pager: {
+ type: 1,
+ nextL: '//section/a[./span[contains(@class, "next")]]',
+ pageE: 'css;li.torrent-li',
+ replaceE: 'css;.page-btn-section',
+ scrollD: 2000
+ }
+ }, // 萌番组 lite
miobt: {
host: ['miobt.com', 'www.36dm.club'],
functionS: function() {curSite = DBSite.miobt; if (location.hostname === 'www.36dm.club') {curSite.pager.scrollD = 1000;}},
@@ -2661,12 +2666,35 @@ function: {
nextL: 'css;#pager_links > a[title="next page"]',
pageE: 'css;table.lista2t tr.lista2',
replaceE: 'css;#pager_links',
- scrollD: 1000
+ scrollD: 1200
},
function: {
bF: rarbg_bF
}
}, // RARBG
+ _1337x: {
+ host: /1337x\./,
+ functionS: function() {if (indexOF('search/')) {curSite = DBSite._1337x;}},
+ pager: {
+ type: 1,
+ nextL: '//div[@class="pagination"]//a[text()=">>"]',
+ pageE: 'css;table.table-list > tbody > tr',
+ replaceE: 'css;.pagination',
+ scrollD: 1200
+ }
+ }, // 1337x
+ /*thepiratebay: {
+ host: 'thepiratebay.org',
+ functionS: function() {if (lp == '/search.php') {curSite = DBSite.thepiratebay;}},
+ pager: {
+ type: 6,
+ nextL: 'css;center > b+a[href]',
+ pageE: 'css;ol#torrents > li[id]',
+ replaceE: 'css;center',
+ loadTime: 1000,
+ scrollD: 1500
+ }
+ },*/ // thepiratebay
subdh: {
host: 'subdh.com',
functionS: function() {if (lp == '/' || indexOF('/list/new')) {curSite = DBSite.subdh;} else if (indexOF('/search')) {curSite = DBSite.subdh_search;}},
@@ -2730,16 +2758,25 @@ function: {
}, // A4k 字幕网(字幕)
assrt: {
host: 'assrt.net',
- functionS: function() {if (location.pathname != '/') {curSite = DBSite.assrt;};},
+ functionS: function() {if (location.pathname === '/sub/') {curSite = DBSite.assrt;} else if (indexOF('/list/')) {curSite = DBSite.assrt_list;}},
pager: {
type: 1,
- nextL: () => getNextP('css;#pl-current+a', 'page=', /page=\d+/),
+ nextL: () => getNextEP('css;#pl-current+a[href]:not([id])', 'page=', /page=\d+/),
pageE: 'css;.resultcard > div:not(#top-banner):not(#bottom-banner):not(.pagelinkcard)',
insertP: ['css;.pagelinkcard', 1],
replaceE: 'css;.pagelinkcard',
scrollD: 1000
}
}, // 射手网(字幕)
+ assrt_list: {
+ pager: {
+ type: 1,
+ nextL: '//a[@id="pl-nav" and text()=">"]',
+ pageE: 'css;#resultsdiv > .subitem:not([id])',
+ replaceE: 'css;.pagelinkcard',
+ scrollD: 1000
+ }
+ }, // 射手网(字幕)
subhd: {
host: 'subhd.tv',
functionS: function() {if (lp == '/forum/forum') {
@@ -3538,7 +3575,7 @@ function: {
cocomanga_list: {
pager: {
type: 1,
- nextL: () => getNextP('css;.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\d+/),
+ nextL: () => getNextEP('css;.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\d+/),
pageE: 'css;ul.fed-list-info > li',
replaceE: 'css;.fed-page-info',
scrollD: 1000
@@ -3551,7 +3588,7 @@ function: {
cocomanga_search: {
pager: {
type: 1,
- nextL: () => getNextP('css;.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\d+/),
+ nextL: () => getNextEP('css;.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\d+/),
pageE: 'css;dl.fed-deta-info',
replaceE: 'css;.fed-page-info',
scrollD: 1000
@@ -3893,21 +3930,12 @@ function: {
functionS: function() {if (location.pathname != '/') {curSite = DBSite.extfans;}},
pager: {
type: 1,
- nextL: 'css;.page a[data-page="next"]',
- pageE: 'css;.side-left > ul[class*="-list"] > li',
- replaceE: 'css;.page',
+ nextL: 'css;a.page-next',
+ pageE: 'css;.app-item-content, .article-item-content',
+ replaceE: 'css;.pagination-content',
scrollD: 2000
}
}, // 扩展迷
- chrome_zzzmh: {
- host: 'chrome.zzzmh.cn',
- pager: {
- type: 2,
- nextL: 'css;button.more-btn',
- interval: 1000,
- scrollD: 1500
- }
- }, // 极简插件
appinn: {
host: 'www.appinn.com',
pager: {
@@ -3922,8 +3950,8 @@ function: {
host: 'www.isharepc.com',
pager: {
type: 1,
- nextL: 'css;a.next',
- pageE: 'css;.content > div',
+ nextL: 'css;a.next.page-numbers',
+ pageE: 'css;.content > div.post',
replaceE: 'css;nav.pagination',
scrollD: 1000
}
@@ -4165,12 +4193,12 @@ function: {
}, // (下面这几个都是国外博客网站)
winaero: {
host: 'winaero.com',
- functionS: function() {if (lp == '/blog/' || indexOF('/category/')) curSite = DBSite.winaero;},
+ functionS: function() {if (lp == '/' || indexOF('/category/')) curSite = DBSite.winaero;},
pager: {
type: 1,
- nextL: 'css;.nav-previous > a',
- pageE: 'css;#content > article',
- replaceE: 'css;#nav-below',
+ nextL: 'css;a.next.page-numbers',
+ pageE: 'css;#main > article',
+ replaceE: 'css;.pagination',
scrollD: 1500
}
},
@@ -4215,7 +4243,7 @@ function: {
pager: {
type: 1,
nextL: 'css;li.pagination-next > a',
- pageE: 'css;#genesis-content > article',
+ pageE: 'css;#genesis-content > article.post',
replaceE: 'css;.pagination',
scrollD: 1500
}
@@ -4269,7 +4297,7 @@ function: {
functionS: function() {if (indexOF('/search/q') || indexOF('/paper/')) {curSite = DBSite.x_mol;}},
pager: {
type: 1,
- nextL: () => getNextP('css;.pagination li.active+li > a', 'pageIndex=', /pageIndex=\d+/),
+ nextL: () => getNextEP('css;.pagination li.active+li > a', 'pageIndex=', /pageIndex=\d+/),
pageE: 'css;.magazine-senior-search-results-list > ul > li, .magazine-model-content-new > ul > li',
insertP: ['css;.magazine-senior-search-results-list > ul, .magazine-model-content-new > ul', 3],
replaceE: 'css;.pagination',
@@ -4401,7 +4429,7 @@ function: {
iframe: true,
pager: {
type: 5,
- nextL: () => getNextP('css;.pager.active+span.pager', 'p=', /p=\d+/),
+ nextL: () => getNextEP('css;.pager.active+span.pager', 'p=', /p=\d+/),
scrollD: 2000
}
}, // 万方数据知识服务平台
@@ -4841,13 +4869,26 @@ function: {
}, // 超能网
landian: {
host: 'www.landian.vip',
+ functionS: function() {if (lp != '/' && !indexOF('/archives/') && !indexOF('/search/')) {curSite = DBSite.landian;}},
+ insStyle: '.pagination {display: none !important;}',
pager: {
- type: 2,
- nextL: 'css;.load-more > button',
- nextText: '加载更多',
- scrollD: 1300
+ type: 1,
+ nextL: () => getNextUPN(/(?<=\/page\/)\d+/, /\/page\/\d+/, '/page/', '', '2', getCSS('.pagination > button.end').textContent),
+ pageE: 'css;.content li.color-border',
+ scrollD: 1500
}
}, // 蓝点网
+ kenengba: {
+ host: 'kenengba.com',
+ functionS: function() {if (lp == '/' || indexOF('/page/') || indexOF('/category/') || indexOF('/tag/')) {curSite = DBSite.kenengba;}},
+ pager: {
+ type: 1,
+ nextL: '//div[@class="pagebar"]/a[@href and text()=">>"]',
+ pageE: 'css;article.post',
+ replaceE: 'css;.pagebar',
+ scrollD: 3000
+ }
+ }, // 可能吧
ithome: {
host: 'www.ithome.com',
pager: {
@@ -4929,7 +4970,7 @@ function: {
insStyle: '.pager-wrap {display: none !important;}',
pager: {
type: 1,
- nextL: () => getNextU('page=', /page=\d+/),
+ nextL: () => getNextUP('page=', /page=\d+/),
pageE: 'css;#res_list > div',
scrollD: 2000
}
@@ -5036,7 +5077,7 @@ function: {
}},
pager: {
type: 1,
- nextL: () => getNextU('currentPage=', /currentPage=\d+/, '/page', '2', getCSS('ul.pager').dataset.totalpage),
+ nextL: () => getNextUP('currentPage=', /currentPage=\d+/, '/page', '2', getCSS('ul.pager').dataset.totalpage),
pageE: 'css;.document-piece',
replaceE: 'css;ul.pager',
scrollD: 1000
@@ -5045,7 +5086,7 @@ function: {
bookmarkearth_search: {
pager: {
type: 1,
- nextL: () => getNextP('css;a.cut-page-item.active+a.cut-page-item', 'currentPage=', /currentPage=\d+/),
+ nextL: () => getNextEP('css;a.cut-page-item.active+a.cut-page-item', 'currentPage=', /currentPage=\d+/),
pageE: 'css;.document-piece',
replaceE: 'css;.cut-page',
scrollD: 1000
@@ -6948,43 +6989,29 @@ function: {
// 遍历判断是否是某个已支持的网站,顺便直接赋值
let support = false;
end:
- for (let now in DBSite) { // 遍历对象
+ for (let now in DBSite) { // 遍历 对象
if (!DBSite[now].host) continue; // 如果不存在则继续下一个循环
- if (Array.isArray(DBSite[now].host)) { // 如果是数组
- for (let i of DBSite[now].host) { // 遍历数组
- if (i === location.hostname) { // 如果找到匹配的
+ // 如果是 数组
+ if (Array.isArray(DBSite[now].host)) {
+
+ for (let i of DBSite[now].host) { // 遍历 数组
+ if ((i instanceof RegExp && i.test(location.hostname)) || (typeof i === 'string' && i === location.hostname)) {
if (self != top) {if (!DBSite[now].iframe) break end;} // 如果当前位于 iframe 框架下,就需要判断是否需要继续执行
- if (DBSite[now].functionS) {
- DBSite[now].functionS();
- } else {
- curSite = DBSite[now];
- }
+ if (DBSite[now].functionS) { DBSite[now].functionS(); } else { curSite = DBSite[now]; }
support = true; break; // 如果找到了就退出循环
}
}
- } else if (DBSite[now].host instanceof RegExp) { // 如果是正则表达式
- if (DBSite[now].host.test(location.hostname)) { // 如果找到匹配的
- if (self != top) {if (!DBSite[now].iframe) break;} // 如果当前位于 iframe 框架下,就需要判断是否需要继续执行
- if (DBSite[now].functionS) {
- DBSite[now].functionS();
- } else {
- curSite = DBSite[now];
- }
- support = true; break; // 如果找到了就退出循环
- }
- } else if (DBSite[now].host === location.hostname) { // 如果是普通字符串(找到匹配的)
+ // 如果是 正则
+ } else if ((DBSite[now].host instanceof RegExp && DBSite[now].host.test(location.hostname)) || (typeof DBSite[now].host === 'string' && DBSite[now].host === location.hostname)) {
if (self != top) {if (!DBSite[now].iframe) break;} // 如果当前位于 iframe 框架下,就需要判断是否需要继续执行
- if (DBSite[now].functionS) {
- DBSite[now].functionS();
- } else {
- curSite = DBSite[now];
- }
+ if (DBSite[now].functionS) { DBSite[now].functionS(); } else { curSite = DBSite[now]; }
support = true; break; // 如果找到了就退出循环
}
+
}
if (support) {
@@ -7283,10 +7310,25 @@ function: {
});
return pageElems
}
- // 通用型获取下一页地址(URL 替换 page= 参数)
- function getNextP(css, pf, reg) {
- let nextNum = getOne(css);
- var url = '';
+
+ // 通用型获取下一页地址(从 元素 中获取页码)
+ function getNextE(css) {
+ if (!css) css = curSite.pager.nextL;
+ let next = getOne(css)
+ if (next && next.nodeType === 1 && next.href && next.href.slice(0,4) === 'http' && next.href != curSite.pageUrl) {
+ if (curSite.pager.forceHTTPS && location.protocol === 'https:') {
+ curSite.pageUrl = next.href.replace(/^http:/,'https:');
+ } else {
+ curSite.pageUrl = next.href;
+ }
+ //console.log(curSite.pageUrl)
+ return true
+ }
+ return false
+ }
+ // 通用型获取下一页地址(从 元素 中获取页码,URL 替换 page= 参数)
+ function getNextEP(css, pf, reg) {
+ let nextNum = getOne(css), url = '';
if (nextNum && nextNum.textContent) {
nextNum = nextNum.textContent.replaceAll(' ','');
if (location.search) {
@@ -7302,8 +7344,49 @@ function: {
}
return url
}
+ // 通用型获取下一页地址(从 元素 中获取页码,URL 替换 pathname 路径)
+ function getNextEPN(css, reg, a, b = '') {
+ let nextNum = getOne(css), url = '';
+ if (nextNum && nextNum.textContent) {
+ nextNum = nextNum.textContent.replaceAll(' ','');
+ if (location.pathname) {
+ if (indexOF(reg)) {
+ url = location.pathname.replace(reg, a + nextNum + b);
+ } else {
+ url = location.pathname + a + nextNum + b;
+ }
+ } else {
+ url = location.pathname + a + nextNum + b;
+ }
+ url = location.origin + url;
+ }
+ return url
+ }
+ // 通用型获取下一页地址(从 URL 中获取页码,URL 替换 pathname 路径)
+ function getNextUPN(reg1, reg, a, b = '', initP = '2', endP) {
+ let nextNum = reg1.exec(location.pathname);
+ if (nextNum) {
+ nextNum = String(parseInt(nextNum[0])+1);
+ if (endP && (parseInt(nextNum[0]) > parseInt(endP))) return ''
+ } else {
+ nextNum = initP;
+ if (endP && (parseInt(nextNum[0]) >= parseInt(endP))) return ''
+ }
+ let url = '';
+ if (location.pathname) {
+ if (indexOF(reg)) {
+ url = location.pathname.replace(reg, a + nextNum + b);
+ } else {
+ url = location.pathname + a + nextNum + b;
+ }
+ } else {
+ url = location.pathname + a + nextNum + b;
+ }
+ url = location.origin + url;
+ return url
+ }
// 通用型获取下一页地址(从 URL 中获取页码,URL 替换 page= 参数)
- function getNextU(pf, reg, lp = location.pathname, initP = '2', endP) {
+ function getNextUP(pf, reg, lp = location.pathname, initP = '2', endP) {
let nextNum = getSearch(pf.replace('=',''));
if (nextNum) {
nextNum = String(parseInt(nextNum)+1);
@@ -7312,7 +7395,7 @@ function: {
nextNum = initP;
if (endP && (parseInt(nextNum) >= parseInt(endP))) return ''
}
- var url = '';
+ let url = '';
if (location.search) {
if (indexOF(pf, 's')) {
url = location.search.replace(reg, pf + nextNum);
@@ -7325,21 +7408,7 @@ function: {
url = location.origin + lp + url;
return url
}
- // 通用型获取下一页地址(直接从元素获取)
- function getNextE(css) {
- if (!css) css = curSite.pager.nextL;
- let next = getOne(css)
- if (next && next.nodeType === 1 && next.href && next.href.slice(0,4) === 'http' && next.href != curSite.pageUrl) {
- if (curSite.pager.forceHTTPS && location.protocol === 'https:') {
- curSite.pageUrl = next.href.replace(/^http:/,'https:');
- } else {
- curSite.pageUrl = next.href;
- }
- //console.log(curSite.pageUrl)
- return true
- }
- return false
- }
+
// 检查 URL
function checkURL(func) {
if (typeof curSite.pager.nextL == 'function') {
From bbb410ebd59f963ab8d129019ce78e342f12d028 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sat, 5 Feb 2022 12:55:07 +0800
Subject: [PATCH 0033/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E7=BD=AE?=
=?UTF-8?q?=E9=A1=B6=E6=98=BE=E7=A4=BA=E6=97=B6=E9=97=B4]=20=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD=20(=E7=9F=AD=E5=9B=9E=E7=AD=94=E5=88=99=E4=B8=8D?=
=?UTF-8?q?=E5=86=8D=E4=BF=9D=E7=95=99=E5=9B=9E=E7=AD=94=E5=BA=95=E9=83=A8?=
=?UTF-8?q?=E6=97=B6=E9=97=B4)?=
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 1893c6f8f..f50c9559b 100644
--- a/Zhihu-Enhanced.user.js
+++ b/Zhihu-Enhanced.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 知乎增强
-// @version 1.9.6
+// @version 1.9.7
// @author X.I.U
// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起当前回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
// @match *://www.zhihu.com/*
@@ -1292,6 +1292,8 @@ function topTime_publishTop(t, _this, _class) {
if (!t.parentNode.classList.contains(_class)) {
let temp_time = t.cloneNode(true);
temp_time.style.padding = '0px';
+ // 对于较短的回答,隐藏回答底部的时间
+ if (_this.offsetHeight < 400) t.style.display = 'none';
_this.querySelector('.' + _class).insertAdjacentElement('beforeEnd', temp_time);
}
}
From 0d19fbeaa7eca3383d43e1ee7e111851f9416170 Mon Sep 17 00:00:00 2001
From: Lemonawa <69106050+Lemonawa@users.noreply.github.com>
Date: Sat, 5 Feb 2022 17:04:08 +0800
Subject: [PATCH 0034/1482] Update GithubEnhanced-High-Speed-Download.user.js
(#169)
---
GithubEnhanced-High-Speed-Download.user.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index fe28f417e..f3bc59408 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -64,7 +64,7 @@
['https://cdn.staticaly.com/gh','日本 2', '注意:
- 该加速是全球 Anycast CDN,国内一般分配到日本节点。'],
['https://raw.fastgit.org','日本 3', '注意:
- 单个文件太大时可能会提示超时(实时获取中),请重试。'],
['https://cdn.jsdelivr.net/gh','美国', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
- ['https://gcore.jsdelivr.net/gh','俄罗斯', '适用于 [电信用户],特别是北方。
注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。']
+ ['https://gcore.jsdelivr.net/gh','香港', '适用于 [移动用户]
注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。']
],
svg = [
'',
From dbf9c36b0cf0022f2cbdf6498ba26074cab35b80 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sat, 5 Feb 2022 17:08:31 +0800
Subject: [PATCH 0035/1482] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E5=8A=A0?=
=?UTF-8?q?=E9=80=9F=E6=BA=90=20Tips?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index f3bc59408..7295023a5 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
-// @version 1.7.9
+// @version 1.8.0
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -64,7 +64,7 @@
['https://cdn.staticaly.com/gh','日本 2', '注意:
- 该加速是全球 Anycast CDN,国内一般分配到日本节点。'],
['https://raw.fastgit.org','日本 3', '注意:
- 单个文件太大时可能会提示超时(实时获取中),请重试。'],
['https://cdn.jsdelivr.net/gh','美国', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
- ['https://gcore.jsdelivr.net/gh','香港', '适用于 [移动用户]
注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。']
+ ['https://gcore.jsdelivr.net/gh','香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。
注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。']
],
svg = [
'',
From 5484f86767a0c08b3d68b7433de53c1e1bec0166 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 6 Feb 2022 09:38:44 +0800
Subject: [PATCH 0036/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?=
=?UTF-8?q?=E9=80=9F=E6=BA=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index 7295023a5..3b7bb2ab6 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
-// @version 1.8.0
+// @version 1.8.1
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -38,10 +38,11 @@
}
const download_url = [
['https://pd.zwc365.com/seturl/https://github.com', '美国 1'],
- ['https://gh.xiu2.xyz/https://github.com', '美国 2'],
+ ['https://gh.xiu.workers.dev/https://github.com', '美国 2'],
['https://gh.api.99988866.xyz/https://github.com', '美国 3'],
['https://github.rc1844.workers.dev', '美国 4'],
- ['https://git.yumenaka.net/https://github.com', '美国 5'],
+ ['https://gh.feizhuqwq.com/https://github.com', '美国 5'],
+ ['https://git.yumenaka.net/https://github.com', '美国 6'],
['https://download.fastgit.org', '日本'],
['https://ghproxy.com/https://github.com', '韩国']
//['https://ghproxy.fsou.cc/https://github.com', '香港']
From 71671ee8ded9a0e9f885575e119e0965b67e9aae Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 6 Feb 2022 14:05:03 +0800
Subject: [PATCH 0037/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Steam=20?=
=?UTF-8?q?=E7=A4=BE=E5=8C=BA=20-=20=E6=B4=BB=E5=8A=A8=E8=AF=84=E8=AE=BA]?=
=?UTF-8?q?=20=E6=94=AF=E6=8C=81;=20=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 | 273 +++++++++++++++++++++++++----------------------
1 file changed, 147 insertions(+), 126 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index dfb0df9c1..1396d2e9b 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.6.5
+// @version 4.6.6
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
@@ -80,9 +80,9 @@
functionS: 匹配该网站域名时要执行的函数(一般用于根据 URL 分配相应翻页规则)
locationC: 对于使用 pjax 技术的网站,需要监听 URL 变化来重新判断翻页规则(需要放在 functionS 中)
- insStyle: 要插入网页的 CSS Style 样式
hiddenPN: 不显示脚本左下角的页码
history: 添加历史记录 并 修改当前 URL(默认开启,对于不支持的网站要设置为 false)
+ style: 要插入网页的 CSS Style 样式
retry: 允许获取失败后重试
pager: {
@@ -104,7 +104,7 @@ pager: {
insertE: 用来插入元素的函数
5 = 插入 iframe 方式来加载下一页,无限套娃(适用于:部分动态加载内容的网站,需要允许 iframe 且支持通过 GET/POST 直接打开下一页)
- insStyle: 加载 iframe 前要插入的 CSS Style 样式(比如为了悬浮的样式与下一页的重叠,隐藏网页底部间距提高阅读连续性)
+ style: 加载 iframe 前要插入的 CSS Style 样式(比如为了悬浮的样式与下一页的重叠,隐藏网页底部间距提高阅读连续性)
iframe: 这个必须加到 pager{} 外面(这样才会在该域名的 iframe 框架下运行脚本)
forceTarget: 强制新标签页打开链接(适用于一些使用 pjax 技术的链接)
@@ -173,7 +173,7 @@ function: {
}
}, // Discuz! 论坛 - 图片模式的帖子列表(不带无缝加载下一页按钮的)
discuz_thread: {
- insStyle: '.pgbtn {display: none;}',
+ style: '.pgbtn {display: none;}',
pager: {
type: 1,
nextL: 'css;a.nxt:not([href^="javascript"]) ,a.next:not([href^="javascript"])',
@@ -366,7 +366,7 @@ function: {
}, // WordPress 的 Begin 主题 - 搜索页
biquge: {
functionS: function() {if (indexOF(/\d+\/\d+\.html/)) {curSite = DBSite.biquge;}},
- insStyle: 'img, .posterror {display: none !important;}',
+ style: 'img, .posterror {display: none !important;}',
pager: {
type: 1,
nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页")]',
@@ -380,7 +380,7 @@ function: {
baidu: {
host: 'www.baidu.com',
functionS: function() {locationC = true; if (lp == '/s') {curSite = DBSite.baidu;} else if (location.pathname.slice(location.pathname.length - 2,location.pathname.length) == '/s') {location.hostname = 'm.baidu.com';}},
- insStyle: '.new-pmd .c-img-border {position: initial !important;} .op-bk-polysemy-video__wrap.c-gap-bottom {display: none !important;}',
+ style: '.new-pmd .c-img-border {position: initial !important;} .op-bk-polysemy-video__wrap.c-gap-bottom {display: none !important;}',
pager: {
type: 1,
nextL: 'id("page")//a[contains(text(),"下一页")]',
@@ -392,7 +392,7 @@ function: {
baidu_m: {
host: 'm.baidu.com',
functionS: function() {if (location.pathname.slice(location.pathname.length - 2,location.pathname.length) == '/s') curSite = DBSite.baidu_m;},
- insStyle: 'div.result[tpl="recommend_list"], #page-copyright {display: none !important;}',
+ style: 'div.result[tpl="recommend_list"], #page-copyright {display: none !important;}',
pager: {
type: 1,
nextL: 'css;a[class^="new-nextpage"]',
@@ -429,7 +429,7 @@ function: {
} else if (lp == '/academic/search') {
curSite = DBSite.bing_academic;
}},
- insStyle: '.b_imagePair.square_mp > .inner {display: none !important;}',
+ style: '.b_imagePair.square_mp > .inner {display: none !important;}',
pager: {
type: 1,
nextL: 'css;a.sb_pagN, a.sb_halfnext, a.sb_fullnpl',
@@ -601,7 +601,7 @@ function: {
ask: {
host: ['ask.com', 'www.ask.com'],
functionS: function() {if (lp == '/web') {curSite = DBSite.ask;}},
- insStyle: '.PartialSearchResults-heading {display: none !important;}',
+ style: '.PartialSearchResults-heading {display: none !important;}',
pager: {
type: 1,
nextL: 'css;li.PartialWebPagination-next > a',
@@ -649,7 +649,7 @@ function: {
} else if (lp == '/f/search/res') {
curSite = DBSite.baidu_tieba_search;
}},
- insStyle: 'img.j_retract {margin-top: 0 !important;margin-bottom: 0 !important;}', // 修复帖子列表中预览图片,在切换下一个/上一个图片时,多出来的图片上下边距
+ style: 'img.j_retract {margin-top: 0 !important;margin-bottom: 0 !important;}', // 修复帖子列表中预览图片,在切换下一个/上一个图片时,多出来的图片上下边距
history: false,
iframe: true,
pager: {
@@ -669,11 +669,11 @@ function: {
}, // 百度贴吧 - 帖子列表
baidu_tieba_post: {
forceTarget: true,
- insStyle: '.d_sign_split, img.j_user_sign, .d_author .d_pb_icons, .save_face_bg, .save_face_bg_2, li.d_name a.icon_tbworld, .lzl_cnt a.icon_tbworld, .topic_list_box.topic-fixed {display: none !important;} a.p_author_face.j_frame_guide {background: none repeat scroll 0 0 #FFF !important;border: 1px solid #CCC !important;padding: inherit !important;} .red_text, .red-text, .vip_red, .vip-red, .vip_red:hover, .vip-red:hover, .vip_red:visited, .vip-red:visited {color: #2d64b3 !important;}', // 签名、印记、头像边框、VIP 元素
+ style: '.d_sign_split, img.j_user_sign, .d_author .d_pb_icons, .save_face_bg, .save_face_bg_2, li.d_name a.icon_tbworld, .lzl_cnt a.icon_tbworld, .topic_list_box.topic-fixed {display: none !important;} a.p_author_face.j_frame_guide {background: none repeat scroll 0 0 #FFF !important;border: 1px solid #CCC !important;padding: inherit !important;} .red_text, .red-text, .vip_red, .vip-red, .vip_red:hover, .vip-red:hover, .vip_red:visited, .vip-red:visited {color: #2d64b3 !important;}', // 签名、印记、头像边框、VIP 元素
pager: {
type: 5,
nextL: '//li[contains(@class,"pb_list_pager")]/a[text()="下一页"]',
- insStyle: 'ul.tbui_aside_float_bar, .core_title_wrap_bright.tbui_follow_fixed.core_title_absolute_bright {display: none !important;}',
+ style: 'ul.tbui_aside_float_bar, .core_title_wrap_bright.tbui_follow_fixed.core_title_absolute_bright {display: none !important;}',
scrollD: 1500
}
}, // 百度贴吧 - 帖子内
@@ -973,7 +973,7 @@ function: {
} else {
curSite = DBSite.jandan_comment;
}},
- insStyle: '#nav_prev, #nav_next, .post.f:not(.list-post) {display: none !important;}',
+ style: '#nav_prev, #nav_next, .post.f:not(.list-post) {display: none !important;}',
history: false,
pager: {
type: 1,
@@ -988,7 +988,7 @@ function: {
}
}, // 煎蛋网
jandan_comment: {
- insStyle: '#nav_prev, #nav_next {display: none !important;}',
+ style: '#nav_prev, #nav_next {display: none !important;}',
pager: {
type: 1,
nextL: 'css;a.previous-comment-page',
@@ -1177,7 +1177,7 @@ function: {
} else if (lp == '/facade.php') {
curSite = DBSite.libaclub_search;
}},
- insStyle: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}',
+ style: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}',
pager: {
type: 1,
nextL: '//div[@class="ui-crumbs-more"]/a[@class="fn-link"][1]',
@@ -1187,7 +1187,7 @@ function: {
}
}, // 篱笆网论坛
libaclub_f: {
- insStyle: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}',
+ style: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}',
pager: {
type: 1,
nextL: 'css;a.ui-paging-next',
@@ -1197,7 +1197,7 @@ function: {
}
}, // 篱笆网论坛 - 各版块帖子列表
libaclub_t: {
- insStyle: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}',
+ style: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}',
pager: {
type: 1,
nextL: 'css;a.ui-paging-next',
@@ -1208,7 +1208,7 @@ function: {
}
}, // 篱笆网论坛 - 帖子内
libaclub_prt: {
- insStyle: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}',
+ style: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}',
pager: {
type: 1,
nextL: 'css;a.ui-paging-next',
@@ -1218,7 +1218,7 @@ function: {
}
}, // 篱笆网论坛 - 帖子内 - 打印版
libaclub_search: {
- insStyle: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}',
+ style: 'li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}',
pager: {
type: 1,
nextL: '//div[@class="ui-page"]/a[contains(text(), "下一页")]',
@@ -1384,7 +1384,7 @@ function: {
}
}, // 中国香港社区
discusshk_thread: {
- insStyle: '.viewthread.mt-0:not(:first-of-type) .viewthread__head {display: none !important;}',
+ style: '.viewthread.mt-0:not(:first-of-type) .viewthread__head {display: none !important;}',
pager: {
type: 1,
nextL: 'css;.pagination a.next',
@@ -1405,7 +1405,7 @@ function: {
}
}, // TGFC Lifestyle
tgfcer_thread: {
- insStyle: '.viewthread:not(:first-of-type) h1 {display: none !important;}',
+ style: '.viewthread:not(:first-of-type) h1 {display: none !important;}',
pager: {
type: 1,
nextL: 'css;.pages a.next',
@@ -1420,7 +1420,7 @@ function: {
if (lp == '/thread.php' || lp == '/search.php') {
curSite = DBSite.south;
} else if (lp == '/thread_new.php') {
- curSite = DBSite.south; curSite.pager.pageE = 'css;li.dcsns-li'; curSite.pager.scrollD = 2000; curSite.function = {bF: src_bF,pF: [0, 'img[data-original]', 'data-original']}; curSite.insStyle = 'img.lazy {display: inline !important;}';
+ curSite = DBSite.south; curSite.pager.pageE = 'css;li.dcsns-li'; curSite.pager.scrollD = 2000; curSite.function = {bF: src_bF,pF: [0, 'img[data-original]', 'data-original']}; curSite.style = 'img.lazy {display: inline !important;}';
} else if (GM_getValue('menu_thread') && lp == '/read.php') {
curSite = DBSite.south; curSite.pager.pageE = 'css;form[name=delatc] > *:not(input)';
} else if (lp == '/u.php' && (indexOF('action-topic-', 's') || indexOF('action-post-', 's'))) {
@@ -1503,7 +1503,7 @@ function: {
}
},
forceTarget: true,
- insStyle: 'ul[class*="-1 "] > li {display: inline !important;} #root{margin-bottom: -175px;} ul > li > button[class^="sc-"], a[href^="/premium/lead/lp"] {display: none !important;}',
+ style: 'ul[class*="-1 "] > li {display: inline !important;} #root{margin-bottom: -175px;} ul > li > button[class^="sc-"], a[href^="/premium/lead/lp"] {display: none !important;}',
iframe: true,
pager: {
type: 5,
@@ -1516,7 +1516,7 @@ function: {
}, // Pixiv - 分类页
pixiv_user: {
forceTarget: true,
- insStyle: 'ul[class*="-1 "] > li {display: inline !important;} #root{margin-bottom: -125px;} ul > li > button[class^="sc-"][style="background-color: rgb(0, 0, 0);"], a[href^="/premium/lead/lp"] {display: none !important;}',
+ style: 'ul[class*="-1 "] > li {display: inline !important;} #root{margin-bottom: -125px;} ul > li > button[class^="sc-"][style="background-color: rgb(0, 0, 0);"], a[href^="/premium/lead/lp"] {display: none !important;}',
pager: {
type: 5,
nextL: 'css;a[aria-disabled="false"][class*="filterProps-Styled-Component"][href]:last-child',
@@ -1559,7 +1559,7 @@ function: {
} else if (indexOF('/c/')) {
curSite = DBSite._58pic_c;
}},
- insStyle: '.qtw-card.place-box, .card-lazy, .is-line .is-back {display: none !important;}',
+ style: '.qtw-card.place-box, .card-lazy, .is-line .is-back {display: none !important;}',
pager: {
type: 1,
nextL: '//div[contains(@class,"page-box")]//a[text()="下一页"]',
@@ -1587,7 +1587,7 @@ function: {
}, // 千图网 - 专题/收藏夹
_588ku: {
host: '588ku.com',
- insStyle: '.listlogin-box.listloginBox, .CLdialogV1, .editIndexEntry, .globalRSideB {display: none !important;}',
+ style: '.listlogin-box.listloginBox, .CLdialogV1, .editIndexEntry, .globalRSideB {display: none !important;}',
pager: {
type: 1,
nextL: '//ul[contains(@class, "page-list")]//a[text()="下一页"]',
@@ -1603,7 +1603,7 @@ function: {
}, // 千库网
nipic: {
host: ['www.nipic.com', 'soso.nipic.com'],
- insStyle: 'li.search-works-item {display: none !important;}',
+ style: 'li.search-works-item {display: none !important;}',
pager: {
type: 1,
nextL: '//a[@title="下一页" or text()="下一页"][not(contains(@class, "search-works-nextpage"))]',
@@ -1634,7 +1634,7 @@ function: {
ooopic: {
host: ['www.ooopic.com', 'so.ooopic.com', 'weili.ooopic.com'],
functionS: function() {if (lp != '/' && !indexOF('/weili_')) {curSite = DBSite.ooopic;}},
- insStyle: '.overWidth.clearfix.masonry {height: auto !important;} .pic-list, .video-list {position: relative !important;float: left !important;top: auto !important;left: auto !important;}',
+ style: '.overWidth.clearfix.masonry {height: auto !important;} .pic-list, .video-list {position: relative !important;float: left !important;top: auto !important;left: auto !important;}',
pager: {
type: 1,
nextL: 'css;a.next_page, a.so-next',
@@ -1650,7 +1650,7 @@ function: {
ibaotu: {
host: 'ibaotu.com',
functionS: function() {if (lp != '/' && !indexOF('/sucai/')) {curSite = DBSite.ibaotu;if (indexOF('/yinxiao') || indexOF('/peiyue')) {curSite.pager.pageE = 'css;ul.media-list-ul > li[pr-data-title]'} else if (indexOF('/font/')) {curSite.pager.pageE = 'css;.baotufonts-list > a'}}},
- insStyle: '.searchAdver {display: none !important;}',
+ style: '.searchAdver {display: none !important;}',
pager: {
type: 1,
nextL: 'css;a.next',
@@ -1726,7 +1726,7 @@ function: {
host: 'www.iconfont.cn',
functionS: function() {locationC = true; if (indexOF('/search/')) curSite = DBSite.iconfont;},
forceTarget: true,
- insStyle: '.footer, header .bind-tips, .block-pagination-wrap {display: none !important;}',
+ style: '.footer, header .bind-tips, .block-pagination-wrap {display: none !important;}',
iframe: true,
pager: {
type: 5,
@@ -1838,7 +1838,7 @@ function: {
xiadele: {
host: ['www.xiadele.com', 'search.xiadele.com'],
functionS: function() {if (location.pathname != '/') {curSite = DBSite.xiadele;}},
- insStyle: '.last-li-carousel-img {display: none !important;}',
+ style: '.last-li-carousel-img {display: none !important;}',
pager: {
type: 1,
nextL: 'css;li.next_page a[rel="next"]',
@@ -1957,7 +1957,7 @@ function: {
}, // 游侠网 - 分类页
ali213_gl: {
host: 'gl.ali213.net',
- insStyle: '.n_show_b {display: none !important;}',
+ style: '.n_show_b {display: none !important;}',
pager: {
type: 3,
nextL: 'css;a.next',
@@ -1970,7 +1970,7 @@ function: {
}, // 游侠网 - 攻略
ali213_pic: {
host: 'pic.ali213.net',
- insStyle: 'a.prev, a.next {display: none !important;}',
+ style: 'a.prev, a.next {display: none !important;}',
pager: {
type: 1,
nextL: 'css;a.next',
@@ -2031,18 +2031,29 @@ function: {
scrollD: 2500
}
}, // CurseForge
- steamcommunity: {
+ steamcommunity_workshop: {
host: 'steamcommunity.com',
- functionS: function() {if (indexOF('/workshop/browse')) {curSite = DBSite.steamcommunity;}},
+ functionS: function() {if (indexOF('/workshop/browse')) {curSite = DBSite.steamcommunity_workshop;} else if (indexOF(/eventcomments\/\d/)) {curSite = DBSite.steamcommunity_eventcomments;}},
pager: {
type: 1,
- nextL: '//a[@class="pagebtn"][last()]',
+ nextL: '//a[@class="pagebtn" and text()=">"]',
pageE: 'css;.workshopBrowseItems > *',
replaceE: 'css;.workshopBrowsePaging',
scriptT: 2,
scrollD: 1500
}
- }, // Steam 创意工坊 - 项目列表
+ }, // Steam 创意工坊 - 项目列表
+ steamcommunity_eventcomments: {
+ style: '.forum_paging_controls {display: none !important;}',
+ pager: {
+ type: 1,
+ nextL: () => getNextUP('ctp=', /ctp=\d+/, location.pathname, '2', getCSS('span.commentthread_pagelinks > a:last-child').textContent),
+ pageE: 'css;.commentthread_comments > .commentthread_comment',
+ replaceE: 'css;.forum_paging .forum_paging_summary',
+ scriptT: 1,
+ scrollD: 1500
+ }
+ }, // Steam 社区 - 活动评论
yikm: {
host: 'www.yikm.net',
pager: {
@@ -2105,7 +2116,7 @@ function: {
}, // cs.rin.ru - 搜索页
crackhub: {
host: 'crackhub.site',
- insStyle: 'html.wp-dark-mode-active .inside-article {background-color: var(--wp-dark-mode-bg);}',
+ style: 'html.wp-dark-mode-active .inside-article {background-color: var(--wp-dark-mode-bg);}',
pager: {
type: 1,
nextL: 'css;a.next.page-numbers',
@@ -2213,7 +2224,7 @@ function: {
zxzj: {
host: ['www.zxzj.me', 'www.zxzj.fun'],
functionS: function() {if (location.pathname != '/' && !indexOF('/detail/') && !indexOF('/video/')) {curSite = DBSite.zxzj;}},
- insStyle: 'div.stui-page__all {display: none !important;}',
+ style: 'div.stui-page__all {display: none !important;}',
pager: {
type: 1,
nextL: '//ul[contains(@class, "stui-page__item")]//a[text()="下一页"]',
@@ -2491,7 +2502,7 @@ function: {
}, // Anime1 - 搜索页
yinfans: {
host: /www\.yinfans\./,
- insStyle: '#post_container {height: auto !important;} #post_container > li {position: static !important; float: left !important; height: 620px !important;}',
+ style: '#post_container {height: auto !important;} #post_container > li {position: static !important; float: left !important; height: 620px !important;}',
pager: {
type: 1,
nextL: 'css;a.next',
@@ -2657,10 +2668,21 @@ function: {
scrollD: 900
}
}, // SkrBT
+ _1337x: {
+ host: /1337x\./,
+ functionS: function() {if (indexOF('search/')) {curSite = DBSite._1337x;}},
+ pager: {
+ type: 1,
+ nextL: '//div[@class="pagination"]//a[text()=">>"]',
+ pageE: 'css;table.table-list > tbody > tr',
+ replaceE: 'css;.pagination',
+ scrollD: 1200
+ }
+ }, // 1337x
rarbg: {
host: /rarbg/,
functionS: function() {if (lp == '/torrents.php') {curSite = DBSite.rarbg; rarbg_bF(getAllCSS('table.lista2t tr.lista2'));}},
- insStyle: 'html::-webkit-scrollbar {height: 0 !important;}',
+ style: 'html::-webkit-scrollbar {height: 0 !important;}',
pager: {
type: 1,
nextL: 'css;#pager_links > a[title="next page"]',
@@ -2672,17 +2694,6 @@ function: {
bF: rarbg_bF
}
}, // RARBG
- _1337x: {
- host: /1337x\./,
- functionS: function() {if (indexOF('search/')) {curSite = DBSite._1337x;}},
- pager: {
- type: 1,
- nextL: '//div[@class="pagination"]//a[text()=">>"]',
- pageE: 'css;table.table-list > tbody > tr',
- replaceE: 'css;.pagination',
- scrollD: 1200
- }
- }, // 1337x
/*thepiratebay: {
host: 'thepiratebay.org',
functionS: function() {if (lp == '/search.php') {curSite = DBSite.thepiratebay;}},
@@ -2733,7 +2744,7 @@ function: {
curSite = DBSite.bthaha;
getAllCSS('[id^="list_top"], [id^="list_bottom"]').forEach(function (one) {one.parentElement.parentElement.hidden = true;});
}},
- insStyle: '[id^="list_top"], [id^="list_bottom"] {display: none !important;}',
+ style: '[id^="list_top"], [id^="list_bottom"] {display: none !important;}',
pager: {
type: 1,
nextL: '//ul[@class="pagination"]/li/a[contains(text(), "下一页")]',
@@ -2823,7 +2834,7 @@ function: {
} else if (indexOF('/category/') || indexOF('/search')) {
curSite = DBSite.haoman_list;
}},
- insStyle: '.rd-guess, .rd-aside, .page-index__btn {display: none !important;} .rd-article__pic {display: initial !important;} .rd-article__pic > img {margin: 0 auto;display: block;height: auto;min-height: 200px;}',
+ style: '.rd-guess, .rd-aside, .page-index__btn {display: none !important;} .rd-article__pic {display: initial !important;} .rd-article__pic > img {margin: 0 auto;display: block;height: auto;min-height: 200px;}',
pager: {
type: 1,
nextL: function() {if (getCSS('a.rd-aside__item.j-rd-next')) return location.origin + getCSS('a.rd-aside__item.j-rd-next').getAttribute('_href')},
@@ -2858,7 +2869,7 @@ function: {
} else if (location.pathname != '/') {
curSite = DBSite.cartoonmad_list;
}},
- insStyle: 'body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:not(:first-child) {display: none !important;} body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:first-child img {max-width: 100%;height: auto;display: block !important;margin: 0 auto !important;}',
+ style: 'body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:not(:first-child) {display: none !important;} body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:first-child img {max-width: 100%;height: auto;display: block !important;margin: 0 auto !important;}',
pager: {
type: 1,
nextL: cartoonmad_nextL,
@@ -2886,7 +2897,7 @@ function: {
} else if (indexOF('/manhua/')) {
curSite = DBSite.dongman_list;
}},
- insStyle: 'button.prePic, button.nextPic, footer, header, #left-drawer {display: none !important;} body, #app {padding: 0 !important;} .slick-track {width: 100% !important;} .lazyBox {width: 100%; display: inline-block;}',
+ style: 'button.prePic, button.nextPic, footer, header, #left-drawer {display: none !important;} body, #app {padding: 0 !important;} .slick-track {width: 100% !important;} .lazyBox {width: 100%; display: inline-block;}',
pager: {
type: 1,
nextL: '//footer//a[./label[text()="下一章"]]',
@@ -2923,7 +2934,7 @@ function: {
} else if (indexOF('/search') || indexOF('/update')) {
curSite = DBSite.manhuacat_search;
}},
- insStyle: '#left, #right, #pull-load, .loading, .pagination, footer {display: none !important;} .img-content > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏不需要的元素,调整图片
+ style: '#left, #right, #pull-load, .loading, .pagination, footer {display: none !important;} .img-content > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏不需要的元素,调整图片
pager: {
type: 4,
nextL: manhuacat_nextL,
@@ -3026,7 +3037,7 @@ function: {
curSite = DBSite.imanhuaw; imanhuaw_init();
}
},
- insStyle: '#sider-left, #sider-right, .main-left, .main-right, .w996.tc, .title > span {display: none !important;}',
+ style: '#sider-left, #sider-right, .main-left, .main-right, .w996.tc, .title > span {display: none !important;}',
pager: {
type: 4,
nextL: imanhuaw_nextL,
@@ -3056,7 +3067,7 @@ function: {
} else if (indexOF('list/') || indexOF('/s/')) {
curSite = DBSite.manhuagui_list;
}},
- insStyle: '.sub-btn, .tc {display: none !important;} #mangaBox > img {width: auto !important;height: auto !important;display: block !important;margin: 0 auto !important;max-width: 100% !important;}',
+ style: '.sub-btn, .tc {display: none !important;} #mangaBox > img {width: auto !important;height: auto !important;display: block !important;margin: 0 auto !important;max-width: 100% !important;}',
pager: {
type: 4,
nextL: manhuagui_nextL,
@@ -3093,7 +3104,7 @@ function: {
} else if (indexOF('/search') || indexOF('/update')) {
curSite = DBSite.manhuacat_search;
}},
- insStyle: '.row.m-0.pt-3.ad_2_wrap, .row.m-0.ad_1_wrap, .pagination.justify-content-center, #left, #right {display: none !important;}',
+ style: '.row.m-0.pt-3.ad_2_wrap, .row.m-0.ad_1_wrap, .pagination.justify-content-center, #left, #right {display: none !important;}',
pager: {
type: 4,
nextL: manhuadb_nextL,
@@ -3110,7 +3121,7 @@ function: {
setTimeout(hicomic_init, 100);
curSite = DBSite.hicomic;
}},
- insStyle: '.content {height: auto !important;} .footer, .left_cursor, .right_cursor, .finish {display: none !important;} .content > img {display: block !important;margin: 0 auto !important;}',
+ style: '.content {height: auto !important;} .footer, .left_cursor, .right_cursor, .finish {display: none !important;} .content > img {display: block !important;margin: 0 auto !important;}',
pager: {
type: 4,
nextL: hicomic_nextL,
@@ -3134,7 +3145,7 @@ function: {
} else if (indexOF('/rank')) {
curSite = DBSite.dmzj_rank;
}},
- insStyle: 'p.mh_curr_page, .btmBtnBox, .float_code, #floatCode {display: none !important;} .comic_wraCon > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏中间的页数信息
+ style: 'p.mh_curr_page, .btmBtnBox, .float_code, #floatCode {display: none !important;} .comic_wraCon > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏中间的页数信息
pager: {
type: 4,
nextL: 'css;span.next > a',
@@ -3146,7 +3157,7 @@ function: {
}
}, // 动漫之家 - 原创
dmzj_list: {
- insStyle: '.wrap_mhlist_l.con_left, .wrap_list {height: auto!important;}',
+ style: '.wrap_mhlist_l.con_left, .wrap_list {height: auto!important;}',
pager: {
type: 1,
nextL: 'css;a.pg_next',
@@ -3156,7 +3167,7 @@ function: {
}
}, // 动漫之家 - 原创 - 分类页
dmzj_rank: {
- insStyle: '.wrap_mhlist_l.con_left {height: auto!important;}',
+ style: '.wrap_mhlist_l.con_left {height: auto!important;}',
pager: {
type: 1,
nextL: 'css;a.pg_next',
@@ -3172,10 +3183,12 @@ function: {
if (chapterScroll && chapterScroll.textContent === '切换到上下滚动阅读') {chapterScroll.click();}
setTimeout(function() {dmzj_init('#center_box > .inner_img img[src]')}, 100);
curSite = DBSite.dmzj_manhua;
+ } else if (indexOF('/tags/')) {
+ curSite = DBSite.dmzj_manhua_list;
} else if (indexOF('/update')) {
curSite = DBSite.dmzj_manhua_update;
}},
- insStyle: 'p.curr_page, .btmBtnBox, .float_code, #floatCode {display: none !important;} #center_box > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏中间的页数信息
+ style: 'p.curr_page, .btmBtnBox, .float_code, #floatCode {display: none !important;} #center_box > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}', // 隐藏中间的页数信息
pager: {
type: 4,
nextL: 'css;#next_chapter',
@@ -3186,6 +3199,14 @@ function: {
scrollD: 3000
}
}, // 动漫之家 - 日漫
+ dmzj_manhua_list: {
+ pager: {
+ type: 1,
+ nextL: () => getNextUPN(/(?<=-)\d+(?=\.shtml)/, /-\d+\.shtml/, '-', '.shtml', '2', getCSS('#topage > option:last-child').value),
+ pageE: 'css;#search_list_div ul',
+ scrollD: 1500
+ }
+ }, // 蓝点网
dmzj_manhua_update: {
pager: {
type: 1,
@@ -3205,7 +3226,7 @@ function: {
curSite = DBSite.acgn_list;
}
},
- insStyle: '.img1 {cursor: initial !important;}',
+ style: '.img1 {cursor: initial !important;}',
pager: {
type: 1,
nextL: 'css;#next_chapter',
@@ -3240,7 +3261,7 @@ function: {
} else if (indexOF('/list') || indexOF('/search')) {
curSite = DBSite.ykmh_list;
}},
- insStyle: 'p.img_info {display: none !important;} #images > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}',
+ style: 'p.img_info {display: none !important;} #images > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}',
pager: {
type: 4,
nextL: ykmh_nextL,
@@ -3267,12 +3288,12 @@ function: {
} else if (indexOF('/comics')) {
curSite = DBSite.copymanga_list;
}},
- insStyle: '.upMember, .comicContainerAds, .footer {display: none !important;} body, html {height: auto !important;}',
+ style: '.upMember, .comicContainerAds, .footer {display: none !important;} body, html {height: auto !important;}',
iframe: true,
pager: {
type: 5,
nextL: 'css;.comicContent-next > a',
- insStyle: 'h4.header, h4.header +div[style*="fixed"] {display: none !important;}',
+ style: 'h4.header, h4.header +div[style*="fixed"] {display: none !important;}',
scrollD: 3000
}
}, // 拷贝漫画
@@ -3298,7 +3319,7 @@ function: {
} else if (indexOF(/\/(sort|rank)\//)) { // 分类页
curSite = DBSite.mhxqiu_list;
}},
- insStyle: '.imgFloat_1, .imgFloat_2, .main_control, span.comic-ft {display: none !important;} html, body, #mainView {height: auto !important;} body.view .main ul.comic-contain li{margin:0 auto !important;} .comic-contain .loaded{box-shadow: none !important;}',
+ style: '.imgFloat_1, .imgFloat_2, .main_control, span.comic-ft {display: none !important;} html, body, #mainView {height: auto !important;} body.view .main ul.comic-contain li{margin:0 auto !important;} .comic-contain .loaded{box-shadow: none !important;}',
pager: {
type: 4,
nextL: 'css;#mainControlNext',
@@ -3321,7 +3342,7 @@ function: {
fffdm: {
host: 'manhua.fffdm.com',
functionS: function() {if (location.pathname.split('/').length === 4) {curSite = DBSite.fffdm;}},
- insStyle: '#footer, #header {display: none !important;} #mhimg0 img {display: block !important;margin: 0 auto !important;}',
+ style: '#footer, #header {display: none !important;} #mhimg0 img {display: block !important;margin: 0 auto !important;}',
pager: {
type: 4,
nextL: '//a[contains(text(), "下一页") or contains(text(), "下一頁") or contains(text(), "下一话") or contains(text(), "下一話")]',
@@ -3339,7 +3360,7 @@ function: {
} else if (indexOF('/comic/')) {
if (getCSS('#button_show_all_chatper')) getCSS('#button_show_all_chatper').click();
}},
- insStyle: '#footer, #header {display: none !important;} .header, .bottom-bar {opacity: 0.3;}',
+ style: '#footer, #header {display: none !important;} .header, .bottom-bar {opacity: 0.3;}',
pager: {
type: 1,
nextL: 'css;.next_chapter > a',
@@ -3358,7 +3379,7 @@ function: {
} else {
curSite = DBSite.leyuman_list;
}},
- insStyle: '.mh_select, .mh_comicpic > p, mh_headpager {display: none !important;} .mh_comicpic > img{width: 100% !important; height: auto !important;}',
+ style: '.mh_select, .mh_comicpic > p, mh_headpager {display: none !important;} .mh_comicpic > img{width: 100% !important; height: auto !important;}',
pager: {
type: 4,
nextL: 'css;#xurl',
@@ -3392,7 +3413,7 @@ function: {
} else {
curSite = DBSite._77mh_list;
}},
- insStyle: '.page_num, #bdtopbot {display: none !important;} #comicImg > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}',
+ style: '.page_num, #bdtopbot {display: none !important;} #comicImg > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}',
pager: {
type: 4,
nextL: _77mh_nextL,
@@ -3430,7 +3451,7 @@ function: {
} else if (indexOF(/\/(update|list|search)/)) {
curSite = DBSite.gufengmh_list;
}},
- insStyle: 'p.img_info {display: none !important;}', // 隐藏中间的页数信息
+ style: 'p.img_info {display: none !important;}', // 隐藏中间的页数信息
pager: {
type: 4,
nextL: gufengmh_nextL,
@@ -3460,7 +3481,7 @@ function: {
} else if (lp == '/szcbolist' || lp == '/update') {
curSite = DBSite.szcdmj_list;
}},
- insStyle: '.header {opacity: 0.3 !important;}',
+ style: '.header {opacity: 0.3 !important;}',
pager: {
type: 1,
nextL: '//div[@class="fanye"][1]/a[@href][text()="下一页" or text()="下一话"]',
@@ -3493,7 +3514,7 @@ function: {
} else if (indexOF('/manga-list') || lp == '/search') {
curSite = DBSite.mangabz_list;
}},
- insStyle: 'body > .container > div:not([id]) {display: none !important;} .top-bar {opacity: 0.3 !important;} #cp_img > img{display: block !important;margin: 0 auto !important;width: auto !important; height: auto !important;}',
+ style: 'body > .container > div:not([id]) {display: none !important;} .top-bar {opacity: 0.3 !important;} #cp_img > img{display: block !important;margin: 0 auto !important;width: auto !important; height: auto !important;}',
hiddenPN: true,
pager: {
type: 4,
@@ -3524,7 +3545,7 @@ function: {
} else if (indexOF('/manga-list') || lp == '/search') {
curSite = DBSite.xmanhua_list;
}},
- insStyle: 'a.reader-bottom-page {display: none !important;} .header, .reader-bottom {opacity: 0.3 !important;} #cp_img > img{display: block !important;margin: 0 auto !important;width: auto !important; height: auto !important;}',
+ style: 'a.reader-bottom-page {display: none !important;} .header, .reader-bottom {opacity: 0.3 !important;} #cp_img > img{display: block !important;margin: 0 auto !important;width: auto !important; height: auto !important;}',
hiddenPN: true,
pager: {
type: 4,
@@ -3561,7 +3582,7 @@ function: {
} else if (lp == '/search') {
curSite = DBSite.cocomanga_search;
}},
- insStyle: '.mh_readend, .mh_footpager, .mh_readmode {display: none !important;} .mh_comicpic img {cursor: unset !important;} .mh_comicpic img {min-height: 150px;}',
+ style: '.mh_readend, .mh_footpager, .mh_readmode {display: none !important;} .mh_comicpic img {cursor: unset !important;} .mh_comicpic img {min-height: 150px;}',
pager: {
type: 4,
nextL: '//a[contains(@class, "read_page_link") and contains(string(), "下一章")][not(contains(@href, "javascript"))]',
@@ -3611,7 +3632,7 @@ function: {
}, // 起点中文
qidian_read: {
host: 'read.qidian.com',
- insStyle: '.admire-wrap {display: none !important;}',
+ style: '.admire-wrap {display: none !important;}',
pager: {
type: 1,
nextL: 'css;a[id$="chapterNext"]',
@@ -3651,7 +3672,7 @@ function: {
} else if (indexOF('/all')) {
curSite = DBSite.yushubo_all;
}},
- insStyle: '.readbg.mt10 {display: none !important;}',
+ style: '.readbg.mt10 {display: none !important;}',
pager: {
type: 1,
nextL: '//div[contains(@class, "articlebtn")]/a[contains(text(), "下一页") or contains(text(), "下一章")]',
@@ -3683,7 +3704,7 @@ function: {
soxscc: {
host: 'www.soxscc.org',
functionS: function() {if (indexOF(/\/\d{4,}\.html/)) {curSite = DBSite.soxscc;}},
- insStyle: '.content > p, img {display: none !important;}',
+ style: '.content > p, img {display: none !important;}',
pager: {
type: 1,
nextL: '//font[contains(text(), "下一章")]/following-sibling::a[1]',
@@ -3697,7 +3718,7 @@ function: {
ihuaben: {
host: 'www.ihuaben.com',
functionS: function() {if (indexOF(/\/\d{4,}\.html/)) {curSite = DBSite.ihuaben;}},
- insStyle: '.discription > p > i, img, #container, #BDBannerBottom_PC, iframe, .navFooter {display: none !important;} .discription > p {font-size: 16px; min-height: 24px; padding-bottom: 24px;}',
+ style: '.discription > p > i, img, #container, #BDBannerBottom_PC, iframe, .navFooter {display: none !important;} .discription > p {font-size: 16px; min-height: 24px; padding-bottom: 24px;}',
pager: {
type: 1,
nextL: 'id("preAndNextBar")/a[contains(text(), "下一章")]',
@@ -3750,7 +3771,7 @@ function: {
xiaoshuo77: {
host: 'm.xiaoshuo77.net',
functionS: function() {if (indexOF('.html')) {curSite = DBSite.xiaoshuo77; xs_bF(getAllCSS('#novelcontent'), [/(
)?( )+内容未完,下一页.*$|【本章阅读.*$/, '
']);}},
- insStyle: '#novelcontent > p, img {display: none !important;}',
+ style: '#novelcontent > p, img {display: none !important;}',
pager: {
type: 1,
nextL: 'css;.page_chapter a.p4',
@@ -3859,7 +3880,7 @@ function: {
} else if (indexOF('/wenku/') || indexOF('/sa/')) {
curSite = DBSite.linovelib_w_wenku;
}},
- insStyle: 'body {min-height: 1000px;}',
+ style: 'body {min-height: 1000px;}',
pager: {
type: 1,
nextL: function() {if (ReadParams) {return (location.origin + ReadParams.url_next)}; return ''},
@@ -4275,7 +4296,7 @@ function: {
sciencedirect: {
host: 'www.sciencedirect.com',
functionS: function() {locationC = true; if (lp == '/search') {curSite = DBSite.sciencedirect; setTimeout(function(){insStyle('html, body {height: ' + (document.documentElement.scrollHeight || document.body.scrollHeight) + 'px;}')}, 2000)}},
- insStyle: 'footer {display: none !important;}',
+ style: 'footer {display: none !important;}',
iframe: true,
pager: {
type: 5,
@@ -4368,7 +4389,7 @@ function: {
}
}, // 谷歌学术 - 其他镜像站
bing_academic: {
- insStyle: 'li.aca_algo_count {display: none !important;}',
+ style: 'li.aca_algo_count {display: none !important;}',
pager: {
type: 1,
nextL: 'css;a.sb_pagN',
@@ -4425,7 +4446,7 @@ function: {
wanfangdata: {
host: 's.wanfangdata.com.cn',
functionS: function() {locationC = true; curSite = DBSite.wanfangdata;},
- insStyle: '#zkFooter {display: none !important;}',
+ style: '#zkFooter {display: none !important;}',
iframe: true,
pager: {
type: 5,
@@ -4436,7 +4457,7 @@ function: {
nsfc: {
host: ['output.nsfc.gov.cn', 'kd.nsfc.gov.cn'],
functionS: function() {if (indexOF('/conclusionProject/')) curSite = DBSite.nsfc;},
- insStyle: '#pageNoUl {display: none !important;}',
+ style: '#pageNoUl {display: none !important;}',
pager: {
type: 4,
nextL: nsfc_nextL,
@@ -4448,7 +4469,7 @@ function: {
coolkeyan: {
host: 'www.coolkeyan.com',
functionS: function() {if (location.hash.indexOf('/project/') > -1) curSite = DBSite.coolkeyan;},
- insStyle: '.q-img {height: auto !important;} .q-img__image {max-height: 1000px !important;} .row.q-my-sm.q-gutter-sm {display: none !important;}',
+ style: '.q-img {height: auto !important;} .q-img__image {max-height: 1000px !important;} .row.q-my-sm.q-gutter-sm {display: none !important;}',
pager: {
type: 4,
nextL: coolkeyan_nextL,
@@ -4531,7 +4552,7 @@ function: {
w3school_com_cn: {
host: 'www.w3school.com.cn',
functionS: function() {if (location.pathname.split('/').length > 2) {curSite = DBSite.w3school_com_cn;}},
- insStyle: '#maincontent h1:not(:nth-of-type(1)) {margin-top: 30px;}',
+ style: '#maincontent h1:not(:nth-of-type(1)) {margin-top: 30px;}',
pager: {
type: 3,
nextL: function() { // 过滤部分非本页的参考手册
@@ -4550,7 +4571,7 @@ function: {
w3cschool_cn: {
host: 'www.w3cschool.cn',
functionS: function() {if (location.pathname.split('/').length > 2) {curSite = DBSite.w3cschool_cn;}},
- insStyle: '.widget-body, #rfbanner {display: none !important;}',
+ style: '.widget-body, #rfbanner {display: none !important;}',
pager: {
type: 1,
nextL: 'css;.next-link > a',
@@ -4562,7 +4583,7 @@ function: {
runoob: {
host: 'www.runoob.com',
functionS: function() {if (location.pathname.split('/').length > 2 && getCSS('#leftcolumn')) {curSite = DBSite.runoob;}},
- insStyle: '#comments, #postcomments, #respond, #footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;}',
+ style: '#comments, #postcomments, #respond, #footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;}',
pager: {
type: 1,
nextL: function() { // 过滤部分非本页的参考手册
@@ -4839,7 +4860,7 @@ function: {
}, // Github - Search 列表 - user
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;}',
+ style: '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',
@@ -4858,19 +4879,10 @@ function: {
scrollD: 1500
}
}, // 果壳网
- expreview: {
- host: 'www.expreview.com',
- pager: {
- type: 2,
- nextL: 'css;#show_article_red_1SHOW',
- interval: 1500,
- scrollD: 1500
- }
- }, // 超能网
landian: {
host: 'www.landian.vip',
functionS: function() {if (lp != '/' && !indexOF('/archives/') && !indexOF('/search/')) {curSite = DBSite.landian;}},
- insStyle: '.pagination {display: none !important;}',
+ style: '.pagination {display: none !important;}',
pager: {
type: 1,
nextL: () => getNextUPN(/(?<=\/page\/)\d+/, /\/page\/\d+/, '/page/', '', '2', getCSS('.pagination > button.end').textContent),
@@ -4888,7 +4900,16 @@ function: {
replaceE: 'css;.pagebar',
scrollD: 3000
}
- }, // 可能吧
+ }, // 可能吧
+ expreview: {
+ host: 'www.expreview.com',
+ pager: {
+ type: 2,
+ nextL: 'css;#show_article_red_1SHOW',
+ interval: 1500,
+ scrollD: 1500
+ }
+ }, // 超能网
ithome: {
host: 'www.ithome.com',
pager: {
@@ -4967,7 +4988,7 @@ function: {
alipanso: {
host: 'www.alipanso.com',
functionS: function() {if (lp == '/search.html') {curSite = DBSite.alipanso;}},
- insStyle: '.pager-wrap {display: none !important;}',
+ style: '.pager-wrap {display: none !important;}',
pager: {
type: 1,
nextL: () => getNextUP('page=', /page=\d+/),
@@ -5205,7 +5226,7 @@ function: {
}, // 立创开源硬件平台
netbian: {
host: 'pic.netbian.com',
- insStyle: 'li.nextpage {display: none !important;}',
+ style: 'li.nextpage {display: none !important;}',
pager: {
type: 1,
nextL: '//div[@class="page"]/a[contains(text(),"下一页")]',
@@ -5217,7 +5238,7 @@ function: {
ioliu: {
host: 'bing.ioliu.cn',
functionS: function() {if (!indexOF('/photo/') && !indexOF('.html')) {curSite = DBSite.ioliu; document.head.appendChild(document.createElement('base')).target = '_blank';}},
- insStyle: '.progressive--not-loaded {filter: none !important;}',
+ style: '.progressive--not-loaded {filter: none !important;}',
pager: {
type: 1,
nextL: '//div[@class="page"]/a[contains(text(), "下一页")]',
@@ -5229,7 +5250,7 @@ function: {
konachan: {
host: 'konachan.net',
functionS: function() {if (indexOF('/post')) {curSite = DBSite.konachan; document.head.appendChild(document.createElement('base')).target = '_blank';}},
- insStyle: 'html, body {min-height: 1000px;} .javascript-hide {display: inline-block !important;} ul#post-list-posts img, ul#post-list-posts .inner{width: auto !important; height: auto !important;} ul#post-list-posts li {width: 33% !important;} a.directlink {margin: 0 !important;}',
+ style: 'html, body {min-height: 1000px;} .javascript-hide {display: inline-block !important;} ul#post-list-posts img, ul#post-list-posts .inner{width: auto !important; height: auto !important;} ul#post-list-posts li {width: 33% !important;} a.directlink {margin: 0 !important;}',
pager: {
type: 1,
nextL: 'css;a.next_page',
@@ -5260,7 +5281,7 @@ function: {
}, // 壁纸
xinpianchang: {
host: 'www.xinpianchang.com',
- insStyle: '.lazy-img {opacity: 1 !important;}',
+ style: '.lazy-img {opacity: 1 !important;}',
pager: {
type: 1,
nextL: 'css;.page > a[title="下一页"]',
@@ -5282,7 +5303,7 @@ function: {
} else if (location.pathname != '/' && !indexOF('/search/')) {
curSite = DBSite.tujigu_list;
}},
- insStyle: '.content img {display: block !important;}',
+ style: '.content img {display: block !important;}',
pager: {
type: 1,
nextL: 'id("pages")/a[contains(text(), "下一页")]',
@@ -5388,7 +5409,7 @@ function: {
tvv: {
host: /\.tvv\.tw/,
functionS: function() {if (lp == '/' || indexOF('/page/') || indexOF('/category/')) {curSite = DBSite.tvv;}},
- insStyle: '.blog-masonry, .blog-masonry-4col {height: auto !important;} .blog-listing {position: relative !important;float: left !important;top: auto !important;left: auto !important;} .blog-title > a {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .blog-image img {min-height: 300px;}',
+ style: '.blog-masonry, .blog-masonry-4col {height: auto !important;} .blog-listing {position: relative !important;float: left !important;top: auto !important;left: auto !important;} .blog-title > a {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .blog-image img {min-height: 300px;}',
pager: {
type: 1,
nextL: 'css;a.next',
@@ -5524,7 +5545,7 @@ function: {
}
}, // fnvshen - 图片页
fnvshen_list: {
- insStyle: '.yalayi_box {display: none !important; margin: -4px 0 !important;}',
+ style: '.yalayi_box {display: none !important; margin: -4px 0 !important;}',
pager: {
type: 1,
nextL: '//div[@class="pagesYY"]//a[contains(text(), "下一页")]',
@@ -5594,7 +5615,7 @@ function: {
jpmn8: {
host: 'www.jpmn8.com',
functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.jpmn8;} else if (location.pathname != '/') {curSite = DBSite.jpmn8_list;}},
- insStyle: 'img[onload] {min-height: 500px;}',
+ style: 'img[onload] {min-height: 500px;}',
pager: {
type: 1,
nextL: '//div[@class="pagination1"]//a[text()="下一页"]',
@@ -5615,7 +5636,7 @@ function: {
ku66: {
host: 'www.ku66.net',
functionS: function() {if (/\/\d+\.html/.test(location.pathname)) {curSite = DBSite.ku66;} else {curSite = DBSite.ku66_list;}},
- insStyle: '.content img {min-height: 500px;}',
+ style: '.content img {min-height: 500px;}',
pager: {
type: 1,
nextL: '//div[@class="NewPages"]//a[text()="下一页"]',
@@ -5638,7 +5659,7 @@ function: {
ku66_m: {
host: 'm.ku66.net',
functionS: function() {if (/\/\d+\.html/.test(location.pathname)) {curSite = DBSite.ku66_m;} else {curSite = DBSite.ku66_m_list;}},
- insStyle: '.ArticleImageBox img {min-height: 200px;}',
+ style: '.ArticleImageBox img {min-height: 200px;}',
pager: {
type: 1,
nextL: '//div[@class="article_page"]//a[text()="下一页"]',
@@ -5659,7 +5680,7 @@ function: {
ku137: {
host: 'www.ku137.net',
functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.ku137;} else if (location.pathname != '/') {curSite = DBSite.ku137_list;}},
- insStyle: '.Title9, .dibu1, .dibu2 {display: none !important;} .content img {min-height: 500px;}',
+ style: '.Title9, .dibu1, .dibu2 {display: none !important;} .content img {min-height: 500px;}',
pager: {
type: 1,
nextL: '//div[@class="page"]/a[text()="下一页"]',
@@ -5680,7 +5701,7 @@ function: {
ku137_m: {
host: 'm.ku137.net',
functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.ku137_m;} else if (location.pathname != '/') {curSite = DBSite.ku137_m_list;}},
- insStyle: '.ArticleImageBox img {min-height: 300px;}',
+ style: '.ArticleImageBox img {min-height: 300px;}',
pager: {
type: 1,
nextL: '//div[@class="article_page"]//a[text()="下一页"]',
@@ -5701,7 +5722,7 @@ function: {
mnttz: {
host: 'www.mnttz.com',
functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.mnttz;} else {curSite = DBSite.mnttz_list;}},
- insStyle: 'img.content_img {min-height: 500px;}',
+ style: 'img.content_img {min-height: 500px;}',
pager: {
type: 1,
nextL: 'css;.article-paging > span+a',
@@ -5726,7 +5747,7 @@ function: {
kingdom: {
host: /kingdom-en\.com/,
functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.kingdom;} else {curSite = DBSite.kingdom_list;}},
- insStyle: '.pic_center img {min-height: 300px;} .arcmain > .title, .footer, .index-list-title, .listmain_st {display: none !important;}',
+ style: '.pic_center img {min-height: 300px;} .arcmain > .title, .footer, .index-list-title, .listmain_st {display: none !important;}',
pager: {
type: 1,
nextL: '//a[@class="page_next"] | //div[@class="article_page"]//a[text()="下一页"]',
@@ -5747,7 +5768,7 @@ function: {
kissgoddess: {
host: /kissgoddess\./,
functionS: function() {if (indexOF('/album/') || indexOF('/category/')) curSite = DBSite.kissgoddess;},
- insStyle: '.td-gallery-content > img {min-height: 300px;}',
+ style: '.td-gallery-content > img {min-height: 300px;}',
pager: {
type: 1,
nextL: 'css;a.a1:last-of-type',
@@ -5763,7 +5784,7 @@ function: {
planetminecraft: {
host: 'www.planetminecraft.com',
functionS: function() {if (!indexOF('/forums/') && !indexOF('/posts/')) {curSite = DBSite.planetminecraft;}},
- insStyle: '.resource .r-preview>a img[loading=lazy]:not(.lazyloaded) {visibility: initial !important;}',
+ style: '.resource .r-preview>a img[loading=lazy]:not(.lazyloaded) {visibility: initial !important;}',
pager: {
type: 1,
nextL: 'css;a.pagination_next',
@@ -5895,7 +5916,7 @@ function: {
nowLocation = location.href; curSite = {SiteTypeID: 0}; pageNum.now = 1; // 重置规则+页码
registerMenuCommand(); // 重新判断规则
//console.log(curSite);
- if (curSite.insStyle) {insStyle(curSite.insStyle)} // 插入 Style CSS 样式
+ if (curSite.style) {insStyle(curSite.style)} // 插入 Style CSS 样式
curSite.pageUrl = ''; // 下一页URL
pageLoading(); // 自动无缝翻页
@@ -5908,7 +5929,7 @@ function: {
if (nowLocation == location.href) return
nowLocation = location.href; curSite = {SiteTypeID: 0}; pageNum.now = 1; // 重置规则+页码
DBSite.flarum.functionS(); // 重新判断规则
- if (curSite.insStyle) {insStyle(curSite.insStyle)} // 插入 Style CSS 样式
+ if (curSite.style) {insStyle(curSite.style)} // 插入 Style CSS 样式
pageLoading(); // 自动无缝翻页
if (GM_getValue('menu_page_number')) {pageNumber('add');} else {pageNumber('set');} // 显示页码
@@ -5917,7 +5938,7 @@ function: {
}
}
// 插入 Style CSS 样式
- if (curSite.insStyle) insStyle(curSite.insStyle)
+ if (curSite.style) insStyle(curSite.style)
// 对翻页模式 5 的子 iframe 添加一个跟随滚动的事件
if (curSite.pager && curSite.pager.type === 5 && self != top) {
@@ -7134,7 +7155,7 @@ function: {
if (delta > 0 && scrollTop + clientHeight + 10 >= scrollHeight && !getCSS('#xiu-scroll')) {
let newStyle = document.createElement('style'); newStyle.id = 'xiu-scroll';
newStyle.textContent = 'html::-webkit-scrollbar, body::-webkit-scrollbar {width: 0 !important;height: 0 !important;} html, body {scrollbar-width: none !important;}';
- if (curSite.pager.insStyle) newStyle.textContent += curSite.pager.insStyle;
+ if (curSite.pager.style) newStyle.textContent += curSite.pager.style;
document.documentElement.appendChild(newStyle);
iframe.focus();
iframe.document.body.focus();
From d3ecd7f8d9841205930bb1a9727b66c566b64cc0 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 7 Feb 2022 13:57:51 +0800
Subject: [PATCH 0038/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?=
=?UTF-8?q?=E9=80=9F=E6=BA=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index 3b7bb2ab6..13855a5b4 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name Github 增强 - 高速下载
-// @version 1.8.1
+// @version 1.8.2
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @match *://github.com/*
@@ -41,7 +41,7 @@
['https://gh.xiu.workers.dev/https://github.com', '美国 2'],
['https://gh.api.99988866.xyz/https://github.com', '美国 3'],
['https://github.rc1844.workers.dev', '美国 4'],
- ['https://gh.feizhuqwq.com/https://github.com', '美国 5'],
+ ['https://ghgo.feizhuqwq.workers.dev/https://github.com', '美国 5'],
['https://git.yumenaka.net/https://github.com', '美国 6'],
['https://download.fastgit.org', '日本'],
['https://ghproxy.com/https://github.com', '韩国']
From 9ac8926a471c846c9a45d91a9545b00dcc295223 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 7 Feb 2022 20:03:11 +0800
Subject: [PATCH 0039/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 1396d2e9b..d78f2623a 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -2,7 +2,7 @@
// @name 自动无缝翻页
// @version 4.6.6
// @author X.I.U
-// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
+// @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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 *://*/*
// @connect www.ykmh.com
// @connect www.xuexiniu.com
From 9b08febbed8dfc1579231e094214d1c903ec95d4 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Tue, 8 Feb 2022 09:26:41 +0800
Subject: [PATCH 0040/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=96=87?=
=?UTF-8?q?=E5=AD=97=E7=BB=86=E8=8A=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Zhihu-Enhanced.user.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js
index f50c9559b..c0982b77e 100644
--- a/Zhihu-Enhanced.user.js
+++ b/Zhihu-Enhanced.user.js
@@ -1,8 +1,8 @@
// ==UserScript==
// @name 知乎增强
-// @version 1.9.7
+// @version 1.9.8
// @author X.I.U
-// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起当前回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
+// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
// @match *://www.zhihu.com/*
// @match *://zhuanlan.zhihu.com/*
// @icon https://static.zhihu.com/heifetz/favicon.ico
@@ -27,7 +27,7 @@
var menu_ALL = [
['menu_defaultCollapsedAnswer', '默认收起回答', '默认收起回答', true],
['menu_collapsedAnswer', '一键收起回答', '一键收起回答', true],
- ['menu_collapsedNowAnswer', '收起当前回答/评论 (点击两侧空白处)', '收起当前回答/评论', true],
+ ['menu_collapsedNowAnswer', '快捷收起回答/评论 (点击两侧空白处)', '快捷收起回答/评论', true],
['menu_backToTop', '快捷回到顶部 (右键两侧空白处)', '快捷回到顶部', true],
['menu_blockUsers', '屏蔽指定用户', '屏蔽指定用户', true],
['menu_customBlockUsers', '自定义屏蔽用户', '自定义屏蔽用户', ['故事档案局', '盐选推荐', '盐选科普', '盐选成长计划', '知乎盐选会员', '知乎盐选创作者', '盐选心理', '盐选健康必修课', '盐选奇妙物语', '盐选生活馆', '盐选职场', '盐选文学甄选', '盐选作者小管家', '盐选博物馆', '盐选点金', '盐选测评室', '盐选科技前沿', '盐选会员精品']],
From 142bce4b673ff98547bbd3ce058ca49848904411 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Tue, 8 Feb 2022 09:28:48 +0800
Subject: [PATCH 0041/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=96=87?=
=?UTF-8?q?=E5=AD=97=E7=BB=86=E8=8A=82?=
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 c0982b77e..e4af27e21 100644
--- a/Zhihu-Enhanced.user.js
+++ b/Zhihu-Enhanced.user.js
@@ -2,7 +2,7 @@
// @name 知乎增强
// @version 1.9.8
// @author X.I.U
-// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧空白处)、快捷回到顶部(右键两侧空白处)、屏蔽用户 (发布的内容)、屏蔽关键词(标题/评论)、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
+// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
// @match *://www.zhihu.com/*
// @match *://zhuanlan.zhihu.com/*
// @icon https://static.zhihu.com/heifetz/favicon.ico
From 0d6661101376b8bc169413403289221e82261e4f Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Tue, 8 Feb 2022 09:55:12 +0800
Subject: [PATCH 0042/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=85=B6?=
=?UTF-8?q?=E4=BB=96=E8=AF=AD=E8=A8=80=20description?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Autopage.user.js b/Autopage.user.js
index d78f2623a..50e98911c 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,8 +1,14 @@
// ==UserScript==
// @name 自动无缝翻页
+// @name:en AutoPager
+// @name:zh 自动无缝翻页
+// @name:zh-TW 自動無縫翻頁
// @version 4.6.6
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
+// @description:en Seamlessly stitch next page content (waterfall)
+// @description:zh 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
+// @description:zh-TW 無縫拼接下一頁內容(瀑布流,追求小而精)
// @match *://*/*
// @connect www.ykmh.com
// @connect www.xuexiniu.com
From f30be176f4c9c8bb206f315f7ce2cae175e71392 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Tue, 8 Feb 2022 10:04:15 +0800
Subject: [PATCH 0043/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=85=B6?=
=?UTF-8?q?=E4=BB=96=E8=AF=AD=E8=A8=80=20description?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Autopage.user.js | 4 ++--
DarkMode.user.js | 6 ++++++
GithubEnhanced-High-Speed-Download.user.js | 6 ++++++
Zhihu-Enhanced.user.js | 6 ++++++
4 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 50e98911c..58c0c73b0 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,13 +1,13 @@
// ==UserScript==
// @name 自动无缝翻页
// @name:en AutoPager
-// @name:zh 自动无缝翻页
+// @name:zh-CN 自动无缝翻页
// @name:zh-TW 自動無縫翻頁
// @version 4.6.6
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
// @description:en Seamlessly stitch next page content (waterfall)
-// @description:zh 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
+// @description:zh-CN 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
// @description:zh-TW 無縫拼接下一頁內容(瀑布流,追求小而精)
// @match *://*/*
// @connect www.ykmh.com
diff --git a/DarkMode.user.js b/DarkMode.user.js
index d312b397a..64691e806 100644
--- a/DarkMode.user.js
+++ b/DarkMode.user.js
@@ -1,8 +1,14 @@
// ==UserScript==
// @name 护眼模式
+// @name:en Dark Mode
+// @name:zh-CN 护眼模式
+// @name:zh-TW 護眼模式
// @version 1.3.8
// @author X.I.U
// @description 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式)
+// @description:en Simple and effective network-wide eye protection mode (night mode, dark mode, dark mode)
+// @description:zh-CN 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式)
+// @description:zh-TW 簡單有效的全網通用護眼模式(夜間模式、暗黑模式、深色模式)
// @match *://*/*
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAALfElEQVRYhX2Xe3Bd1XXGf3vvc859X+nq6nUlW5Yly7JlI2xsYzAwtnk4ATpAxkNTHm0mnaTT/gHTTvrIBDLTpp1JUoZppqHQls5AKTR2INOWJJQSXF4x2BhsJCRZ8kuWZckPSVf3/Trn7N3RVTFpQrNn1l97n7O/vda31reWMKMPcmUJA9U8vrwHGdqCHn4HPzePaIxhVSoYbYRXrn7BeMVbCUduF6kVUXHwvQP+6amDaqDnoIompmQytaBnTmB8H5lowrjgFss48SBeI/hUEEZeudLi1ywhJEIJdL6Q8rzal/1a5SGC4XZrYBvWwEZobMdLdH6RH+z/Io1taEeh52fe8tOZbysl/ouWFvANYP7fSz4DgAEBBIL4xiS8ubmnVcTZK68aRK29Dtm8dgnZJydRW+/E2nrnp19nz+7U77+60zt0qMz07J/KxuQTwrIw4rMBCDP6wC+FIIcO34eudDdXf/7jD52Opi772lugY3AZr++hp06gz48j+waRqTWYmVHcS+chEMFeuw1hBzBzY7g/fQE9fmqBYPzBQKrpVa/R4OkCAnXlSvXnX9sIllk220BE4Z8OdHoj54YCK6Od1i2/iUmuRyDRk6NUn3+M0pv/hnf0AE40jEjEqP3oe6Rf/CGOWUTNjFKby2MP7EBtugURFWFxfOhB4+o4yfhrGAdZsxHaqZt6dNce9KXYFSPfGWS68JFqTXSqO7+MCaTqETGTwxSeeoRCOoPT2YUIhFC2jbQF/uwUatU6rPbVUM5T+OfHUO3dWKv6kSsGUIOD6PEPr+fswnanpecFZYVQhFAyjPS9Tj4xw2rcU+pJApEutWsvRjaBW8NUShilkE1JIqlUPfi6VMLNFTBVr+7KYKqJ8uEjlM+dJrR5K0L7eB+9hTd2CFrWYt33h0jH3O5Nj37TBGtgZUBkUN/6q4dQ7UmsnlW450//gU5PPRq460uQXAu+j//i99A/+UdUMoXqbMNkz2OnUkixlF4u9spe/HMTULyEaA7jXkoT2fEbQIXi838DJ4cRDXHkEjc2b0MPHdptZubGpBUbM0UfKQpBRDmKWRSD3tTMk87gddA2WGe4+dkzMD0CyQ5qP/4XVDCAvfkaLMvHamzEClpQzGDF46iuJOH1CaKr2tDZRfzhQ0Ru24NYsYrCM4/jDb+FiHdi3XU/0s3vr7WsGKxcfyPSy+bxi0UqJ8f/IriiE2vrnuWsLefQk8NoO4AMBBB9/XjDI6hQCjdTxq9WCaQ6ULaDFrIeKr3oIlv70Olz2K1xlAVaSUQojD786nKi9e5A3LBHMHn0W+LUUaS1FI9q+iZZWLhHdq/FxFbWSSfsIDIQwVw4g/GK2OuuhloNMzaCaF+DNBJtQfX8LFYigElX0OkQtZKHVy3jqwDlqWncCzPI3nU4t+2FWrH+OLHzHpRl3109memTOhqDi9NfkefHEKvWLTO+VKD68Qf4G27CueFWhJ/Df+0lVFcXJOJYnobm1ZjsJUxuFjyDjK/GNK2gND4ESuDPXcCOSaI7thPqX0ft8OtUn/oTKOQgkET39KJU4RbpZXOtNRW717p+FyRSdYT+v36H4u/fQXbfc3iRDkT3FsTGjWAWEU0OZKfAU9CyEdXVD2lQPduplmo4jkBEbMzK1VgDu5EVTe3gm1RHx6Bcxpz6YLkEO0lMYeFGi6z7eVMqhkT/ZrCb0LNT+NMTRH/nt/BLRdy3X8Nv68Lu6cZEHURjE6K3hirYeLRhDWyA4jxzH40RXJwkeuM29MpN+JcziEsz+Avz6GgcW1pYbUlEQCyHwYpSyxS7rGo+v8man4ZMATrAHf+QSt7FTkWR4QbsjlbIX8IMH0VuuAqj4piGAbhmEPPzI/injnNxMUPuwOtseOIxKKTJ7/8BTBxDdXcjO9sJdTeg01VqH4wg3CDB9bshHMKORbGolVOmeRW09dVdUxkbp3ruNM7GXnS1hK5OYSoSbBDZBcxCBtF3DcUzk6hkhGA0RmtHKx1rOkE04lbzWC1tqMRt1CZHUafPIs8H6/JsNTcgN+9YFq1qgbBUFUvnK9qrVghXCvWN8MBmivueJDtylqaeBKWJaXR4JZEtNyBWrkGt6AJboCZO4J49Rc64xGIhcgtZgm6egKhgtUQQto17WeHOLqCNj5Vowbr7q4j+Lcs1JhhEphcXLTebd0jPwpkx6Lwa++bbCR95ALecp5a6BrvrJoLdHajmMOTnKb3+BrVMntjARpzeFbz8jcfpa22gGm+kMJlm95Zu9M9+iI5G0G3d6EgIUSnjzs/gv/Icgd6rqcvz0IeYWnXc8pEtYnEe8gtXNL7xz74LehHSE3DqNP7EIdx3p5DSh7JNJePiBE/gN3Uz8NWHae5sRJYXqKQvU+raQPg7L6L3/QNMHcfp6EREGjC5LDp9GaOs5VQ/NQI93YctOxFPlwniDh/C3n47JHvrQPTBl3DHjiIDQUQ4jGhOYcqaQFuE0Nl53OnLRHfsZV33KsTxd6GlHeaP477zMl5uAWv7dkyLg6kZREsb+vgCcvPOuoaYuWNQWERs3jAuQ6nooXK6TH566cXnrjQK7uwFaoseWA3oJf2WEhEJUjm/gMgXCfdvQlFFv/R3uCND6FIRv7MfMnOIiaPoI/8NEb2kWAhfoLbdjLr2jmUv/8f+pVbkHRGNnZHum2/udxxtCn4j/vgEIjNTD4O9upfIprUYoxBKo9Z14jumTq7YYD9WayvuR++hs1lkshmha4iuNeDYiIAFMoCevIi+cJHaa29gmvsRTUn0R29g9u1D7bxxv+jrRnpD56cCkdjfV9NzpA+8A5VlLojWAczlGVTAYKXimIU8MlsjtKEXgiF0aRGdm8cEYnXm+O+/gdAGuWsP3shhTHoOEYqCCEF2DsrF5f+e/xiikUldrT6l3z+GevSaTahaZdRY6uFqxRXR1sRyzU/21Gu6OTOMfzmPd6kI8TgiX8B4imouj1QCKmVUNITJ59AnR1F77kH4ZaRnQFroMyeRW3egdt6DwIX391Gshv+4LK2jtcuLqK9t7ALjZXzH1uVM/mb/7BTRnjZEex+idQ2EAnjjR/BdF1PIoV2Bae/F/fh9dL5IYE0XUmpMNo+ev4AINSJWb0UPHa63Z7SvRN3/CHJpFHj2G4iZzAuBbTu+GWpIEGxrQ/3RnlvxG5M4kYa3Lc2u4uyFblnIE+xfAbF2RMtqZGsn/uTYUgHH+dz9eFMnqYx8gO+CEwkjhcDPF/DLHurSaeTm3RiWMsDHeuDrSFvBv3+bi08+N1Vwuj/vZWtu+dwclZlFrESoeZmZysJXoTsCjnVk8dDQBuN+n8RDD9fbcdG7leBX1iOkQjhBOHmQfKGAHW3CS6fR+QClmYuYMyPY265DtPVgtfctiw4V/GcfYfGNQzj3/u4DqlormUoZEQwuc0I//eSnY4G0wPJjmdGhw+mh0fWxNZ0037cXccPd1MXgk+GjNE/tR3+Le+YEyg5TnT6LXlwgcu1u7C99HZlsv3K2+vjvkTs2RvDe3747tm7Dy1SKvzSYPP/MLwxFAkIKEzEye2zswOXX395lJyK0fOFzRHfuglQfqPin59Nn0RNDuJk09vprkd0brmx5H7xCbfgQbrZ83OkfvN1pj0+ZmkBYNhjzCwCeffr/AsBDJyU6kqBwbPzRuTcP/GXV82lYlaJpfQ+BjVdhXX0tNKTAjvzKqKXPTeC++1NKY0c9kVz1SGzb9X8tjIdfzSFCDfUw/noA0scPuxBrwcvmmH3rQIvMm3/y0XdJS4JfIpiIUG9g+wcg6KDnZpGZNDQ0Ii5cSAtlPRHYct13axWvJNwadiiAli4iEP8VAJ89HQtR129TLiG1nos0Nt8dSOi12qi9lRq3utVqT/lirql24hW3vLBQi3d3XUqu73+PZOonBNR/WnbYSMeGTO5/Xf6ZtwDwPwtFRezQVs+sAAAAAElFTkSuQmCC
// @grant GM_registerMenuCommand
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index 13855a5b4..158b0e06b 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -1,8 +1,14 @@
// ==UserScript==
// @name Github 增强 - 高速下载
+// @name:en Github Enhancement - High Speed Download
+// @name:zh-CN Github 增强 - 高速下载
+// @name:zh-TW Github 增強 - 高速下載
// @version 1.8.2
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
+// @description:en High-speed download of Git Clone/SSH, Release, Raw, Code(ZIP) and other files, project list file quick download (☁)
+// @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
+// @description:zh-TW 高速下載 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、項目列表單文件快捷下載 (☁)
// @match *://github.com/*
// @match *://hub.fastgit.org/*
// @icon https://i.loli.net/2021/03/30/ULV9XunaHesqGIR.png
diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js
index e4af27e21..61ff66dca 100644
--- a/Zhihu-Enhanced.user.js
+++ b/Zhihu-Enhanced.user.js
@@ -1,8 +1,14 @@
// ==UserScript==
// @name 知乎增强
+// @name:en Zhihu enhancement
+// @name:zh-CN 知乎增强
+// @name:zh-TW 知乎增強
// @version 1.9.8
// @author X.I.U
// @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
+// @description:en Remove the login popup, block the homepage video, close the answer by default, quickly close the answer/comment (both sides of the left button), quickly return to the top (both sides of the right button), block users, block keywords, remove highlighted links , Shield salt selection, purify title message, expand problem description, display problem author, display time on top, complete problem time, distinguish problem article, direct problem button, default high-definition original image, default off-site direct link
+// @description:zh-CN 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链
+// @description:zh-TW 移除登錄彈窗、屏蔽首頁視頻、默認收起回答、快捷收起回答/評論(左鍵兩側)、快捷回到頂部(右鍵兩側)、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化標題消息、展開問題描述、顯示問題作者、置頂顯示時間、完整問題時間、區分問題文章、直達問題按鈕、默認高清原圖、默認站外直鏈
// @match *://www.zhihu.com/*
// @match *://zhuanlan.zhihu.com/*
// @icon https://static.zhihu.com/heifetz/favicon.ico
From f5d65987802718d858b5659d8caa8fd8c409151e Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Tue, 8 Feb 2022 22:54:06 +0800
Subject: [PATCH 0044/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=96=87?=
=?UTF-8?q?=E5=AD=97=E7=BB=86=E8=8A=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index 158b0e06b..d03133eb9 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -67,11 +67,11 @@
//['https://ghproxy.fsou.cc/https://github.com', '中国香港 1', ''],
//['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '中国香港 2', ''],
['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', ''],
- ['https://fastly.jsdelivr.net/gh','日本 1', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
+ ['https://fastly.jsdelivr.net/gh','日本 1', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 该加速源不支持大小超过 50MB 的文件。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
['https://cdn.staticaly.com/gh','日本 2', '注意:
- 该加速是全球 Anycast CDN,国内一般分配到日本节点。'],
['https://raw.fastgit.org','日本 3', '注意:
- 单个文件太大时可能会提示超时(实时获取中),请重试。'],
['https://cdn.jsdelivr.net/gh','美国', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
- ['https://gcore.jsdelivr.net/gh','香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。
注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。']
+ ['https://gcore.jsdelivr.net/gh','香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。
注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 该加速源不支持大小超过 50MB 的文件。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。']
],
svg = [
'',
From 3df3e3e49cac744b5798160a38e049eadb8d93ba Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 9 Feb 2022 08:45:04 +0800
Subject: [PATCH 0045/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=BA=AF?=
=?UTF-8?q?=E7=BE=8E=E8=8B=B9=E6=9E=9C=E5=9B=AD]=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 | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 58c0c73b0..f6d0e9044 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -3,7 +3,7 @@
// @name:en AutoPager
// @name:zh-CN 自动无缝翻页
// @name:zh-TW 自動無縫翻頁
-// @version 4.6.6
+// @version 4.6.7
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
// @description:en Seamlessly stitch next page content (waterfall)
@@ -1440,17 +1440,33 @@ function: {
scrollD: 1500
}
}, // South Plus (南+)
+ goddessfantasy: {
+ host: 'www.goddessfantasy.net',
+ functionS: function() {
+ if (indexOF('board=', 's')) {
+ curSite = DBSite.goddessfantasy;
+ } else if (indexOF('topic=', 's')) {
+ if (GM_getValue('menu_thread')) curSite = DBSite.goddessfantasy; curSite.pager.pageE = 'css;#quickModForm > *';
+ }},
+ pager: {
+ type: 1,
+ nextL: '//div[contains(@class,"pagelinks")]/a[@class="navPages" and text()="»"]',
+ pageE: 'css;.table_grid > tbody > tr',
+ replaceE: 'css;.pagelinks',
+ scrollD: 1500
+ }
+ }, // 纯美苹果园
adnmb3: {
host: ['adnmb3.com', 'www.tnmb.org'],
functionS: function() {
if (indexOF('/m/f/')) {
curSite = DBSite.adnmb3_mf;
} else if (indexOF('/m/t/')) {
- curSite = DBSite.adnmb3_mt;
+ if (GM_getValue('menu_thread')) curSite = DBSite.adnmb3_mt;
} else if (indexOF(/\/(f|Forum)\//)) {
curSite = DBSite.adnmb3;
} else if (indexOF('/t/')) {
- curSite = DBSite.adnmb3_t;
+ if (GM_getValue('menu_thread')) curSite = DBSite.adnmb3_t;
}},
pager: {
type: 1,
From 3f562484755db37f235ee46da445a06198102521 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Wed, 9 Feb 2022 22:18:28 +0800
Subject: [PATCH 0046/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E7=AC=94?=
=?UTF-8?q?=E8=B6=A3=E9=98=81]=20=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99?=
=?UTF-8?q?=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 | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index f6d0e9044..ea2108166 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -3,7 +3,7 @@
// @name:en AutoPager
// @name:zh-CN 自动无缝翻页
// @name:zh-TW 自動無縫翻頁
-// @version 4.6.7
+// @version 4.6.8
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
// @description:en Seamlessly stitch next page content (waterfall)
@@ -7047,7 +7047,7 @@ function: {
}
}
- // 如果是 正则
+ // 如果是 正则/字符串
} else if ((DBSite[now].host instanceof RegExp && DBSite[now].host.test(location.hostname)) || (typeof DBSite[now].host === 'string' && DBSite[now].host === location.hostname)) {
if (self != top) {if (!DBSite[now].iframe) break;} // 如果当前位于 iframe 框架下,就需要判断是否需要继续执行
@@ -7059,6 +7059,8 @@ function: {
if (support) {
console.info('[自动无缝翻页] - 独立规则 网站'); return 1;
+ } else if (self != top) {
+ return -1;
} else if (getCSS('meta[name="author" i][content*="Discuz!" i], meta[name="generator" i][content*="Discuz!" i], body[id="nv_forum" i][class^="pg_" i][onkeydown*="27"], body[id="nv_search" i][onkeydown*="27"]') || (getCSS('a[href*="www.discuz.net" i]') && getCSS('a[href*="www.discuz.net" i]').textContent.indexOf('Discuz!') > -1) || (getCSS('#ft') && getCSS('#ft').textContent.indexOf('Discuz!') > -1)) {
console.info('[自动无缝翻页] - 论坛'); return 2;
} else if (getCSS('#flarum-loading')) {
@@ -7079,10 +7081,8 @@ function: {
console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 102;
} else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) {
console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 103;
- } else if ((getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"]') || location.hostname.indexOf('biqu') || document.title.indexOf('笔趣阁')) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) {
+ } else if ((getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"]') || location.hostname.indexOf('biqu') > -1 || document.title.indexOf('笔趣阁') > -1) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) {
console.info('[自动无缝翻页] - <笔趣阁> 模板的小说网站'); return 200;
- } else if (self != top) {
- return -1;
}
return 0;
}
From 1d39c32ea239f2f86a47670072a9f12fb4a275cb Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Thu, 10 Feb 2022 17:59:03 +0800
Subject: [PATCH 0047/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[36=20=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 | 68 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/Autopage.user.js b/Autopage.user.js
index ea2108166..2ef092143 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -3115,6 +3115,40 @@ function: {
pF: [0, 'img[data-src]', 'data-src']
}
}, // 漫画台 - 分类/搜索页
+ _36manga: {
+ host: ['36manga.com', 'www.36manga.com', '36manhua.com', 'www.36manhua.com'],
+ functionS: function() {if (indexOF(/\/manhua\/.+\/\d+\.html/)) {
+ if (localStorage.getItem('chapterScroll') != '"pagination"') {
+ localStorage.setItem('chapterScroll', '"pagination"'); location.reload()
+ } else {
+ pausePage = false;
+ setTimeout(_36manga_init, 100);
+ curSite = DBSite._36manga;
+ }
+ } else if (indexOF('list/') || indexOF('/search/')) {
+ curSite = DBSite._36manga_list;
+ }},
+ style: '#sider-left, #sider-right, p.img_info, .tc, .chapter-view + .w996 {display: none !important;} #images > img {width: auto !important;height: auto !important;display: block !important;margin: 0 auto !important;max-width: 100% !important;}',
+ pager: {
+ type: 4,
+ nextL: _36manga_nextL,
+ pageE: '//body/script[contains(text(), "chapterImages")]',
+ insertP: ['css;#images', 3],
+ insertE: _36manga_insertE,
+ replaceE: 'css;.title',
+ interval: 4000,
+ scrollD: 2500
+ }
+ }, // 36漫画
+ _36manga_list: {
+ pager: {
+ type: 1,
+ nextL: 'css;ul.pagination li.next a',
+ pageE: 'css;#contList',
+ replaceE: 'css;ul.pagination',
+ scrollD: 1500
+ }
+ }, // 36漫画 - 分类/搜索页
manhuadb: {
host: 'www.manhuadb.com',
functionS: function() {if (indexOF(/\/manhua\/\d+\/.+\.html/)) {
@@ -6422,6 +6456,40 @@ function: {
}
+ // [36漫画] 初始化(将本话其余图片插入网页中)
+ function _36manga_init() {
+ let _img = '', imgPath = `${SinConf.resHost[0].domain[0]}${chapterPath}`;
+ if (!(chapterImages) || !(imgPath)) return
+ // 遍历图片文件名数组,组合为 img 标签
+ for (let i = 0; i < chapterImages.length; i++) {_img += `
`;}
+ // 插入并覆盖原来的一个图片
+ getOne(curSite.pager.insertP[0]).innerHTML = _img;
+ pausePage = true;
+ }
+ // [36漫画] 获取下一页地址
+ function _36manga_nextL() {
+ if (!nextChapterData.id) return
+ var url = comicUrl + nextChapterData.id + '.html'
+ if (url === curSite.pageUrl) return
+ curSite.pageUrl = url
+ getPageElems_(curSite.pageUrl);
+ }
+ // [36漫画] 插入数据
+ function _36manga_insertE(pageElems, type) {
+ if (!pageElems) return
+ // 插入并执行数据代码
+ insScript(curSite.pager.pageE, document.body, pageElems);
+ let _img = '', imgPath = `${SinConf.resHost[0].domain[0]}${chapterPath}`;
+ if (!(chapterImages) || !(imgPath)) return
+ // 遍历图片文件名数组,组合为 img 标签
+ for (let i = 0; i < chapterImages.length; i++) {_img += `
`;}
+ // 插入并覆盖原来的一个图片
+ getOne(curSite.pager.insertP[0]).insertAdjacentHTML(getAddTo(curSite.pager.insertP[1]), _img);
+ addHistory(pageElems);
+ pageNum.now = pageNum._now + 1
+ }
+
+
// [爱漫画] 初始化(调整本话其余图片)
function imanhuaw_init() {
let _img = '';
From 9a58b66a8ca42db843f049a2484eb8c3afe62f96 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Thu, 10 Feb 2022 21:08:44 +0800
Subject: [PATCH 0048/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=B0=8F?=
=?UTF-8?q?=E6=9C=A8=E8=99=AB]=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 | 44 ++++++++++++++++++++++++++++++--------------
1 file changed, 30 insertions(+), 14 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 2ef092143..44cb0f53d 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -3,7 +3,7 @@
// @name:en AutoPager
// @name:zh-CN 自动无缝翻页
// @name:zh-TW 自動無縫翻頁
-// @version 4.6.8
+// @version 4.6.9
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
// @description:en Seamlessly stitch next page content (waterfall)
@@ -4413,6 +4413,34 @@ function: {
scrollD: 2000
}
}, // 科研通 - 帖子内
+ coolkeyan: {
+ host: 'www.coolkeyan.com',
+ functionS: function() {if (location.hash.indexOf('/project/') > -1) curSite = DBSite.coolkeyan;},
+ style: '.q-img {height: auto !important;} .q-img__image {max-height: 1000px !important;} .row.q-my-sm.q-gutter-sm {display: none !important;}',
+ pager: {
+ type: 4,
+ nextL: coolkeyan_nextL,
+ insertP: ['//div[contains(@class, "q-img__image")][last()]', 4],
+ insertE: coolkeyan_insertE,
+ scrollD: 1500
+ }
+ }, // 酷科研
+ muchong: {
+ host: 'muchong.com',
+ functionS: function() {if (indexOF('/f-') || indexOF('search.php')) {
+ curSite = DBSite.muchong;
+ } else if (indexOF('/t-')) {
+ curSite = DBSite.muchong; curSite.pager.pageE = 'css;#maincontent > table > tbody:not(.header)'; curSite.pager.scrollD = 2000;
+ }},
+ style: 'tr.forum_head {display: none !important;}',
+ pager: {
+ type: 1,
+ nextL: '//div[contains(@class, "xmc_Pages")]//a[text()="下一页"]',
+ pageE: 'css;.forum_body table > tbody',
+ replaceE: 'css;.xmc_Pages',
+ scrollD: 1500
+ }
+ }, // 小木虫
google_scholar: {
host: 'scholar.google.com',
functionS: function() {if (lp == '/scholar') {curSite = DBSite.google_scholar;}},
@@ -4509,7 +4537,7 @@ function: {
nextL: () => getNextEP('css;.pager.active+span.pager', 'p=', /p=\d+/),
scrollD: 2000
}
- }, // 万方数据知识服务平台
+ }, // 万方数据知识服务
nsfc: {
host: ['output.nsfc.gov.cn', 'kd.nsfc.gov.cn'],
functionS: function() {if (indexOF('/conclusionProject/')) curSite = DBSite.nsfc;},
@@ -4522,18 +4550,6 @@ function: {
scrollD: 1500
}
}, // 国家自然科学基金
- coolkeyan: {
- host: 'www.coolkeyan.com',
- functionS: function() {if (location.hash.indexOf('/project/') > -1) curSite = DBSite.coolkeyan;},
- style: '.q-img {height: auto !important;} .q-img__image {max-height: 1000px !important;} .row.q-my-sm.q-gutter-sm {display: none !important;}',
- pager: {
- type: 4,
- nextL: coolkeyan_nextL,
- insertP: ['//div[contains(@class, "q-img__image")][last()]', 4],
- insertE: coolkeyan_insertE,
- scrollD: 1500
- }
- }, // 酷科研
stackoverflow: {
host: 'stackoverflow.com',
functionS: function() {if (indexOF('/questions') && !indexOF(/\/questions\/\d+\//)) {
From 536e73335101b339a5dbc34e2c33973851384fde Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Thu, 10 Feb 2022 21:11:02 +0800
Subject: [PATCH 0049/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=B0=8F?=
=?UTF-8?q?=E6=9C=A8=E8=99=AB]=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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 44cb0f53d..677640164 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -4429,7 +4429,7 @@ function: {
host: 'muchong.com',
functionS: function() {if (indexOF('/f-') || indexOF('search.php')) {
curSite = DBSite.muchong;
- } else if (indexOF('/t-')) {
+ } else if (indexOF('/t-') && GM_getValue('menu_thread')) {
curSite = DBSite.muchong; curSite.pager.pageE = 'css;#maincontent > table > tbody:not(.header)'; curSite.pager.scrollD = 2000;
}},
style: 'tr.forum_head {display: none !important;}',
From 2cf2435953c12e9e71d54becdfaa4df147172a4a Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sat, 12 Feb 2022 14:24:22 +0800
Subject: [PATCH 0050/1482] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?=
=?UTF-8?q?=E9=80=9F=E6=BA=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
GithubEnhanced-High-Speed-Download.user.js | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index d03133eb9..1b4d1e43e 100644
--- a/GithubEnhanced-High-Speed-Download.user.js
+++ b/GithubEnhanced-High-Speed-Download.user.js
@@ -3,7 +3,7 @@
// @name:en Github Enhancement - High Speed Download
// @name:zh-CN Github 增强 - 高速下载
// @name:zh-TW Github 增強 - 高速下載
-// @version 1.8.2
+// @version 1.8.3
// @author X.I.U
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
// @description:en High-speed download of Git Clone/SSH, Release, Raw, Code(ZIP) and other files, project list file quick download (☁)
@@ -67,11 +67,12 @@
//['https://ghproxy.fsou.cc/https://github.com', '中国香港 1', ''],
//['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '中国香港 2', ''],
['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', ''],
- ['https://fastly.jsdelivr.net/gh','日本 1', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 该加速源不支持大小超过 50MB 的文件。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
+ ['https://fastly.jsdelivr.net/gh','日本 1', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 该加速源不支持大小超过 50 MB 的文件。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
['https://cdn.staticaly.com/gh','日本 2', '注意:
- 该加速是全球 Anycast CDN,国内一般分配到日本节点。'],
['https://raw.fastgit.org','日本 3', '注意:
- 单个文件太大时可能会提示超时(实时获取中),请重试。'],
- ['https://cdn.jsdelivr.net/gh','美国', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 当前分支所有文件总文件大小超过 50MB 时,该加速源不可用。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
- ['https://gcore.jsdelivr.net/gh','香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。
注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 该加速源不支持大小超过 50MB 的文件。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。']
+ ['https://cdn.jsdelivr.net/gh','美国', '注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 该加速源不支持大小超过 50 MB 的文件。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
+ ['https://gcore.jsdelivr.net/gh','香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。
注意:
- 该加速源存在缓存机制(24小时),所以文件可能不是最新。
- 该加速源不支持大小超过 50 MB 的文件。
- 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'],
+ ['https://raw.githubusercontents.com', '香港/新加坡等','该加速源有香港、新加坡、美国等服务器,并不固定。
- 该加速源不支持大小超过 1 MB 的文件。']
],
svg = [
'',
From 738a7fbd503c90089215a8645a79a1602da204c9 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 13 Feb 2022 14:32:08 +0800
Subject: [PATCH 0051/1482] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[NexusMods]=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 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 677640164..92326173a 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -3,7 +3,7 @@
// @name:en AutoPager
// @name:zh-CN 自动无缝翻页
// @name:zh-TW 自動無縫翻頁
-// @version 4.6.9
+// @version 4.7.0
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
// @description:en Seamlessly stitch next page content (waterfall)
@@ -2031,6 +2031,7 @@ function: {
}, // 游民星空 - 攻略
nexusmods: {
host: 'www.nexusmods.com',
+ functionS: function() {locationC = true; if (!(lp == '/' || indexOF(/\/mods\/\d+/))) {curSite = DBSite.nexusmods;}},
history: false,
pager: {
type: 1,
@@ -6233,6 +6234,7 @@ function: {
if (getCSS('.nexus-ui-blocker')) return
let modList;
if (indexOF('/news')) {modList = RH_NewsTabContent;} else {modList = RH_ModList;}
+ if (!modList) return
let out_items = JSON.stringify(modList.out_items).replace(/{|}|"/g,''),
nextNum = getXpath('//div[contains(@class, "pagenav")][1]//a[contains(@class, "page-selected")]/parent::li/following-sibling::li/a'),
categories = modList.out_items.categories, categoriesUrl = '';
From cbf964475c32f9b5c7f410423765b8e89dd61173 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Sun, 13 Feb 2022 21:36:42 +0800
Subject: [PATCH 0052/1482] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[ScienceAlert]?=
=?UTF-8?q?=E3=80=81[=E6=96=B0=E4=B8=9C=E6=96=B9=E5=9C=A8=E7=BA=BF]?=
=?UTF-8?q?=E3=80=81[188=E6=BC=AB=E7=94=BB=E7=BD=91]=20=E6=94=AF=E6=8C=81;?=
=?UTF-8?q?=20=E6=9B=B4=E6=96=B0=20[=E7=88=B1=E6=BC=AB=E7=94=BB]=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 | 76 ++++++++++++++++++++++++++++++++++++------------
1 file changed, 57 insertions(+), 19 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 92326173a..fded21f71 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -3,7 +3,7 @@
// @name:en AutoPager
// @name:zh-CN 自动无缝翻页
// @name:zh-TW 自動無縫翻頁
-// @version 4.7.0
+// @version 4.7.1
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
// @description:en Seamlessly stitch next page content (waterfall)
@@ -539,7 +539,7 @@ function: {
pageE: 'css;#search-result > *, style',
insertP: ['css;#search-result', 3],
replaceE: 'css;.pager',
- scrollD: 2000
+ scrollD: 1500
}
}, // Yandex 搜索
yandex_video: {
@@ -3050,17 +3050,17 @@ function: {
}
}, // 漫画皮 - 分类页
imanhuaw: {
- host: ['www.imanhuaw.net', 'www.imanhuaw.com'],
+ host: ['www.imanhuaw.net', 'www.imanhuaw.com', 'www.ccshwy.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/)) {
+ } 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;}',
+ 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,
@@ -3070,7 +3070,7 @@ function: {
interval: 2000,
scrollD: 3000
}
- }, // 爱漫画
+ }, // 爱漫画 + 188漫画网
imanhuaw_list: {
pager: {
type: 1,
@@ -5011,6 +5011,15 @@ function: {
scrollD: 1500
}
}, // 36氪 - 手机版
+ sciencealert: {
+ host: 'www.sciencealert.com',
+ pager: {
+ type: 2,
+ nextL: 'css;.load-more',
+ nextTextOf: 'LOAD MORE',
+ scrollD: 2000
+ }
+ }, // ScienceAlert
zhutix: {
host: 'zhutix.com',
functionS: function() {if (getCSS('#post-list')) {
@@ -5249,6 +5258,17 @@ function: {
scrollD: 1000
}
}, // 如意了教育 - 试卷
+ koolearn: {
+ host: 'cet4.koolearn.com',
+ pager: {
+ type: 1,
+ nextL: 'id("page")/a[text()="下一页"]',
+ pageE: 'css;ul.xqy_entry_list > li,.xqy_core_text > p:not([style="text-align:center"])',
+ insertP: ['css;ul.xqy_entry_list,.xqy_core_text', 3],
+ replaceE: 'css;#page',
+ scrollD: 2500
+ }
+ }, // 新东方在线
che168: {
host: 'www.che168.com',
functionS: function() {
@@ -6508,11 +6528,35 @@ 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() {
- let _img = '';
- for (let one of base64_decode(qTcms_S_m_murl_e).split("$qingtiandy$")) {_img += `
`;}
- getOne(curSite.pager.insertP[0]).outerHTML = _img;
+ getOne(curSite.pager.insertP[0]).outerHTML = imanhuaw_getIMG();
+ document.oncontextmenu = function(){}
}
// [爱漫画] 获取下一页地址
function imanhuaw_nextL() {
@@ -6527,16 +6571,10 @@ function: {
if (!pageElems) return
// 插入并运行