From f40ed9f68903498e107b3b810fff83345eed4e8d Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 3 Jan 2022 09:24:50 +0800
Subject: [PATCH 0001/1532] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E6=A8=A1?=
=?UTF-8?q?=E5=BC=8F3=20=E5=9C=A8=20B=E7=AB=99=20=E7=9A=84=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E6=95=88=E6=9E=9C?=
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 f2e9c56c8..5ae3686d7 100644
--- a/DarkMode.user.js
+++ b/DarkMode.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 护眼模式
-// @version 1.3.2
+// @version 1.3.3
// @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;} .mode-fullscreen video, img[alt="[公式]"] {filter: none !important;}`,
- style_31_firefox = `html {filter: invert(${style_30[0]}%) !important; background-image: url();} img, video, [style*="background"][style*="url"] {filter: invert(1) !important;} .mode-fullscreen video, img[alt="[公式]"] {filter: none !important;}`;
+ style_31 = `html {filter: invert(${style_30[0]}%) !important;} img, video, [style*="background"][style*="url"], #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;}`,
+ style_31_firefox = `html {filter: invert(${style_30[0]}%) !important; background-image: url();} img, video, [style*="background"][style*="url"], #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;}`;
// Firefox 浏览器需要特殊对待
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
From 50027553a4111e000633793ee3db3b643d517d80 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 3 Jan 2022 09:38:17 +0800
Subject: [PATCH 0002/1532] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E6=A8=A1?=
=?UTF-8?q?=E5=BC=8F3=20=E5=9C=A8=20B=E7=AB=99=20=E7=9A=84=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E6=95=88=E6=9E=9C=20(=E9=9A=90=E8=97=8F=E8=A7=86?=
=?UTF-8?q?=E9=A2=91=E7=99=BD=E8=BE=B9)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
DarkMode.user.js | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/DarkMode.user.js b/DarkMode.user.js
index 5ae3686d7..dc7ffafd1 100644
--- a/DarkMode.user.js
+++ b/DarkMode.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 护眼模式
-// @version 1.3.3
+// @version 1.3.4
// @author X.I.U
// @description 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式)
// @match *://*/*
@@ -335,8 +335,14 @@
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"], #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;}`,
- style_31_firefox = `html {filter: invert(${style_30[0]}%) !important; background-image: url();} img, video, [style*="background"][style*="url"], #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !important;}`;
+ style_31 = `html {filter: invert(${style_30[0]}%) !important;}
+img, video, [style*="background"][style*="url"], #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;}
+img[alt="[公式]"] {filter: none !important;}
+.bilibili-player.bilibili-player-area-v1, .bilibili-player.bilibili-player-area-v3 {box-shadow: none !important;}`,
+ style_31_firefox = `html {filter: invert(${style_30[0]}%) !important; background-image: url();}
+img, video, [style*="background"][style*="url"], #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;}
+img[alt="[公式]"] {filter: none !important;}
+.bilibili-player.bilibili-player-area-v1, .bilibili-player.bilibili-player-area-v3 {box-shadow: none !important;}`;
// Firefox 浏览器需要特殊对待
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
From df94de9beff824c2b00e88f4cafba3f1a91b7284 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 3 Jan 2022 09:51:08 +0800
Subject: [PATCH 0003/1532] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E6=A8=A1?=
=?UTF-8?q?=E5=BC=8F3=20=E5=9C=A8=20B=E7=AB=99=20=E7=9A=84=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=E6=95=88=E6=9E=9C=20(=E5=AD=97=E4=BD=93=E5=8A=A0?=
=?UTF-8?q?=E7=B2=97)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
DarkMode.user.js | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/DarkMode.user.js b/DarkMode.user.js
index dc7ffafd1..41b29dc52 100644
--- a/DarkMode.user.js
+++ b/DarkMode.user.js
@@ -335,14 +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"], #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;}
-img[alt="[公式]"] {filter: none !important;}
-.bilibili-player.bilibili-player-area-v1, .bilibili-player.bilibili-player-area-v3 {box-shadow: none !important;}`,
- style_31_firefox = `html {filter: invert(${style_30[0]}%) !important; background-image: url();}
-img, video, [style*="background"][style*="url"], #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;}
-img[alt="[公式]"] {filter: none !important;}
-.bilibili-player.bilibili-player-area-v1, .bilibili-player.bilibili-player-area-v3 {box-shadow: none !important;}`;
+ style_31 = `html {filter: invert(${style_30[0]}%) !important;} img, video, [style*="background"][style*="url"] {filter: invert(1) !important;} img[alt="[公式]"] {filter: none !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;}`;
// Firefox 浏览器需要特殊对待
if (navigator.userAgent.toLowerCase().indexOf('firefox') > -1) {
@@ -375,6 +369,7 @@ img[alt="[公式]"] {filter: none !important;}
break;
case 3:
style += style_31;
+ if (location.hostname.indexOf('.bilibili.com') > -1) {style += `#bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;} .bilibili-player.bilibili-player-area-v1, .bilibili-player.bilibili-player-area-v3 {box-shadow: none !important;} * {font-weight: bold !important;}`}
break;
}
style_Add.id = 'XIU2DarkMode';
From 8640b686810b1b2e17440c1aca177bd11739dab6 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 3 Jan 2022 21:15:42 +0800
Subject: [PATCH 0004/1532] =?UTF-8?q?=E8=A1=A5=E5=85=85=20=E5=85=B6?=
=?UTF-8?q?=E4=BB=96=E5=88=86=E6=9E=90=E9=93=BE=E6=8E=A5=E5=9F=9F=E5=90=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Lanzou-Enhanced.user.js | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/Lanzou-Enhanced.user.js b/Lanzou-Enhanced.user.js
index 0213e53dc..fb8720ad9 100644
--- a/Lanzou-Enhanced.user.js
+++ b/Lanzou-Enhanced.user.js
@@ -1,12 +1,9 @@
// ==UserScript==
// @name 蓝奏云网盘增强
-// @version 1.3.6
+// @version 1.3.7
// @author X.I.U
// @description 刷新不回根目录、后退返回上一级、右键文件显示菜单、点击直接下载文件、自动显示更多文件、自定义分享链接域名、自动打开/复制分享链接、带密码的分享链接自动输密码、拖入文件自动显示上传框、输入密码后回车确认、调整描述(话说)编辑框初始大小
-// @match *://*.lanzous.com/*
-// @match *://*.lanzoux.com/*
-// @match *://*.lanzoui.com/*
-// @match *://*.lanzouo.com/*
+// @include /^https:\/\/.+\.lanzou[a-z]\.com\/.*$/
// @match *://pan.lanzou.com/*
// @match *://lanzou.com/u
// @match *://www.lanzou.com/account.php*
From b5c5b7e4ac215534cd61f3a6fcf9d63fc55f3ca7 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 3 Jan 2022 22:13:58 +0800
Subject: [PATCH 0005/1532] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E6=A8=A1?=
=?UTF-8?q?=E5=BC=8F=203=20=E5=9C=A8=20B=20=E7=AB=99=E8=A7=86=E9=A2=91?=
=?UTF-8?q?=E7=9A=84=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
DarkMode.user.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/DarkMode.user.js b/DarkMode.user.js
index 41b29dc52..d6b6d9c9d 100644
--- a/DarkMode.user.js
+++ b/DarkMode.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 护眼模式
-// @version 1.3.4
+// @version 1.3.5
// @author X.I.U
// @description 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式)
// @match *://*/*
@@ -369,7 +369,7 @@
break;
case 3:
style += style_31;
- if (location.hostname.indexOf('.bilibili.com') > -1) {style += `#bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;} .bilibili-player.bilibili-player-area-v1, .bilibili-player.bilibili-player-area-v3 {box-shadow: none !important;} * {font-weight: bold !important;}`}
+ if (location.hostname.indexOf('.bilibili.com') > -1) {style += `#bilibiliPlayer video {filter: none !important;} #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;} .bilibili-player.bilibili-player-area-v1, .bilibili-player.bilibili-player-area-v3, #bilibiliPlayer {box-shadow: none !important;} * {font-weight: bold !important;}`}
break;
}
style_Add.id = 'XIU2DarkMode';
From 66a94aae21389bba5a632d99f4b660acb2984638 Mon Sep 17 00:00:00 2001
From: xiu2 <54703944+XIU2@users.noreply.github.com>
Date: Mon, 3 Jan 2022 22:56:56 +0800
Subject: [PATCH 0006/1532] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E4=BC=98?=
=?UTF-8?q?=E9=85=B7=E6=BC=AB=E7=94=BB]=E3=80=81[=E8=B0=B7=E6=AD=8C?=
=?UTF-8?q?=E5=AD=A6=E6=9C=AF=20-=20=E5=85=B6=E4=BB=96=E9=95=9C=E5=83=8F?=
=?UTF-8?q?=E7=AB=99]=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 | 99 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 97 insertions(+), 2 deletions(-)
diff --git a/Autopage.user.js b/Autopage.user.js
index 437107936..0ec62cfa5 100644
--- a/Autopage.user.js
+++ b/Autopage.user.js
@@ -1,9 +1,10 @@
// ==UserScript==
// @name 自动无缝翻页
-// @version 4.3.0
+// @version 4.3.1
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、Pixiv、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、片库、茶杯狐、NO视频、低端影视、奈菲影视、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画 DB、动漫之家、拷贝漫画、包子漫画、古风漫画网、Mangabz、PubMed、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
// @match *://*/*
+// @connect www.ykmh.com
// @connect www.xuexiniu.com
// @connect bbs.xuexiniu.com
// @connect www.tujigu.net
@@ -3017,6 +3018,40 @@ function: {
scrollD: 1000
}
}, // 动漫戏说 - 分类页
+ ykmh: {
+ host: 'www.ykmh.com',
+ functionS: function() {if (indexOF(/\/\d+\.html/)) {
+ let chapterScroll = getCSS('#qiehuan_txt') // 强制为 [上下滚动阅读] 模式
+ if (localStorage.getItem('chapterScroll') != '"scroll"') {
+ localStorage.setItem('chapterScroll', '"scroll"'); location.reload()
+ } else {
+ setTimeout(ykmh_init, 100);
+ curSite = DBSite.ykmh;
+ }
+ } 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;}',
+ history: true,
+ pager: {
+ type: 4,
+ nextL: ykmh_nextL,
+ insertP: ['css;#images', 3],
+ insertE: ykmh_insertE,
+ replaceE: 'css;.head_title, span.head_wz',
+ interval: 2000,
+ scrollD: 3000
+ }
+ }, // 优酷漫画
+ ykmh_list: {
+ pager: {
+ type: 1,
+ nextL: 'css;li.next > a',
+ pageE: 'css;li.list-comic',
+ replaceE: 'css;ul.pagination',
+ scrollD: 1000
+ }
+ }, // 优酷漫画 - 分类页
copymanga: {
host: /copymanga\./,
functionS: function() {if (indexOF('/chapter/')) {
@@ -4076,15 +4111,38 @@ function: {
}
}, // 科研通 - 帖子内
google_scholar: {
+ host: 'scholar.google.com',
+ functionS: function() {if (lp == '/scholar') {curSite = DBSite.google_scholar;}},
+ history: true,
pager: {
type: 1,
nextL: '//a[./span[contains(@class, "next")]]',
pageE: 'css;#gs_res_ccl_mid > *',
- replaceE: 'id("gs_n")',
+ insertP: ['css;#gs_res_ccl_mid', 3],
+ replaceE: 'css;#gs_n',
scriptT: 1,
scrollD: 2000
}
}, // 谷歌学术
+ google_scholar_: {
+ host: 'sc.panda321.com',
+ history: true,
+ pager: {
+ type: 1,
+ nextL: '//a[./span[contains(@class, "next")]]',
+ pageE: 'css;#gs_res_ccl_mid > *',
+ insertP: ['css;#gs_res_ccl_mid', 3],
+ replaceE: 'css;#gs_n',
+ scriptT: 1,
+ scrollD: 2000
+ },
+ function: {
+ bF: function(pageElems){
+ getCSS('#gs_n').remove();
+ return pageElems
+ }
+ }
+ }, // 谷歌学术 - 其他镜像站
bing_academic: {
insStyle: 'li.aca_algo_count {display: none !important;}',
pager: {
@@ -6195,6 +6253,42 @@ function: {
}
+ // [优酷漫画] 初始化(调整本话其余图片)
+ function ykmh_init(css) {
+ let host = SinMH.getChapterImage(1).split('/')[0] + '//' + SinMH.getChapterImage(1).split('/')[2];
+ if (!host) return
+ let _img = '';
+ for (let one of chapterImages) {_img += `
`;}
+ getOne(curSite.pager.insertP[0]).innerHTML = _img;
+ }
+ // [优酷漫画] 获取下一页地址
+ function ykmh_nextL() {
+ let url = comicUrl + nextChapterData.id + '.html'
+ if (url && url != '.html' && url != curSite.pageUrl) {
+ curSite.pageUrl = url;
+ getPageElems_(curSite.pageUrl);
+ }
+ }
+ // [优酷漫画] 插入数据
+ function ykmh_insertE(pageElems, type) {
+ //console.log(pageElems)
+ if (!pageElems) return
+ // 插入并运行