From 4016de86d370b9e5fd1875647ae78935e7e082a0 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 17 May 2022 13:52:46 +0800 Subject: [PATCH 0001/1004] README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1b1777913..0e861fbeb 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ ## 赞赏支持 -![微信赞赏](https://fastly.jsdelivr.net/gh/XIU2/TrackersListCollection/img/zs-01.png)![支付宝赞赏](https://fastly.jsdelivr.net/gh/XIU2/TrackersListCollection/img/zs-02.png) +![微信赞赏](https://cdn.staticaly.com/gh/XIU2/XIU2/master/img/zs-01.png)![支付宝赞赏](https://cdn.staticaly.com/gh/XIU2/XIU2/master/img/zs-02.png) **** From 0731268c345804378d911cd72e4a4afdfb364201 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 17 May 2022 17:15:03 +0800 Subject: [PATCH 0002/1004] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[RARBG]=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 --- other/Autopage/rules.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 1d5ca83ee..1404595db 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2566,7 +2566,8 @@ }, "RARBG": { "host": "/rarbg/", - "url": "if(document.title.indexOf('RARBG') > -1 && fun.lp() == '/torrents.php'){fun.getAllCSS('table.lista2t tr.lista2 td>a[onmouseover]').forEach((now)=>{now.parentElement.setAttribute('onmouseover', now.getAttribute('onmouseover')); now.removeAttribute('onmouseover');now.parentElement.setAttribute('onmouseout', now.getAttribute('onmouseout')); now.removeAttribute('onmouseout');}); return true}", + "url": "if(document.title.indexOf('RARBG') > -1 && fun.lp() == '/torrents.php'){fun.getAllCSS('table.lista2t tr.lista2 td>a[onmouseover]').forEach((now)=>{now.parentElement.setAttribute('onmouseover', now.getAttribute('onmouseover')); now.removeAttribute('onmouseover');now.parentElement.setAttribute('onmouseout', now.getAttribute('onmouseout')); now.removeAttribute('onmouseout');}); fun.getAllCSS('.lista2t td.header>a').forEach((a)=>{a.setAttribute('onclick','1')}); return true}", + "style": "body{background-repeat-y: repeat;}", "blank": 3, "pager": { "nextL": "#pager_links>a[title='next page']", From 8951d6de48906d170218fe0071035dcffec6af32 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 18 May 2022 11:01:53 +0800 Subject: [PATCH 0003/1004] =?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 | 26 ++++++++++++---------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index fc9149638..c224ab86a 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -3,7 +3,7 @@ // @name:zh-CN Github 增强 - 高速下载 // @name:zh-TW Github 增強 - 高速下載 // @name:en Github Enhancement - High Speed Download -// @version 1.9.9 +// @version 2.0.0 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) @@ -32,17 +32,18 @@ const download_url = [ //['https://pd.zwc365.com/seturl/https://github.com', '美国', '[美国 Cloudflare CDN]'], ['https://gh2.yanqishui.work/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@HongjieCN] 提供'], - ['https://gh.gh2233.ml/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [本脚本作者 X.I.U/XIU2] 提供'], + ['https://gh.ddlc.top/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@mtr-static-official] 提供'], + ['https://gh.gh2233.ml/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@X.I.U/XIU2] 提供'], //['https://gh.api.99988866.xyz/https://github.com', '美国', '[美国 Cloudflare CDN]'], //['https://gh-rep.mirr.one', '美国', '[美国 Cloudflare CDN]'], //['https://cdn.githubjs.cf', '美国', '[美国 Cloudflare CDN]'], //['https://gh-proxy-misakano7545.koyeb.app/https://github.com', '美国', '[美国 Cloudflare CDN]'], //['https://ghgo.feizhuqwq.workers.dev/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [feizhuqwq.com] 提供'], - ['https://gh.ddlc.top/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@mtr-static-official] 提供'], + //['https://download.cithub.icu', '美国', '[美国 洛杉矶]', 'https://archive.cithub.icu'], + ['https://download.xn--p8jhe.tw', '美国', '[美国 圣何塞]', 'https://archive.xn--p8jhe.tw'], ['https://git.yumenaka.net/https://github.com', '美国', '[美国 圣何塞]'], - ['https://download.xn--p8jhe.tw', '美国', '[美国 圣何塞] - 该公益加速源由 [おうか] 提供', 'https://archive.xn--p8jhe.tw'], //['https://github.do/https://github.com', '国内', '[中国 国内] - 该公益加速源由 [小麦云服] 提供'], - ['https://ghproxy.futils.com/https://github.com', '香港', '[中国 香港] - 该公益加速源由 [F 搜] 提供 - 缓存:无(或时间很短)'], + //['https://ghproxy.futils.com/https://github.com', '香港', '[中国 香港] - 该公益加速源由 [F 搜] 提供 - 缓存:无(或时间很短)'], //['https://github.ddlc.love/https://github.com', '香港', '[中国 香港] - 该公益加速源由 [@mtr-static-official] 提供', ''], ['https://download.fastgit.org', '日本', '[日本 东京] - 该公益加速源由 [FastGit] 提供', 'https://archive.fastgit.org'], ['https://mirror.ghproxy.com/https://github.com', '日本', '[日本 东京] - 该公益加速源由 [ghproxy] 提供'], @@ -53,12 +54,13 @@ ['https://gitclone.com', '国内', '[中国 国内] - 该公益加速源由 [GitClone] 提供 - 缓存:有 - 首次比较慢,缓存后较快'], ['https://ghproxy.futils.com/https://github.com', '香港', '[中国 香港] - 该公益加速源由 [F 搜] 提供 - 缓存:无(或时间很短)'], ['https://api.mtr.pub', '香港', '[中国 香港] - 该公益加速源由 [@mtr-static-official] 提供'], - //['https://hub.fastgit.xyz', '日本', '[日本 东京] - 该公益加速源由 [FastGit] 提供'], + ['https://hub.fastgit.xyz', '日本', '[日本 东京] - 该公益加速源由 [FastGit] 提供'], ['https://mirror.ghproxy.com/https://github.com', '日本', '[日本 东京] - 该公益加速源由 [ghproxy] 提供'], ['https://ghproxy.com/https://github.com', '韩国', '[韩国 首尔] - 该公益加速源由 [ghproxy] 提供'], ['https://hub.xn--gzu630h.xn--kpry57d', '韩国', '[韩国 首尔] - 该公益加速源由 [ghproxy] 提供'], - ['https://gh.gcdn.mirr.one', '俄罗斯', '[俄罗斯 G-Core Labs CDN]'], - ['https://hub.xn--p8jhe.tw', '美国', '[美国 圣何塞] - 该公益加速源由 [おうか] 提供'] + //['https://gh.gcdn.mirr.one', '俄罗斯', '[俄罗斯 G-Core Labs CDN]'], + //['https://cithub.icu', '美国', '[美国 洛杉矶]'], + //['https://hub.xn--p8jhe.tw', '美国', '[美国 圣何塞]'] //['https://hub.0z.gs', '美国', '[美国 Cloudflare CDN]'], //['https://hub.shutcm.cf', '美国', '[美国 Cloudflare CDN]'] ], clone_ssh_url = [ @@ -68,15 +70,15 @@ ['https://raw.githubusercontent.com', 'Github 原生', '[日本 东京]'], //['https://github.do/https://raw.githubusercontent.com', '国内', '[中国 国内] - 该公益加速源由 [小麦云服] 提供 - 缓存:有'], ['https://ghproxy.futils.com/https://github.com', '香港 1', '[中国 香港] - 该公益加速源由 [F 搜] 提供 - 缓存:无(或时间很短)'], - //['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '香港 2', '[中国 香港]'], ['https://raw.iqiq.io', '香港 2', '[中国 香港] - 该公益加速源由 [iQDNS/iQZone] 提供 - 缓存:无(或时间很短)'], ['https://hk1.monika.love', '香港 3', '[中国 香港] - 该公益加速源由 [@mtr-static-official] 提供 - 缓存:无(或时间很短)'], - //['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', '[韩国 首尔] - 该公益加速源由 [ghproxy] 提供'], + //['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', '[韩国 首尔] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], ['https://fastly.jsdelivr.net/gh', '日本 1', '[日本 东京] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], ['https://cdn.staticaly.com/gh', '日本 2', '[日本 东京] - 该公益加速源由 [Statically CDN] 提供 - 缓存:有 - 不支持大小超过 30 MB 的文件'], ['https://raw.fastgit.org', '日本 3', '[日本 东京] - 该公益加速源由 [FastGit] 提供 - 缓存:无(或时间很短)'], - //['https://git.yumenaka.net/https://raw.githubusercontent.com', '美国', '[美国 圣何塞]'], - //['https://raw.xn--p8jhe.tw', '美国', '[美国 圣何塞] - 该公益加速源由 [おうか] 提供'], + //['https://raw.cithub.icu', '美国', '[美国 洛杉矶] - 缓存:无(或时间很短)'], + //['https://raw.xn--p8jhe.tw', '美国', '[美国 圣何塞] - 缓存:无(或时间很短)'], + //['https://git.yumenaka.net/https://raw.githubusercontent.com', '美国', '[美国 圣何塞] - 缓存:无(或时间很短)'], ['https://gcore.jsdelivr.net/gh', '其他 1', '[移动走香港、电信走日本] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], //['https://raw-gh.gcdn.mirr.one', '俄罗斯', '[俄罗斯 G-Core Labs CDN] - 缓存:有'], ['https://raw.githubusercontents.com', '其他 2', '[香港、新加坡、美国](不固定) - 缓存:有 - 该加速源不支持大小超过 1 MB 的文件'] From eefe474618cfa945799d1cb5f3c78b0df4a5197c Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 18 May 2022 22:55:00 +0800 Subject: [PATCH 0004/1004] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F1/2=20=E7=9A=84=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DarkMode.user.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/DarkMode.user.js b/DarkMode.user.js index a883de4a2..100d0c574 100644 --- a/DarkMode.user.js +++ b/DarkMode.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 护眼模式 // @name:zh-TW 護眼模式 // @name:en Dark Mode -// @version 1.4.6 +// @version 1.4.7 // @author X.I.U // @description 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式) // @description:zh-CN 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式) @@ -34,7 +34,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',,,'90'], ['menu_customMode3_exclude',,,'img, .img, video, [style*="background"][style*="url"], svg'], + ['menu_customMode', '自定义当前模式', '自定义当前模式', true], ['menu_customMode1',,,'60|50'], ['menu_customMode2',,,'60|40|50|50'], ['menu_customMode3',,,'90'], ['menu_customMode3_exclude',,,'img, .img, video, [style*="background"][style*="url"], svg'], ['menu_customTime', '自定义昼夜时间', '自定义昼夜时间', '6:00|18:00'], ['menu_autoSwitch', '晚上自动切换模式', '晚上自动切换模式', ''], ], menu_ID = []; @@ -160,13 +160,13 @@ let newMods, tip, defaults, name; switch(getAutoSwitch()) { case 1: - tip = '自定义 [模式 1],修改后立即生效 (部分网页可能需要刷新)~\n格式:亮度 (白天)|亮度 (晚上)\n默认:80|70(均为百分比 1~100,不需要 % 符号)'; - defaults = '80|70'; + tip = '自定义 [模式 1],修改后立即生效 (部分网页可能需要刷新)~\n格式:亮度 (白天)|亮度 (晚上)\n默认:60|50(均为百分比 1~100,不需要 % 符号)'; + defaults = '60|50'; name = 'menu_customMode1'; break; case 2: - tip = '自定义 [模式 2],修改后立即生效 (部分网页可能需要刷新)~\n格式:亮度 (白天)|暖色 (白天)|亮度 (晚上)|暖色 (晚上)\n默认:80|20|70|30(均为百分比 1~100,不需要 % 符号)'; - defaults = '80|20|70|30'; + tip = '自定义 [模式 2],修改后立即生效 (部分网页可能需要刷新)~\n格式:亮度 (白天)|暖色 (白天)|亮度 (晚上)|暖色 (晚上)\n默认:60|40|50|50(均为百分比 1~100,不需要 % 符号)'; + defaults = '60|40|50|50'; name = 'menu_customMode2'; break; case 3: @@ -205,7 +205,7 @@ // 自定义昼夜时间 function menu_customTime() { - let newMods = prompt('自定义脚本内和白天/晚上相关的时间,修改后刷新网页生效~\n格式:6:01|18:30 (即 6:01 ~ 18:30 之间是白天时间)', GM_getValue('menu_customTime')); + let newMods = prompt('自定义脚本内和白天/晚上相关的时间,修改后刷新网页生效~\n格式:6:00|18:30 (即 6:00 ~ 18:30 之间是白天时间)', GM_getValue('menu_customTime')); if (newMods === '') { GM_setValue('menu_customTime', '6:00|18:00'); registerMenuCommand(); // 重新注册脚本菜单 From 7be3b87a32e95a6192495829d75093d781ed7ad8 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 19 May 2022 22:24:03 +0800 Subject: [PATCH 0005/1004] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=9B=A0=20Gith?= =?UTF-8?q?ub=20=E6=A0=B7=E5=BC=8F=E6=9B=B4=E6=96=B0=E5=AF=BC=E8=87=B4=20R?= =?UTF-8?q?elease=20=E5=8A=A0=E9=80=9F=E6=BA=90=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index c224ab86a..854bed9a8 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -3,7 +3,7 @@ // @name:zh-CN Github 增强 - 高速下载 // @name:zh-TW Github 增強 - 高速下載 // @name:en Github Enhancement - High Speed Download -// @version 2.0.0 +// @version 2.0.1 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) @@ -31,7 +31,7 @@ var backColor = '#ffffff', fontColor = '#888888', menu_raw_fast = GM_getValue('xiu2_menu_raw_fast'), menu_menu_raw_fast_ID, menu_feedBack_ID; const download_url = [ //['https://pd.zwc365.com/seturl/https://github.com', '美国', '[美国 Cloudflare CDN]'], - ['https://gh2.yanqishui.work/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@HongjieCN] 提供'], + //['https://gh2.yanqishui.work/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@HongjieCN] 提供'], ['https://gh.ddlc.top/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@mtr-static-official] 提供'], ['https://gh.gh2233.ml/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@X.I.U/XIU2] 提供'], //['https://gh.api.99988866.xyz/https://github.com', '美国', '[美国 Cloudflare CDN]'], @@ -48,7 +48,7 @@ ['https://download.fastgit.org', '日本', '[日本 东京] - 该公益加速源由 [FastGit] 提供', 'https://archive.fastgit.org'], ['https://mirror.ghproxy.com/https://github.com', '日本', '[日本 东京] - 该公益加速源由 [ghproxy] 提供'], ['https://ghproxy.com/https://github.com', '韩国', '[韩国 首尔] - 该公益加速源由 [ghproxy] 提供'], - ['https://hub.xn--gzu630h.xn--kpry57d', '韩国', '[韩国 首尔] - 该公益加速源由 [ghproxy] 提供'] + ['https://hub.xn--gzu630h.xn--kpry57d', '韩国', '[韩国 首尔]'] ], clone_url = [ //['https://github.do/https://github.com', '国内', '[中国 国内] - 该公益加速源由 [小麦云服] 提供'], ['https://gitclone.com', '国内', '[中国 国内] - 该公益加速源由 [GitClone] 提供 - 缓存:有 - 首次比较慢,缓存后较快'], @@ -57,7 +57,7 @@ ['https://hub.fastgit.xyz', '日本', '[日本 东京] - 该公益加速源由 [FastGit] 提供'], ['https://mirror.ghproxy.com/https://github.com', '日本', '[日本 东京] - 该公益加速源由 [ghproxy] 提供'], ['https://ghproxy.com/https://github.com', '韩国', '[韩国 首尔] - 该公益加速源由 [ghproxy] 提供'], - ['https://hub.xn--gzu630h.xn--kpry57d', '韩国', '[韩国 首尔] - 该公益加速源由 [ghproxy] 提供'], + ['https://hub.xn--gzu630h.xn--kpry57d', '韩国', '[韩国 首尔]'], //['https://gh.gcdn.mirr.one', '俄罗斯', '[俄罗斯 G-Core Labs CDN]'], //['https://cithub.icu', '美国', '[美国 洛杉矶]'], //['https://hub.xn--p8jhe.tw', '美国', '[美国 圣何塞]'] @@ -76,6 +76,7 @@ ['https://fastly.jsdelivr.net/gh', '日本 1', '[日本 东京] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], ['https://cdn.staticaly.com/gh', '日本 2', '[日本 东京] - 该公益加速源由 [Statically CDN] 提供 - 缓存:有 - 不支持大小超过 30 MB 的文件'], ['https://raw.fastgit.org', '日本 3', '[日本 东京] - 该公益加速源由 [FastGit] 提供 - 缓存:无(或时间很短)'], + ['https://raw.xn--gzu630h.xn--kpry57d', '韩国', '[韩国 首尔] - 缓存:无(或时间很短)'], //['https://raw.cithub.icu', '美国', '[美国 洛杉矶] - 缓存:无(或时间很短)'], //['https://raw.xn--p8jhe.tw', '美国', '[美国 圣何塞] - 缓存:无(或时间很短)'], //['https://git.yumenaka.net/https://raw.githubusercontent.com', '美国', '[美国 圣何塞] - 缓存:无(或时间很短)'], @@ -150,11 +151,11 @@ // Release function addRelease() { 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;';}; // 调整小屏幕时的样式 + let divDisplay = 'margin-left: -90px;'; + if (document.documentElement.clientWidth > 755) {divDisplay = 'margin-top: -3px;margin-left: 8px;display: inherit;';}; // 调整小屏幕时的样式 for (const current of html) { if (current.querySelector('.XIU2-RS')) continue - current.querySelectorAll('li.Box-row > a').forEach(function (_this) { + current.querySelectorAll('li.Box-row a').forEach(function (_this) { let href = _this.href.split(location.host), url = '', _html = `
`; @@ -167,7 +168,7 @@ if (location.host === 'hub.fastgit.xyz') url = url.replace('hub.fastgit.xyz','github.com') _html += `${download_url[i][1]}` } - _this.insertAdjacentHTML('afterend', _html + '
'); + _this.parentElement.nextElementSibling.insertAdjacentHTML('beforeend', _html + ''); }); } } From 76e7086baabea5c109c0a1973fb7a63b4f3accbf Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 20 May 2022 13:02:17 +0800 Subject: [PATCH 0006/1004] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E8=B1=86?= =?UTF-8?q?=E7=93=A3=20-=20=E6=83=B3=E7=9C=8B/=E7=9C=8B=E8=BF=87/=E6=83=B3?= =?UTF-8?q?=E5=90=AC/=E5=90=AC=E8=BF=87/=E6=83=B3=E8=AF=BB/=E8=AF=BB?= =?UTF-8?q?=E8=BF=87]=E3=80=81[gimy=20=E5=89=A7=E8=BF=B7]=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 --- other/Autopage/rules.json | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 1404595db..db565951c 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -409,13 +409,14 @@ "replaceE": "#paginator" } }, - "豆瓣 - top250/分集短评/剧评影评/在看/想看/看过的电影/作品/图片": { - "host": "movie.douban.com", - "url": "return (fun.lp() == '/top250' || fun.indexOF(/^\\/subject\\/\\d+\\/(episode|tv_discuss|reviews|photos)/) || fun.indexOF(/^\\/people\\/\\d+\\/(do|wish|collect)/) || fun.indexOF(/^\\/celebrity\\/\\d+\\/(movies|photos)/))", + "豆瓣 - top250/分集短评/剧评影评/在看/想看/看过/作品/图片": { + "host": ["movie.douban.com","music.douban.com","book.douban.com"], + "url": "return (fun.lp() == '/top250' || fun.indexOF(/^\\/subject\\/\\d+\\/(episode|tv_discuss|reviews|photos)/) || fun.indexOF(/^\\/people\\/.+\\/(do|wish|collect)/) || fun.indexOF(/^\\/celebrity\\/\\d+\\/(movies|photos)/))", "pager": { "nextL": "link[rel='next']", - "pageE": ".grid_view, #comments, .review-list, .grid-view, .grid_view>ul>li, .poster-col3>li", - "replaceE": ".paginator" + "pageE": ".grid_view, #comments, .review-list, .interest-list, .grid-view, .grid_view>ul>li, .poster-col3>li", + "replaceE": ".paginator", + "scrollD": 2500 } }, "豆瓣 - 广播/日记/书评/影评评论": { @@ -2202,6 +2203,18 @@ "bF": "return fun.src_bF(pageE)" } }, + "gimy 剧迷": { + "host": ["gimy.app","gimytv.app"], + "url": "/^\\/(cat|genre|search)\\//", + "pager": { + "nextL": "#long-page .active+li>a, .myui-page .visible-xs+li>a", + "pageE": "#content, .myui-vodlist>li, #searchList", + "replaceE": "#long-page, .myui-page" + }, + "function": { + "bF": "return fun.src_bF(pageE, [1,'a[data-original]','data-original'])" + } + }, "ZzzFun 动漫": { "host": "www.zzzfun.com", "url": "/^\\/vod_(type|show|search)/", From e5092b3ef6659df1dcac00ebe4324674e151bdd8 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 20 May 2022 13:05:44 +0800 Subject: [PATCH 0007/1004] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=A4=96=E7=BD=AE=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99?= =?UTF-8?q?]=20=E5=8A=9F=E8=83=BD?= 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 921984ea8..ba4fcdfa9 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 6.0.1 +// @version 6.0.2 // @author X.I.U // @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、B 站(bilibili)、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... // @description:zh-TW ⭐無縫加載 下一頁內容 至網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~ @@ -17,7 +17,7 @@ // @connect cdn.staticaly.com // @connect ghproxy.futils.com // @connect ghproxy.fsofso.com -// @connect raw.cithub.icu +// @connect raw.xn--gzu630h.xn--kpry57d // @connect raw.xn--p8jhe.tw // @connect git.yumenaka.net // @connect raw-gh.gcdn.mirr.one @@ -96,7 +96,7 @@ 'https://raw.fastgit.org/XIU2/UserScript/master/other/Autopage/rules.json', 'https://ghproxy.futils.com/https://github.com/XIU2/UserScript/blob/master/other/Autopage/rules.json', 'https://ghproxy.fsofso.com/https://github.com/XIU2/UserScript/blob/master/other/Autopage/rules.json', - //'https://raw.cithub.icu/XIU2/UserScript/master/other/Autopage/rules.json', + 'https://raw.xn--gzu630h.xn--kpry57d/XIU2/UserScript/master/other/Autopage/rules.json', 'https://raw.xn--p8jhe.tw/XIU2/UserScript/master/other/Autopage/rules.json', 'https://git.yumenaka.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', 'https://raw-gh.gcdn.mirr.one/XIU2/UserScript/master/other/Autopage/rules.json', @@ -112,7 +112,7 @@ 'https://raw.fastgit.org/XIU2/UserScript/master/other/Autopage/rules.json', 'https://ghproxy.futils.com/https://github.com/XIU2/UserScript/blob/master/other/Autopage/rules.json', 'https://ghproxy.fsofso.com/https://github.com/XIU2/UserScript/blob/master/other/Autopage/rules.json', - //'https://raw.cithub.icu/XIU2/UserScript/master/other/Autopage/rules.json', + 'https://raw.xn--gzu630h.xn--kpry57d/XIU2/UserScript/master/other/Autopage/rules.json', 'https://raw.xn--p8jhe.tw/XIU2/UserScript/master/other/Autopage/rules.json', 'https://git.yumenaka.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json' ], menuId = [], webType = 0, curSite = {SiteTypeID: 0}, DBSite, DBSite2, pausePage = true, pageNum = {now: 1, _now: 1}, urlC = false, nowLocation = '', lp = location.pathname, scriptHandler; @@ -1069,7 +1069,7 @@ function: { if (update) { // 手动更新(或安装后首次更新) GM_notification({text: '🔄 更新外置翻页规则中,请勿操作网页...', timeout: 5000}); getRulesUrl_(true); - } else if (parseInt(+new Date()/1000) - GM_getValue('menu_ruleUpdateTime', 0) > 604800) { + } else if (parseInt(+new Date()/1000) - GM_getValue('menu_ruleUpdateTime', 0) > 864000) { getRulesUrl_(); } From 0599995d83fa84aa8f883445bf2be859c6e70979 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 21 May 2022 19:38:11 +0800 Subject: [PATCH 0008/1004] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=20=E5=A4=87?= =?UTF-8?q?=E7=94=A8=E5=AE=89=E8=A3=85=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 0e861fbeb..a18699ada 100644 --- a/README.md +++ b/README.md @@ -19,26 +19,26 @@ | | 脚本名称 | 脚本功能 | 安装 \| 备用 | | :----: | :---- | :---- | :----: | -| [](https://github.com/XIU2) | **护眼模式** | 简单有效的全网通用护眼模式、夜间模式、暗黑模式~ | **[安装](https://greasyfork.org/zh-CN/scripts/426377)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/DarkMode.user.js)** | -| [](https://www.zhihu.com/people/xiu2) | **知乎 美化** | 宽屏显示、**暗黑模式**、**屏蔽首页活动**、调整图片最大高度... | **[安装](https://greasyfork.org/zh-CN/scripts/412212)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/Zhihu-Beautification.user.js)** | -| [](https://www.zhihu.com/people/xiu2) | **知乎 增强** | **移除登录弹窗**、**屏蔽首页视频**、屏蔽用户、屏蔽关键词... | **[安装](https://greasyfork.org/zh-CN/scripts/419081)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/Zhihu-Enhanced.user.js)** | -| [](https://www.v2ex.com/) | **V2EX 增强** | **自动签到**、链接转图片、自动无缝翻页、新标签页打开链... | **[安装](https://greasyfork.org/zh-CN/scripts/424246)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/V2ex-Enhanced.user.js)** | -| [](https://github.com/XIU2) | **Github 增强** | **高速下载** Git Clone/SSH、Release、Raw、Code(ZIP) ... | **[安装](https://greasyfork.org/zh-CN/scripts/412245)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/GithubEnhanced-High-Speed-Download.user.js)** | -| [](https://ping.sx/ping) | **Ping.Sx 增强** | **一键复制所有 IP**、清理 IP 链接、快捷回到顶部 ... | **[安装](https://greasyfork.org/zh-CN/scripts/438704)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/Ping.Sx-Enhanced.user.js)** | -| [](https://github.com/XIU2) | **自动无缝翻页 \*** | 无缝衔接下一页内容 **(瀑布流)** 支持各论坛/漫画/百度/谷歌等... | **[安装](https://greasyfork.org/zh-CN/scripts/419215)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/Autopage.user.js)** | -| [](https://bbs.3dmgame.com) | **3DM论坛 美化** | 精简多余内容、样式优化 | **[安装](https://greasyfork.org/zh-CN/scripts/413593)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/3dm-Beautification.user.js)** | -| [](https://bbs.3dmgame.com) | **3DM论坛 增强** | **自动回复**、自动无缝翻页、清理置顶帖子、自动滚至隐藏... | **[安装](https://greasyfork.org/zh-CN/scripts/412890)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/3dm-Enhanced.user.js)** | -| [](https://www.lanzou.com) | **蓝奏云网盘 增强 \*** | **右键显示菜单**、直接下载文件、显示更多文件、自动密码... | **[安装](https://greasyfork.org/zh-CN/scripts/419224)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/Lanzou-Enhanced.user.js)** | -| [](https://github.com/XIU2) | **新标签页打开链接 \*** | 将网页中所有链接改为新标签页打开~ | **[安装](https://greasyfork.org/zh-CN/scripts/429714)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/TargetBlank.user.js)** | -| [](https://duckduckgo.com) | **DuckDuckGo 增强** | **屏蔽指定域名**、修复图标加载、链接不携来源、快捷回到... | **[安装](https://greasyfork.org/zh-CN/scripts/436428)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/DuckDuckGo-Enhanced.user.js)** | -| [](https://www.52pojie.cn) | **吾爱破解论坛 美化** | 精简多余内容、样式优化 | **[安装](https://greasyfork.org/zh-CN/scripts/412681)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/52pojie-Beautification.user.js)** | -| [](https://www.52pojie.cn) | **吾爱破解论坛 增强** | **自动签到**、自动无缝翻页、屏蔽导读悬赏贴 (最新发表页)... | **[安装](https://greasyfork.org/zh-CN/scripts/412680)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/52pojie-Enhanced.user.js)** | -| [](https://hostloc.com) | **全球主机交流论坛 增强 \*** | **自动访问空间(22积分)、屏蔽用户**、屏蔽关键词、自动翻... | **[安装](https://greasyfork.org/zh-CN/scripts/414005)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/Hostloc-Enhanced.user.js)** | -| [](https://store.steampowered.com) | **Steam 创意工坊大图 修复** | 修复 Steam 创意工坊预览大图无法显示的问题 | **[安装](https://raw.githubusercontent.com/XIU2/UserScript/master/SteamWorkshopImageRepair.user.js)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/SteamWorkshopImageRepair.user.js)** | -| [](https://github.com/XIU2) | **HTML5 视频音频默认音量** | 避免被 100% 音量**吓一跳**!且支持各网站分别记住音量... | **[安装](https://greasyfork.org/zh-CN/scripts/438400)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/HTML5Volume.user.js)** | +| [](https://github.com/XIU2) | **护眼模式** | 简单有效的全网通用护眼模式、夜间模式、暗黑模式~ | **[安装](https://greasyfork.org/zh-CN/scripts/426377)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/DarkMode.user.js)** | +| [](https://www.zhihu.com/people/xiu2) | **知乎 美化** | 宽屏显示、**暗黑模式**、**屏蔽首页活动**、调整图片最大高度... | **[安装](https://greasyfork.org/zh-CN/scripts/412212)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/Zhihu-Beautification.user.js)** | +| [](https://www.zhihu.com/people/xiu2) | **知乎 增强** | **移除登录弹窗**、**屏蔽首页视频**、屏蔽用户、屏蔽关键词... | **[安装](https://greasyfork.org/zh-CN/scripts/419081)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/Zhihu-Enhanced.user.js)** | +| [](https://www.v2ex.com/) | **V2EX 增强** | **自动签到**、链接转图片、自动无缝翻页、新标签页打开链... | **[安装](https://greasyfork.org/zh-CN/scripts/424246)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/V2ex-Enhanced.user.js)** | +| [](https://github.com/XIU2) | **Github 增强** | **高速下载** Git Clone/SSH、Release、Raw、Code(ZIP) ... | **[安装](https://greasyfork.org/zh-CN/scripts/412245)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/GithubEnhanced-High-Speed-Download.user.js)** | +| [](https://ping.sx/ping) | **Ping.Sx 增强** | **一键复制所有 IP**、清理 IP 链接、快捷回到顶部 ... | **[安装](https://greasyfork.org/zh-CN/scripts/438704)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/Ping.Sx-Enhanced.user.js)** | +| [](https://github.com/XIU2) | **自动无缝翻页 \*** | 无缝衔接下一页内容 **(瀑布流)** 支持各论坛/漫画/百度/谷歌等... | **[安装](https://greasyfork.org/zh-CN/scripts/419215)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/Autopage.user.js)** | +| [](https://bbs.3dmgame.com) | **3DM论坛 美化** | 精简多余内容、样式优化 | **[安装](https://greasyfork.org/zh-CN/scripts/413593)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/3dm-Beautification.user.js)** | +| [](https://bbs.3dmgame.com) | **3DM论坛 增强** | **自动回复**、自动无缝翻页、清理置顶帖子、自动滚至隐藏... | **[安装](https://greasyfork.org/zh-CN/scripts/412890)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/3dm-Enhanced.user.js)** | +| [](https://www.lanzou.com) | **蓝奏云网盘 增强 \*** | **右键显示菜单**、直接下载文件、显示更多文件、自动密码... | **[安装](https://greasyfork.org/zh-CN/scripts/419224)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/Lanzou-Enhanced.user.js)** | +| [](https://github.com/XIU2) | **新标签页打开链接 \*** | 将网页中所有链接改为新标签页打开~ | **[安装](https://greasyfork.org/zh-CN/scripts/429714)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/TargetBlank.user.js)** | +| [](https://duckduckgo.com) | **DuckDuckGo 增强** | **屏蔽指定域名**、修复图标加载、链接不携来源、快捷回到... | **[安装](https://greasyfork.org/zh-CN/scripts/436428)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/DuckDuckGo-Enhanced.user.js)** | +| [](https://www.52pojie.cn) | **吾爱破解论坛 美化** | 精简多余内容、样式优化 | **[安装](https://greasyfork.org/zh-CN/scripts/412681)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/52pojie-Beautification.user.js)** | +| [](https://www.52pojie.cn) | **吾爱破解论坛 增强** | **自动签到**、自动无缝翻页、屏蔽导读悬赏贴 (最新发表页)... | **[安装](https://greasyfork.org/zh-CN/scripts/412680)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/52pojie-Enhanced.user.js)** | +| [](https://hostloc.com) | **全球主机交流论坛 增强 \*** | **自动访问空间(22积分)、屏蔽用户**、屏蔽关键词、自动翻... | **[安装](https://greasyfork.org/zh-CN/scripts/414005)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/Hostloc-Enhanced.user.js)** | +| [](https://store.steampowered.com) | **Steam 创意工坊大图 修复** | 修复 Steam 创意工坊预览大图无法显示的问题 | **[安装](https://cdn.staticaly.com/gh/XIU2/UserScript/master/SteamWorkshopImageRepair.user.js)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/SteamWorkshopImageRepair.user.js)** | +| [](https://github.com/XIU2) | **HTML5 视频音频默认音量** | 避免被 100% 音量**吓一跳**!且支持各网站分别记住音量... | **[安装](https://greasyfork.org/zh-CN/scripts/438400)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/HTML5Volume.user.js)** | | [](https://translate.google.cn) | ~~_**Google 翻译 美化**_~~ | ~~_精简多余内容、修复翻译结果溢出屏幕问题_~~ | ~~_**[安装](https://zhuanlan.zhihu.com/p/286815739)** \| **[备用](https://zhuanlan.zhihu.com/p/286815739)**_~~ | -| [](http://bbs.zhiyoo.net/forum.php?mod=forumdisplay&fid=42&filter=author&orderby=dateline) | ~~_**智友邦论坛 美化**_~~ | ~~_精简多余内容、样式优化、宽屏显示_~~ | ~~_**[安装](https://greasyfork.org/zh-CN/scripts/412361)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/Zhiyoo-Beautification.user.js)**_~~ | -| [](http://bbs.zhiyoo.net/forum.php?mod=forumdisplay&fid=42&filter=author&orderby=dateline) | ~~_**智友邦论坛 增强**_~~ | ~~_自动签到、**自动回复**、自动无缝翻页、快捷回到顶部、附..._~~ | ~~_**[安装](https://greasyfork.org/zh-CN/scripts/412362)** \| **[备用](https://raw.githubusercontent.com/XIU2/UserScript/master/Zhiyoo-Enhanced.user.js)**_~~ | +| [](http://bbs.zhiyoo.net/forum.php?mod=forumdisplay&fid=42&filter=author&orderby=dateline) | ~~_**智友邦论坛 美化**_~~ | ~~_精简多余内容、样式优化、宽屏显示_~~ | ~~_**[安装](https://greasyfork.org/zh-CN/scripts/412361)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/Zhiyoo-Beautification.user.js)**_~~ | +| [](http://bbs.zhiyoo.net/forum.php?mod=forumdisplay&fid=42&filter=author&orderby=dateline) | ~~_**智友邦论坛 增强**_~~ | ~~_自动签到、**自动回复**、自动无缝翻页、快捷回到顶部、附..._~~ | ~~_**[安装](https://greasyfork.org/zh-CN/scripts/412362)** \| **[备用](https://cdn.staticaly.com/gh/XIU2/UserScript/master/Zhiyoo-Enhanced.user.js)**_~~ | > _脚本名称末尾 **`*`** 代表该脚本为**网友主动提出需求**而写的。如果你有需求,也可以[告诉我](https://github.com/XIU2/UserScript/issues/new/choose)!_ > _所有脚本均在 **Chrome、Firefox、Edge 浏览器 + Tampermonkey 扩展** 环境下测试通过!_ From a0776c742f0b39f8341b9705bcf7fefe1e140a15 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 21 May 2022 20:25:24 +0800 Subject: [PATCH 0009/1004] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E7=BF=BB?= =?UTF-8?q?=E9=A1=B5=E8=A7=84=E5=88=99=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 6 +- other/Autopage/rules.json | 355 +++++++++++++------------------------- 2 files changed, 126 insertions(+), 235 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index ba4fcdfa9..9cd5ed6f2 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 6.0.2 +// @version 6.0.3 // @author X.I.U // @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、B 站(bilibili)、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... // @description:zh-TW ⭐無縫加載 下一頁內容 至網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~ @@ -198,7 +198,7 @@ if (DBSite[now].url.slice(0,1) === '/') { // 如果是正则,则对 URL 路径进行匹配 if (new RegExp(DBSite[now].url.slice(1,DBSite[now].url.length-1), 'i').test(location.pathname + location.search) === true) {curSite = DBSite[now];} else {if (urlC === true) {support = true;}; break;} } else { // 如果是函数,那就执行代码 - if (new Function('fun', DBSite[now].url)(window.autoPage) === true) {curSite = DBSite[now];} else {if (urlC === true) {support = true;}; break;} + if (new Function('fun', DBSite[now].url)(window.autoPage)) {curSite = DBSite[now];} else {if (urlC === true) {support = true;}; break;} } } catch (e) { console.error('[自动无缝翻页] - 当前网页规则 "url" 有误,请检查!', e); @@ -227,7 +227,7 @@ if (new RegExp(DBSite[now].url.slice(1,DBSite[now].url.length-1), 'i').test(location.pathname + location.search) === true) {curSite = DBSite[now];} else {if (urlC === true) {support = true;}; continue;} } else { // 如果是函数,那就执行代码 - if (new Function('fun', DBSite[now].url)(window.autoPage) === true) {curSite = DBSite[now];} else {if (urlC === true) {support = true;}; continue;} + if (new Function('fun', DBSite[now].url)(window.autoPage)) {curSite = DBSite[now];} else {if (urlC === true) {support = true;}; continue;} } } catch (e) { diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index db565951c..c6f53f4cb 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -7,8 +7,7 @@ "pager": { "nextL": "id('page')//a[contains(text(),'下一页')]", "pageE": "#content_left", - "replaceE": "#page", - "scrollD": 2000 + "replaceE": "#page" } }, "百度搜索 - 手机版": { @@ -19,8 +18,7 @@ "pager": { "nextL": "a[class^='new-nextpage']", "pageE": "#results", - "replaceE": "#page-controller", - "scrollD": 2000 + "replaceE": "#page-controller" } }, "百度站内搜索": { @@ -65,8 +63,7 @@ "pager": { "nextL": "a.sb_pagN, a.sb_halfnext, a.sb_fullnpl", "pageE": "#b_results>li.b_algo", - "replaceE": "#b_results>.b_pag", - "scrollD": 2000 + "replaceE": "#b_results>.b_pag" }, "function": { "bF": "if (!fun.getCSS('.b_title>a.sh_favicon')) {fun.insStyle('.b_title>a.sh_favicon {display: none !important;}');return pageE;}; pageE.forEach(function (one) {fun.getAllCSS('div.rms_iac[data-src]').forEach(function (one1) {one1.outerHTML = `\"全球`;})});return pageE" @@ -80,8 +77,7 @@ "nextL": "#sogou_next", "pageE": ".results", "replaceE": "#pagebar_container", - "scriptT": 3, - "scrollD": 2000 + "scriptT": 3 } }, "搜狗搜索 - 手机版": { @@ -119,8 +115,7 @@ "pager": { "nextL": "#page-bottom a[class*='containerRight_'], #page-bottom a[class*='container_']", "pageE": "#results>div", - "replaceE": "#page-bottom", - "scrollD": 2000 + "replaceE": "#page-bottom" } }, "头条搜索": { @@ -130,8 +125,7 @@ "pager": { "nextL": "//div[contains(@class, '-pagination')]/a[string()='下一页']", "pageE": "div[class*='-result-list']>.result-content[data-i]", - "replaceE": "div[class*='-pagination']", - "scrollD": 2000 + "replaceE": "div[class*='-pagination']" }, "function": { "bF": "if (fun.getXpath('//div[contains(@class,\"-header\") and string()=\"相关搜索\"]', pageE[pageE.length - 1])) {pageE[pageE.length - 1].style.display = 'none';}; return pageE" @@ -168,8 +162,7 @@ "pager": { "nextL": "a#snext", "pageE": "ul.result>li, style:not(src)", - "replaceE": "#page", - "scrollD": 2000 + "replaceE": "#page" }, "function": { "bF": "return fun.src_bF(pageE, [0,'img[data-isrc]','data-isrc'])" @@ -218,8 +211,7 @@ "pager": { "nextL": "js; return fun.getNextF('.next_page')", "pageE": "article.result", - "replaceE": "#pagination", - "scrollD": 2000 + "replaceE": "#pagination" } }, "Startpage 搜索": { @@ -229,8 +221,7 @@ "pager": { "nextL": "js; return fun.getNextF('//div[contains(@class, \"pagination\")]/form[./button[@class=\"pagination__next-prev-button next\"]]')", "pageE": "section.w-gl--desktop>div", - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "Yandex 搜索": { @@ -260,8 +251,7 @@ "pager": { "nextL": ".pagination a.next", "pageE": "#web ol>li", - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "Yahoo 搜索 - JP": { @@ -271,8 +261,7 @@ "pager": { "nextL": ".Pagenation__next>a", "pageE": ".Contents__innerGroupBody>div", - "replaceE": ".Pagenation", - "scrollD": 2000 + "replaceE": ".Pagenation" } }, "Qwant 搜索": { @@ -280,8 +269,7 @@ "url": "fun.isUrlC(); return (fun.indexOF('q=', 's') && fun.indexOF('t=web', 's'))", "pager": { "type": 2, - "nextL": "button[data-testid='buttonShowMore']", - "scrollD": 2000 + "nextL": "button[data-testid='buttonShowMore']" } }, "Ecosia 搜索": { @@ -311,8 +299,7 @@ "pager": { "nextL": "li.PartialWebPagination-next>a", "pageE": ".PartialSearchResults.mid", - "replaceE": ".PartialWebPagination", - "scrollD": 2000 + "replaceE": ".PartialWebPagination" } }, "Presearch": { @@ -498,8 +485,7 @@ "iframe": true, "pager": { "type": 5, - "nextL": "js; let next = fun.getCSS('.Pagination .PaginationButton--current+button:not(.PaginationButton-next)');if (next) return (location.origin + location.pathname + '?page=' + next.textContent)", - "scrollD": 2000 + "nextL": "js; let next = fun.getCSS('.Pagination .PaginationButton--current+button:not(.PaginationButton-next)');if (next) return (location.origin + location.pathname + '?page=' + next.textContent)" } }, "微博评论": { @@ -526,8 +512,7 @@ "pager": { "nextL": "a.js-keyboard-next", "pageE": ".atl-main>div[class='atl-item']", - "replaceE": ".atl-pages>form", - "scrollD": 2000 + "replaceE": ".atl-pages>form" } }, "虎扑社区 - 帖子内": { @@ -537,8 +522,7 @@ "pager": { "nextL": "li.hupu-rc-pagination-next>a", "pageE": ".post-reply-list ", - "replaceE": "ul.hupu-rc-pagination", - "scrollD": 2000 + "replaceE": "ul.hupu-rc-pagination" } }, "虎扑社区": { @@ -669,8 +653,7 @@ "pager": { "nextL": "js; let next = fun.getCSS('li.ant-pagination-next'), page; if (next && next.getAttribute('aria-disabled') === 'false') { page = fun.getCSS('li.ant-pagination-item-active[title]'); if (page && page.title) {return (location.origin + location.pathname + '?page=' + ++page.title);}}; return '';", "pageE": "//div[@class='main-title']/parent::div/parent::div | //head/style[@data-emotion-css]", - "replaceE": "ul.ant-pagination", - "interval": 500 + "replaceE": "ul.ant-pagination" } }, "龙的天空 - 帖子内": { @@ -681,8 +664,7 @@ "pager": { "nextL": "js; let next = fun.getCSS('li.ant-pagination-next'), page; if (next && next.getAttribute('aria-disabled') === 'false') { page = fun.getCSS('li.ant-pagination-item-active[title]'); if (page && page.title) {return (location.origin + location.pathname + '?page=' + ++page.title);}}; return '';", "pageE": "//div[@class='main-content']/parent::div | //head/style[@data-emotion-css]", - "replaceE": "ul.ant-pagination", - "interval": 500 + "replaceE": "ul.ant-pagination" } }, "水木社区": { @@ -750,8 +732,7 @@ "pager": { "nextL": "li.pagination-item.is-active+li>a", "pageE": ".data-wrapper>section.community-card, style", - "replaceE": "//ul[./li[contains(@class, 'pagination-item')]]", - "scrollD": 2000 + "replaceE": "//ul[./li[contains(@class, 'pagination-item')]]" }, "function": { "bF": "pageE.forEach(function (one) { one.querySelectorAll('.g-load-img-wrap, .tw-absolute.tw-cursor-pointer, .avatar').forEach(function (now) { fun.getCSS('noscript+img', now).src = fun.getCSS('noscript>img', now).src; }); }); return pageE" @@ -814,8 +795,7 @@ "pager": { "nextL": "a.ui-paging-next", "pageE": "ul.ui-list>li", - "replaceE": "div.ui-paging", - "scrollD": 2000 + "replaceE": "div.ui-paging" } }, "篱笆网论坛 - 搜索页": { @@ -882,8 +862,7 @@ "pager": { "nextL": "a.page_down", "pageE": ".table-section>dl:not(.table_head)", - "replaceE": ".forumList_page", - "scrollD": 2000 + "replaceE": ".forumList_page" } }, "飞客网论坛": { @@ -924,8 +903,7 @@ "pager": { "nextL": "a[rel='next']", "pageE": "#posts>div:not([id])", - "replaceE": ".pagenav", - "scrollD": 2000 + "replaceE": ".pagenav" } }, "中国香港社区": { @@ -934,8 +912,7 @@ "pager": { "nextL": ".pagination a.next", "pageE": "tbody[id^='normalthread_']", - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "中国香港论坛 - 帖子内": { @@ -946,8 +923,7 @@ "pager": { "nextL": ".pagination a.next", "pageE": ".viewthread", - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "TGFC Lifestyle": { @@ -956,8 +932,7 @@ "pager": { "nextL": ".pages a.next", "pageE": "tbody[id^='normalthread_']", - "replaceE": ".pages", - "scrollD": 2000 + "replaceE": ".pages" } }, "TGFC Lifestyle - 帖子内": { @@ -968,8 +943,7 @@ "pager": { "nextL": ".pages a.next", "pageE": ".viewthread", - "replaceE": ".pages", - "scrollD": 2000 + "replaceE": ".pages" } }, "北+": { @@ -988,8 +962,7 @@ "pager": { "nextL": "//div[@class='pages']/ul/li[./b]/following-sibling::li[1][not(@class)]/a[not(text()='»')]", "pageE": "li.dcsns-li", - "replaceE": ".pages", - "scrollD": 2000 + "replaceE": ".pages" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -1114,8 +1087,7 @@ "pager": { "nextL": ".active+li:not(.disabled)>a", "pageE": ".list", - "replaceE": ".page", - "scrollD": 2000 + "replaceE": ".page" } }, "CADTutor/LoversLab": { @@ -1124,8 +1096,7 @@ "pager": { "nextL": "li.ipsPagination_next:not(.ipsPagination_inactive)>a", "pageE": "ol.ipsDataList>li[data-rowid], ol.ipsStream>li", - "replaceE": "ul.ipsPagination", - "scrollD": 2000 + "replaceE": "ul.ipsPagination" } }, "CADTutor/LoversLab - 帖子内": { @@ -1135,8 +1106,7 @@ "pager": { "nextL": "li.ipsPagination_next:not(.ipsPagination_inactive)>a", "pageE": "#elPostFeed>form>*:not(input):not(div)", - "replaceE": "ul.ipsPagination", - "scrollD": 2000 + "replaceE": "ul.ipsPagination" } }, "TheSwamp": { @@ -1145,8 +1115,7 @@ "pager": { "nextL": ".pagelinks>strong+a", "pageE": "#messageindex tbody>tr:not([class])", - "replaceE": ".pagelinks", - "scrollD": 2000 + "replaceE": ".pagelinks" } }, "TheSwamp - 帖子内": { @@ -1156,8 +1125,7 @@ "pager": { "nextL": ".pagelinks>strong+a", "pageE": "#forumposts form>*", - "replaceE": ".pagelinks", - "scrollD": 2000 + "replaceE": ".pagelinks" } }, "Ventoy 论坛": { @@ -1197,8 +1165,7 @@ "iframe": true, "pager": { "type": 5, - "nextL": "a[aria-disabled='false'][class*='filterProps-Styled-Component'][href]:last-child", - "scrollD": 2000 + "nextL": "a[aria-disabled='false'][class*='filterProps-Styled-Component'][href]:last-child" } }, "Pixiv - 用户作品页": { @@ -1209,8 +1176,7 @@ "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": "a[aria-disabled='false'][class*='filterProps-Styled-Component'][href]:last-child", - "scrollD": 2000 + "nextL": "a[aria-disabled='false'][class*='filterProps-Styled-Component'][href]:last-child" } }, "Pixiv - 手机版 - 分类页": { @@ -1220,8 +1186,7 @@ "iframe": true, "pager": { "type": 5, - "nextL": "a.next", - "scrollD": 2000 + "nextL": "a.next" } }, "Pixiv - 手机版 - 用户作品页": { @@ -1231,8 +1196,7 @@ "iframe": true, "pager": { "type": 5, - "nextL": "a.next", - "scrollD": 2000 + "nextL": "a.next" } }, "Vilipix": { @@ -1244,8 +1208,7 @@ "nextL": "js; let next = fun.getCSS('li.number.active+li.number'); if (next) return (location.origin + location.pathname + '?p=' + next.textContent)", "pageE": "ul.illust-content>li", "replaceE": "ul.el-pager", - "loadTime": 800, - "scrollD": 2000 + "loadTime": 800 } }, "Pixivision": { @@ -1254,8 +1217,7 @@ "pager": { "nextL": "a.next", "pageE": "li.article-card-container", - "replaceE": "._pager", - "scrollD": 2000 + "replaceE": "._pager" } }, "Buhitter": { @@ -1283,7 +1245,7 @@ }, "Iwara - 论坛": { "host": ["www.iwara.tv","ecchi.iwara.tv"], - "url": "return (fun.indexOF('/forums/') && fun.getCSS('#forum') != null)", + "url": "return (fun.indexOF('/forums/') && fun.getCSS('#forum'))", "pager": { "nextL": "li.pager-next>a", "pageE": ".forum-table>tbody>tr", @@ -1358,7 +1320,7 @@ }, "NEWCGER": { "host": "www.newcger.com", - "url": "return (fun.getCSS('.pageNav')!=null)", + "url": "return fun.getCSS('.pageNav')", "pager": { "nextL": "a.current+a", "pageE": ".imageTextItem>li", @@ -1413,8 +1375,7 @@ "nextL": "//ul[contains(@class, 'page-list')]//a[text()='下一页']", "pageE": ".data-box .dataList, .data-box .data-list", "insertP": [".data-box .dataList, .data-box .data-list",3], - "replaceE": "ul.page-list", - "scrollD": 2000 + "replaceE": "ul.page-list" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -1426,8 +1387,7 @@ "pager": { "nextL": "//a[@title='下一页' or text()='下一页'][not(contains(@class, 'search-works-nextpage'))]", "pageE": "li.new-search-works-item, li.new-works-box", - "replaceE": ".common-page-box", - "scrollD": 2000 + "replaceE": ".common-page-box" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -1435,14 +1395,13 @@ }, "摄图网": { "host": ["699pic.com","xsj.699pic.com"], - "url": "return (fun.getCSS('.pagelist') != null)", + "url": "return fun.getCSS('.pagelist')", "style": ".lastNavItem, .yaoxinAct-rukou {display: none !important;}", "pager": { "nextL": ".downPage", "pageE": ".swipeboxEx>*, .search-video-wrap>.video-list>ul, ul.music-list, #all-fonts-box, .img-list>.img-list-box, .video-list-box", "replaceE": ".pagelist", - "scriptT": 2, - "scrollD": 2000 + "scriptT": 2 }, "function": { "bF": "pageE.forEach(function (one) {if (one.className === 'list' && one.dataset.w != undefined) {one.style.width = `${one.dataset.w}px`;}}); return fun.src_bF(pageE)" @@ -1454,8 +1413,7 @@ "pager": { "nextL": "a.page-link[rel='next']", "pageE": ".floor_item", - "replaceE": "ul.pagination", - "scrollD": 2000 + "replaceE": "ul.pagination" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -1469,8 +1427,7 @@ "pager": { "nextL": "a.next_page, a.so-next", "pageE": ".pic-item", - "replaceE": ".page", - "scrollD": 2000 + "replaceE": ".page" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -1483,8 +1440,7 @@ "pager": { "nextL": "a.next", "pageE": "ul.media-list-ul>li[pr-data-title]", - "replaceE": ".pagelist", - "scrollD": 2000 + "replaceE": ".pagelist" }, "function": { "bF": "return fun.src_bF(pageE, [0, 'img[data-url]', 'data-url'])" @@ -1497,8 +1453,7 @@ "pager": { "nextL": "a.next", "pageE": ".baotufonts-list>a", - "replaceE": ".pagelist", - "scrollD": 2000 + "replaceE": ".pagelist" }, "function": { "bF": "return fun.src_bF(pageE, [0, 'img[data-url]', 'data-url'])" @@ -1511,8 +1466,7 @@ "pager": { "nextL": "a.next", "pageE": ".pr-container[pr-data-title]:not(.searchAdver)", - "replaceE": ".pagelist", - "scrollD": 2000 + "replaceE": ".pagelist" }, "function": { "bF": "return fun.src_bF(pageE, [0, 'img[data-url]', 'data-url'])" @@ -1523,8 +1477,7 @@ "pager": { "nextL": "//a[text()=\"›\"]", "pageE": "[class^=\"results\"] >[class^=\"container\"]>div", - "replaceE": "//a[text()=\"›\"]", - "scrollD": 2000 + "replaceE": "//a[text()=\"›\"]" }, "function": { "bF": "return fun.src_bF(pageE, [0, 'img[data-lazy-src]', 'data-lazy-src'])" @@ -1603,8 +1556,7 @@ "pager": { "nextL": "a.next", "pageE": ".icondetail", - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "Mixkit": { @@ -1613,8 +1565,7 @@ "pager": { "nextL": "a.pagination__link--next", "pageE": ".item-grid-item", - "replaceE": ".pagination__wrapper", - "scrollD": 2000 + "replaceE": ".pagination__wrapper" } }, "第一PPT": { @@ -1725,13 +1676,12 @@ "pager": { "nextL": "li.next_page a[rel='next']", "pageE": "ul.list-page-ul>li", - "replaceE": "ul.pagination", - "scrollD": 2000 + "replaceE": "ul.pagination" } }, "字客网": { "host": "www.fontke.com", - "url": "return ((fun.indexOF('/list/') && fun.getCSS('.index-family') != null) || fun.indexOF('/search/'))", + "url": "return ((fun.indexOF('/list/') && fun.getCSS('.index-family')) || fun.indexOF('/search/'))", "pager": { "nextL": ".next>a", "pageE": ".index-family ul:not(.page)>li:not(.head), script[src*='base.js'], .inform-list>ul>li", @@ -1790,7 +1740,6 @@ "replaceE": ".pagewrap", "scrollE": ".pagewrap", "scriptT": 2, - "interval": 500, "scrollD": 500 } }, @@ -1814,7 +1763,6 @@ "replaceE": ".page_fenye", "scrollE": ".page_fenye", "scriptT": 2, - "interval": 500, "scrollD": 100 } }, @@ -1857,7 +1805,6 @@ "pageE": ".c-detail>*", "replaceE": ".page_fenye", "scrollE": ".page_fenye", - "interval": 500, "scrollD": 300 } }, @@ -1880,7 +1827,6 @@ "insertP": [".page_css",1], "replaceE": ".page_css", "scrollE": ".page_css", - "interval": 500, "scrollD": 100 } }, @@ -1896,7 +1842,6 @@ "replaceE": ".page_css", "scrollE": ".page_css", "forceHTTPS": true, - "interval": 500, "scrollD": 100 }, "function": { @@ -1913,7 +1858,6 @@ "insertP": [".pagecss",1], "replaceE": ".page_css", "scrollE": ".page_css", - "interval": 500, "scrollD": 500 } }, @@ -2044,8 +1988,7 @@ "pager": { "nextL": "#pageheader .gensmall strong~a", "pageE": "#pagecontent>table.tablebg:not(:nth-last-child(2)):not(:nth-child(2))", - "replaceE": "#pagecontent >table:not(.tablebg), #pageheader p.gensmall", - "scrollD": 2000 + "replaceE": "#pagecontent >table:not(.tablebg), #pageheader p.gensmall" } }, "cs.rin.ru - 搜索页": { @@ -2100,13 +2043,12 @@ }, "s1.byrutor.com": { "host": "s1.byrutor.com", - "url": "return (!fun.indexOF('do=search','s') && fun.getCSS('.paging-wrapper-bottom') != null)", + "url": "return (!fun.indexOF('do=search','s') && fun.getCSS('.paging-wrapper-bottom'))", "blank": 3, "pager": { "nextL": ".paging-wrapper-bottom>span+a", "pageE": "div[id^='entryID']", - "replaceE": ".paging-wrapper-bottom", - "scrollD": 2000 + "replaceE": ".paging-wrapper-bottom" }, "function": { "bF": "pageE.forEach(function (one) {let now = one.querySelector('span.hilink');if (now) {now.outerHTML = now.outerHTML.replace('data-link=','href=').replaceAll('span','a');};}); return pageE" @@ -2132,7 +2074,7 @@ }, "bilibili - 新版搜索页": { "host": "search.bilibili.com", - "url": "fun.isUrlC(); return ((fun.lp() == '/all' || fun.lp() == '/video' || fun.lp() == '/article') && fun.getCSS('ul.video-list') == null && fun.getCSS('#article-list') == null)", + "url": "fun.isUrlC(); return ((fun.lp() == '/all' || fun.lp() == '/video' || fun.lp() == '/article') && !fun.getCSS('ul.video-list') && !fun.getCSS('#article-list'))", "history": true, "pager": { "type": 6, @@ -2140,7 +2082,7 @@ "pageE": ".video-list-item, .media-list>div", "replaceE": ".vui_pagenation--btns", "loadTime": 600, - "scrollD": 2500 + "scrollD": 3000 } }, "NO视频": { @@ -2167,7 +2109,7 @@ }, "嗯哩嗯哩/森之屋动漫": { "host": ["enlienli.com","www.senfun.net"], - "url": "return (fun.indexOF('/show/') || fun.indexOF('/search') || (fun.indexOF('/type/') && fun.getCSS('#page') != null))", + "url": "return (fun.indexOF('/show/') || fun.indexOF('/search') || (fun.indexOF('/type/') && fun.getCSS('#page')))", "blank": 3, "pager": { "nextL": "a.page-number.page-next", @@ -2271,8 +2213,7 @@ "pager": { "nextL": "//a[@class='nextPage' or text()='下一页']", "pageE": ".dhnew>ul>li", - "replaceE": ".pagelist", - "scrollD": 2000 + "replaceE": ".pagelist" } }, "妮可动漫": { @@ -2349,7 +2290,6 @@ "pager": { "nextL": "js; let next = fun.getCSS('a.paginate_button.next');if (next && next.className.indexOf('disabled') === -1) {let oldList = fun.getCSS('#table-list>tbody').innerHTML;if (oldList) {next.click(); fun.getCSS('#table-list>tbody').insertAdjacentHTML('afterbegin', oldList);}}", "pageE": "#table-list>tbody", - "interval": 500, "scrollD": 800 } }, @@ -2418,12 +2358,11 @@ }, "BT 之家": { "host": "/btbtt/", - "url": "return (fun.getCSS(\".logo>a[title='BT之家']\") != null && (fun.lp() == '/' || fun.indexOF(/^\\/(index|forum|search)-/)))", + "url": "return (fun.getCSS(\".logo>a[title='BT之家']\") && (fun.lp() == '/' || fun.indexOF(/^\\/(index|forum|search)-/)))", "pager": { "nextL": "//div[@class='page']/a[text()='▶' or text()='下一页']", "pageE": "#threadlist", - "replaceE": ".page", - "scrollD": 2000 + "replaceE": ".page" } }, "BD 影视": { @@ -2506,8 +2445,7 @@ "pager": { "nextL": "//section/a[./span[contains(@class, 'next')]]", "pageE": "li.torrent-li", - "replaceE": ".page-btn-section", - "scrollD": 2000 + "replaceE": ".page-btn-section" } }, "萌番组": { @@ -2537,7 +2475,7 @@ }, "SkrBT / BT1207": { "host": ["/skrbt/","/bt1207/"], - "url": "return (fun.getCSS(\"link[href*='/skrbt/'], img[src*='/skrbt/'], img[src*='/bt1207/']\") != null && fun.lp() == '/search')", + "url": "return (fun.getCSS(\"link[href*='/skrbt/'], img[src*='/skrbt/'], img[src*='/bt1207/']\") && fun.lp() == '/search')", "history": true, "pager": { "nextL": "js;let page = fun.getCSS('a[onclick][aria-label=\"Next\"]'); if (page) {page = /(?<=\\()\\d+(?=\\))/.exec(page.onclick)[0];} else {return '';}; if (page) {return fun.getNextF('#search-form').replace(/p=\\d+/,'p=' + page)} else {return '';}", @@ -2658,8 +2596,7 @@ "pager": { "nextL": "a.pager__item--next", "pageE": "#block-white-content tbody>tr", - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "MINI4K": { @@ -2669,8 +2606,7 @@ "pager": { "nextL": "a.pager__item--next", "pageE": "div[class*='-item-list']>ul>li", - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "HDSay 高清乐园": { @@ -2797,8 +2733,7 @@ "insertP": ["body",3], "replaceE": ".main_control", "scriptT": 2, - "interval": 5000, - "scrollD": 2000 + "interval": 5000 }, "function": { "aF": "let _img=''; for (let i=0;i`;}; document.getElementById('comicContain').insertAdjacentHTML('beforeend', _img);" @@ -2813,8 +2748,7 @@ "nextL": "js;return (location.origin + fun.getCSS('a.rd-aside__item.j-rd-next').getAttribute('_href'))", "pageE": ".rd-article-wr>div", "replaceE": "a.last-crumb, .rd-aside", - "interval": 2000, - "scrollD": 2000 + "interval": 2000 }, "function": { "bF": "if (location.hostname == 'www.g-lens.com') {return fun.src_bF(pageE, [0,'img[pc-ec]','pc-ec'])} else {return fun.src_bF(pageE, [0,'img[data-original]','data-original'])}" @@ -2863,8 +2797,7 @@ "nextL": "js; let next=fun.getXpath(\"//a[@class='pages'][contains(text(),'下一頁')][not(@href='thend.asp')]\");if (next) {return next.href;} else {next=fun.getXpath(\"//a[@class='pages'][contains(string(),'下一話')]\");if (next) return next.href;}", "pageE": "img[onload]", "replaceE": "body > table > tbody > tr:nth-child(2), body > table > tbody > tr:nth-child(5)", - "interval": 0, - "scrollD": 2000 + "interval": 0 } }, "动漫狂 - 分类/搜索页": { @@ -2900,8 +2833,7 @@ "pager": { "nextL": "//a[@class='GPageLink' and text()='下一页']", "pageE": ".cy_list_mh>ul", - "replaceE": ".NewPages", - "scrollD": 2000 + "replaceE": ".NewPages" } }, "漫漫聚": { @@ -2913,8 +2845,7 @@ "nextL": "//a[./img[@src='/images/d.gif']][not(@href='/exit/exit.htm')]", "pageE": "//a/img[@src][not(contains(@src,'.gif'))]", "replaceE": "//a[./img[@src='/images/d.gif']]", - "loadTime": 200, - "scrollD": 2000 + "loadTime": 200 } }, "漫画皮": { @@ -2924,8 +2855,7 @@ "pager": { "nextL": "//div[@class='page']/a[text()='下一页' or text()='下一章']", "pageE": ".mh_list img[src]", - "replaceE": ".page", - "scrollD": 2000 + "replaceE": ".page" } }, "漫画皮 - 分类页": { @@ -2949,8 +2879,7 @@ "insertP": ["body",3], "replaceE": ".view-bottom-bar, .winnextchapter, .view-fix-bottom-bar", "scriptT": 2, - "interval": 4000, - "scrollD": 2000 + "interval": 4000 }, "function": { "aF": "let _img=''; for (let i=0;i`;}; document.getElementById('cp_img').insertAdjacentHTML('beforeend', _img);" @@ -2997,8 +2926,7 @@ "insertP": ["body",3], "replaceE": ".vg-r-data, ol.links-of-books", "scriptT": 2, - "interval": 4000, - "scrollD": 2000 + "interval": 4000 }, "function": { "aF": "let _img = '', data = fun.getCSS('.vg-r-data'), imgDate = JSON.parse(atob(img_data));for (let i = 0; i < imgDate.length; i++) {_img += ``;};fun.getCSS('.pjax-container').insertAdjacentHTML('beforeend', _img)" @@ -3096,8 +3024,7 @@ "pageE": "//body/script[not(@src)]", "insertP": ["body",3], "scriptT": 2, - "interval": 4000, - "scrollD": 2000 + "interval": 4000 }, "function": { "aF": "let _img = '';for (let i = 0; i < imagesUrlArr.length; i++) {_img += ``;};fun.getCSS('.content-wrapper').insertAdjacentHTML('beforeend', _img);" @@ -3112,8 +3039,7 @@ "nextL": "#next_chapter", "pageE": ".pic[_src]", "replaceE": "[class^='display_']", - "interval": 4000, - "scrollD": 2000 + "interval": 4000 }, "function": { "aF": "fun.getAllCSS('.pic[_src][id]').forEach(e => {e.outerHTML = `
`;});" @@ -3230,8 +3156,7 @@ "pageE": "id('main')/script[contains(text(), 'var Title')]", "insertP": ["body",3], "replaceE": ".navigation", - "scriptT": 2, - "scrollD": 2000 + "scriptT": 2 }, "function": { "aF": "document.getElementById('mhimg0').appendChild(document.createElement('img')).src = mhpicurl;" @@ -3245,8 +3170,7 @@ "pager": { "nextL": ".next_chapter>a", "pageE": ".comic-contain>amp-img", - "replaceE": ".next_chapter, .bottom-bar, .header .title", - "scrollD": 2000 + "replaceE": ".next_chapter, .bottom-bar, .header .title" } }, "乐语漫画": { @@ -3392,8 +3316,7 @@ "nextL": "//div[@class='fanye'][1]/a[@href][text()='下一页' or text()='下一话']", "pageE": ".comicpage", "replaceE": ".fanye, h1.title", - "interval": 1000, - "scrollD": 2000 + "interval": 1000 }, "function": { "bF": "return fun.src_bF(pageE)" @@ -3754,8 +3677,7 @@ "pager": { "nextL": "li.chapter.next a", "pageE": "#workskin>div", - "replaceE": "#main ul.navigation, #feedback>ul.actions", - "scrollD": 2000 + "replaceE": "#main ul.navigation, #feedback>ul.actions" } }, "蓝鲨": { @@ -3804,8 +3726,7 @@ "pager": { "nextL": "a.page-next", "pageE": ".app-item-content, .article-item-content", - "replaceE": ".pagination-content", - "scrollD": 2000 + "replaceE": ".pagination-content" } }, "MacWK": { @@ -3840,7 +3761,7 @@ }, "黑域基地": { "host": "www.hybase.com", - "url": "return (fun.getCSS('#pages') != null)", + "url": "return fun.getCSS('#pages')", "pager": { "nextL": "#pages>b+a", "pageE": ".entry", @@ -3983,8 +3904,7 @@ "pager": { "nextL": "a.next.page-numbers", "pageE": ".posts-con>div:not([class*='posts-'])", - "replaceE": "nav.pagination", - "scrollD": 2000 + "replaceE": "nav.pagination" } }, "异次元软件-评论": { @@ -4035,7 +3955,7 @@ }, "腾龙工作室": { "host": "www.tenlonstudio.com", - "url": "return (fun.lp() !== '/' && !fun.indexOF('.html') && fun.getXpath('//div[@class=\"btn-pager\"]/a[contains(text(), \"❯\")]') != null)", + "url": "return (fun.lp() !== '/' && !fun.indexOF('.html') && fun.getXpath('//div[@class=\"btn-pager\"]/a[contains(text(), \"❯\")]'))", "pager": { "nextL": "//div[@class='btn-pager']/a[contains(text(), '❯')]", "pageE": "li.post-list-item", @@ -4077,8 +3997,7 @@ "pager": { "nextL": "span.pageNext>a", "pageE": "#containerFormsCenter .newsList>div", - "replaceE": ".pagenation", - "scrollD": 2000 + "replaceE": ".pagenation" } }, "小鱼儿 yr 系统": { @@ -4139,8 +4058,7 @@ "pager": { "nextL": "span.prev>a", "pageE": "#main>article", - "replaceE": "nav.paging-navigation", - "scrollD": 2000 + "replaceE": "nav.paging-navigation" } }, "windowslatest": { @@ -4148,8 +4066,7 @@ "pager": { "nextL": "//div[contains(@class, 'page-nav')]/a[last()]", "pageE": ".td-ss-main-content>div:not(.td-block-title-wrap):not(.page-nav)", - "replaceE": ".page-nav", - "scrollD": 2000 + "replaceE": ".page-nav" } }, "thewindowsclub": { @@ -4181,8 +4098,7 @@ "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", "pageE": "#tablelibgen>tbody>tr, .paginator+script:not([src])", "replaceE": ".paginator", - "scriptT": 2, - "scrollD": 2000 + "scriptT": 2 } }, "ScienceDirect": { @@ -4193,8 +4109,7 @@ "iframe": true, "pager": { "type": 5, - "nextL": "a[data-aa-name='srp-next-page']", - "scrollD": 2000 + "nextL": "a[data-aa-name='srp-next-page']" } }, "Z-Library": { @@ -4206,8 +4121,7 @@ "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", "pageE": "//*[@id='searchResultBox'] | //script[contains(string(), 'pagerOptions')]", "replaceE": ".paginator", - "scriptT": 2, - "scrollD": 2000 + "scriptT": 2 }, "function": { "bF": "return fun.src_bF(pageE)" @@ -4228,8 +4142,7 @@ "nextL": "js; return fun.getNextEP('.pagination li.active+li>a', 'pageIndex=', /pageIndex=\\d+/)", "pageE": ".magazine-senior-search-results-list>ul>li, .magazine-model-content-new>ul>li", "insertP": [".magazine-senior-search-results-list>ul, .magazine-model-content-new>ul",3], - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "维普网": { @@ -4251,8 +4164,7 @@ "pager": { "nextL": "li.next>a", "pageE": "ul#jieda>li", - "replaceE": ".pages", - "scrollD": 2000 + "replaceE": ".pages" } }, "科研通": { @@ -4261,8 +4173,7 @@ "pager": { "nextL": "li.next>a", "pageE": "ul.fly-list>li", - "replaceE": ".pages", - "scrollD": 2000 + "replaceE": ".pages" } }, "小木虫": { @@ -4283,8 +4194,7 @@ "pager": { "nextL": "//div[contains(@class, 'xmc_Pages')]//a[text()='下一页']", "pageE": "#maincontent>table>tbody:not(.header)", - "replaceE": ".xmc_Pages", - "scrollD": 2000 + "replaceE": ".xmc_Pages" } }, "小木虫 - 考研调剂": { @@ -4333,8 +4243,7 @@ "nextL": "//a[./span[contains(@class, 'next')]]", "pageE": "#gs_res_ccl_mid>*", "replaceE": "#gs_n", - "scriptT": 1, - "scrollD": 2000 + "scriptT": 1 } }, "谷歌学术 - 镜像站": { @@ -4344,8 +4253,7 @@ "nextL": "//a[./span[contains(@class, 'next')]]", "pageE": "#gs_res_ccl_mid>*", "replaceE": "#gs_n", - "scriptT": 1, - "scrollD": 2000 + "scriptT": 1 }, "function": { "bF": "fun.getCSS('#gs_n').remove(); return pageE" @@ -4369,8 +4277,7 @@ "pager": { "nextL": "a[rel='next']", "pageE": "#questions>div, .js-search-results>div:first-child>div, #tags-browser>div, #user-browser>div:first-child>div", - "replaceE": ".pager", - "scrollD": 2000 + "replaceE": ".pager" } }, "SegmentFault": { @@ -4427,8 +4334,7 @@ "nextL": "//ul[@class='membership']/li[not(a)]/following-sibling::li[1]/a", "pageE": ".article-heading, .article-body", "replaceE": ".right-column ul.membership", - "forceHTTPS": true, - "scrollD": 2000 + "forceHTTPS": true } }, "菜鸟教程": { @@ -4449,7 +4355,7 @@ }, "博客园 - 文章列表": { "host": "www.cnblogs.com", - "url": "return (fun.getCSS('#post_list') != null)", + "url": "return fun.getCSS('#post_list')", "pager": { "nextL": "//div[@class='pager']//a[contains(text(), '>')]", "pageE": "#post_list>article", @@ -4458,7 +4364,7 @@ }, "博客园 - 文章列表 - 个人": { "host": "www.cnblogs.com", - "url": "if (location.pathname.split('/').length === 3 && fun.getCSS('.topicListFooter') != null) { if (!fun.getCSS('#homepage_top_pager')) {fun.getCSS('#centercontent, .forFlow').insertAdjacentHTML('afterbegin', '
'); fun.getCSS('#centercontent, .forFlow').insertAdjacentHTML('beforeend', '
');}; return true}", + "url": "if (location.pathname.split('/').length === 3 && fun.getCSS('.topicListFooter')) { if (!fun.getCSS('#homepage_top_pager')) {fun.getCSS('#centercontent, .forFlow').insertAdjacentHTML('afterbegin', '
'); fun.getCSS('#centercontent, .forFlow').insertAdjacentHTML('beforeend', '
');}; return true}", "blank": 3, "pager": { "nextL": "//div[@class='topicListFooter']//a[contains(text(), '下一页')]", @@ -4590,8 +4496,7 @@ "url": "fun.isUrlC(); return (fun.lp() == '/')", "pager": { "type": 2, - "nextL": ".ajax-pagination-btn", - "scrollD": 2000 + "nextL": ".ajax-pagination-btn" } }, "Github - Star/Repositories/Commits": { @@ -4650,8 +4555,7 @@ "pager": { "nextL": "a.next_page", "pageE": ".gist-snippet", - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "OI-Wiki": { @@ -5037,8 +4941,7 @@ "nextL": ".page>a[title='下一页']", "pageE": "div[class*='-container'] div[class*='-con']>ul>li, div[class*='-container'] div[class*='-con']>div[class*='-wrap']>ul>li", "insertP": ["div[class*='-container'] div[class*='-con']>ul, div[class*='-container'] div[class*='-con']>div[class*='-wrap']>ul",3], - "replaceE": ".page", - "scrollD": 2000 + "replaceE": ".page" }, "function": { "bF": "return fun.src_bF(pageE, [0,'img[_src]','_src'])" @@ -5076,8 +4979,7 @@ "pager": { "nextL": "a.poi-pager__item.poi-pager__item_next", "pageE": ".inn-archive__container>article", - "replaceE": ".poi-pager", - "scrollD": 2000 + "replaceE": ".poi-pager" } }, "立创开源硬件平台": { @@ -5105,8 +5007,7 @@ "pager": { "nextL": "a.page-item-next", "pageE": "ul.viewlist_ul>li", - "replaceE": ".page", - "scrollD": 2000 + "replaceE": ".page" } }, "盖世汽车英文版": { @@ -5124,8 +5025,7 @@ "nextL": "id('page')/a[text()='下一页']", "pageE": "ul.xqy_entry_list>li,.xqy_core_text>p:not([style='text-align:center'])", "insertP": ["ul.xqy_entry_list,.xqy_core_text",3], - "replaceE": "#page", - "scrollD": 2000 + "replaceE": "#page" } }, "古诗文网": { @@ -5142,8 +5042,7 @@ "pager": { "nextL": "a.next", "pageE": "#contents>*:not(.pages)", - "replaceE": ".pages", - "scrollD": 2000 + "replaceE": ".pages" } }, "文档之家": { @@ -5266,13 +5165,12 @@ }, "RedTube": { "host": "www.redtube.com", - "url": "return (fun.lp() != '/pornstar' && !fun.indexOF(/^\\/\\d+$/) && fun.getCSS('#w_pagination') != null)", + "url": "return (fun.lp() != '/pornstar' && !fun.indexOF(/^\\/\\d+$/) && fun.getCSS('#w_pagination'))", "blank": 3, "pager": { "nextL": "#wp_navNext", "pageE": ".videoblock_list:not([id*='_vid_']):not([id*='_premium_']), .content_limit>ul>li.channel-box", - "replaceE": "#w_pagination", - "scrollD": 2000 + "replaceE": "#w_pagination" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -5353,7 +5251,7 @@ }, "DaftSex": { "host": "daftsex.com", - "url": "fun.isUrlC(); return (!fun.indexOF('/watch/') && fun.getCSS('.more') != null)", + "url": "fun.isUrlC(); return (!fun.indexOF('/watch/') && fun.getCSS('.more'))", "pager": { "type": 2, "nextL": ".more", @@ -5362,7 +5260,7 @@ }, "DaftSex - other": { "host": "daftsex.com", - "url": "return (!fun.indexOF('/watch/') && fun.getCSS('.pagination') != null)", + "url": "return (!fun.indexOF('/watch/') && fun.getCSS('.pagination'))", "blank": 3, "pager": { "nextL": "li.active+li>a", @@ -5456,13 +5354,12 @@ "pager": { "nextL": "a.next", "pageE": ".gridview-posts", - "replaceE": ".category", - "scrollD": 2000 + "replaceE": ".category" } }, "JavDB": { "host": "/^javdb/", - "url": "return (document.title.indexOf('JavDB') > -1 && !fun.indexOF('/v/') && fun.getCSS('.pagination') != null)", + "url": "return (document.title.indexOf('JavDB') > -1 && !fun.indexOF('/v/') && fun.getCSS('.pagination'))", "blank": 3, "pager": { "nextL": "a.pagination-next", @@ -5530,7 +5427,7 @@ }, "JieAV": { "host": ["www.jieav.com","www.qinav.com","www.qinimg.com","www.yinmh.com","www.txtxi.com","www.dnaav.com","www.jiedm.com","www.ruav.xyz","www.feiav.com"], - "url": "return (fun.getCSS('.pages')!=null)", + "url": "return fun.getCSS('.pages')", "blank": 3, "pager": { "nextL": "a.active+a", @@ -5701,8 +5598,7 @@ "pager": { "nextL": "span.items+a[data-link-name='pager']", "pageE": ".c-cntCard-110-f", - "replaceE": ".c-pager-101", - "scrollD": 2000 + "replaceE": ".c-pager-101" } }, "7mmtv": { @@ -5732,7 +5628,7 @@ }, "CartoonPornVideos": { "host": "www.cartoonpornvideos.com", - "url": "return (fun.getCSS('.content>.pagination') != null)", + "url": "return fun.getCSS('.content>.pagination')", "blank": 3, "pager": { "nextL": ".next", @@ -5789,8 +5685,7 @@ "pageE": ".scramble-page", "replaceE": ".menu-bolock-ul, #next_series", "scriptT": 0, - "interval": 5000, - "scrollD": 2000 + "interval": 5000 }, "function": { "bF": "return fun.src_bF(pageE)", @@ -5931,7 +5826,7 @@ }, "Hentai Foundry": { "host": "www.hentai-foundry.com", - "url": "return (fun.lp() != '/' && fun.getCSS('.thumb_square') != null)", + "url": "return (fun.lp() != '/' && fun.getCSS('.thumb_square'))", "blank": 3, "pager": { "nextL": ".next>a", @@ -6042,8 +5937,7 @@ "pager": { "nextL": ".current+a", "pageE": ".article-content>p, body.home .related_posts>ul", - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "mm.tvv.tw": { @@ -6053,8 +5947,7 @@ "pager": { "nextL": "a.next", "pageE": ".blog-listing", - "replaceE": ".pagination", - "scrollD": 2000 + "replaceE": ".pagination" } }, "mm131": { @@ -6063,8 +5956,7 @@ "pager": { "nextL": ".page_now+a, .paging>a:not(.rw), #xbtn", "pageE": ".content-pic, dl.list-left>dd:not([class='page']), article:not([id])>.single-post-content img, #content>article[id]", - "replaceE": ".content-page, .page, .paging, #webpage", - "scrollD": 2000 + "replaceE": ".content-page, .page, .paging, #webpage" } }, "mm131_m": { @@ -6073,8 +5965,7 @@ "pager": { "type": 2, "nextL": "#webpage>span[onclick]", - "isHidden": true, - "scrollD": 2000 + "isHidden": true } }, "MrCong": { From 3c9490e64bcf33f5b0aac0c1d13adb6867e3270f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 21 May 2022 20:31:37 +0800 Subject: [PATCH 0010/1004] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E7=BF=BB?= =?UTF-8?q?=E9=A1=B5=E8=A7=84=E5=88=99=E7=BB=86=E8=8A=82?= 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 9cd5ed6f2..2d7ca7a10 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -442,7 +442,7 @@ pager: { 注意:如 pageE 中选择了多类元素,则不能省略 insertP(比如包含 `,` 与 `|` 符号),除非另外的选择器是