From a65d19ec7c09fefb56de6e926d0762dd7b46f61e Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 10 Apr 2024 16:21:49 +0800 Subject: [PATCH 001/513] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=87=8D=E5=91=BD=E5=90=8D=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=A1=86=E7=9A=84=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lanzou-Enhanced.user.js | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/Lanzou-Enhanced.user.js b/Lanzou-Enhanced.user.js index c64e7f5a9..299702735 100644 --- a/Lanzou-Enhanced.user.js +++ b/Lanzou-Enhanced.user.js @@ -1,8 +1,8 @@ // ==UserScript== // @name 蓝奏云网盘增强 -// @version 1.5.3 +// @version 1.5.4 // @author X.I.U -// @description 文件排序、刷新不回根目录、快捷返回上一级(右键网页空白处)、后退返回上一级、右键文件显示菜单、点击直接下载文件、点击空白进入目录、自动显示更多文件、一键复制所有分享链接、自定义分享链接域名、自动打开/复制分享链接、带密码的分享链接自动输密码、拖入文件自动显示上传框、输入密码后回车确认、调整描述(话说)编辑框初始大小 +// @description 文件排序、刷新不回根目录、快捷返回上一级(右键网页空白处)、后退返回上一级、右键文件显示菜单、点击直接下载文件、点击空白进入目录、自动显示更多文件、一键复制所有分享链接、自定义分享链接域名、自动打开/复制分享链接、带密码的分享链接自动输密码、拖入文件自动显示上传框、输入密码后回车确认、调整文件重命名+描述(话说)编辑框初始大小 // @match *://lanzou.com/u // @match *://www.lanzou.com/u // @match *://www.lanzou.com/account.php* @@ -379,21 +379,10 @@ } - // 调整话说编辑框初始大小 + // 调整 文件重命名及话说 编辑框的初始大小 function folderDescdes() { if (!menu_value('menu_folderDescdesMenu')) return - let folderdescdes = mainframe.document.getElementById('folder_descdes'); // 寻找话说(描述)编辑框 - if (folderdescdes) { // 判断话说(描述)元素是否存在 - folderdescdes.style.cssText='margin: 15px 0px; width: 550px; height: 125px;' - } - let folderdescdes2 = mainframe.document.getElementById('fol_credes'); // 寻找话说(描述)编辑框 - if (folderdescdes2) { // 判断话说(描述)元素是否存在 - folderdescdes2.style.cssText='margin: 15px 0px; width: 550px; height: 125px;' - } - let folderdescdes3 = mainframe.document.getElementById('file_desc'); // 寻找话说(描述)编辑框 - if (folderdescdes3) { // 判断话说(描述)元素是否存在 - folderdescdes3.style.cssText='margin: 15px 0px; width: 550px; height: 125px;' - } + mainframe.document.lastChild.appendChild(mainframe.document.createElement('style')).textContent = `#folder_descdes, #fol_credes, #file_desc {margin: 15px 0px; width: 550px; height: 125px;} input#f_ename_new {min-width: 700px; font-size: 14px;}` } From d5c25a87827b6e19d8935e7d5dbfc91d5ffdf7bc Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 10 Apr 2024 16:27:48 +0800 Subject: [PATCH 002/513] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=87=8D=E5=91=BD=E5=90=8D=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=A1=86=E7=9A=84=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lanzou-Enhanced.user.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lanzou-Enhanced.user.js b/Lanzou-Enhanced.user.js index 299702735..3a85caeea 100644 --- a/Lanzou-Enhanced.user.js +++ b/Lanzou-Enhanced.user.js @@ -2,7 +2,7 @@ // @name 蓝奏云网盘增强 // @version 1.5.4 // @author X.I.U -// @description 文件排序、刷新不回根目录、快捷返回上一级(右键网页空白处)、后退返回上一级、右键文件显示菜单、点击直接下载文件、点击空白进入目录、自动显示更多文件、一键复制所有分享链接、自定义分享链接域名、自动打开/复制分享链接、带密码的分享链接自动输密码、拖入文件自动显示上传框、输入密码后回车确认、调整文件重命名+描述(话说)编辑框初始大小 +// @description 文件排序、刷新不回根目录、快捷返回上一级(右键网页空白处)、后退返回上一级、右键文件显示菜单、点击直接下载文件、点击空白进入目录、自动显示更多文件、一键复制所有分享链接、自定义分享链接域名、自动打开/复制分享链接、带密码的分享链接自动输密码、拖入文件自动显示上传框、输入密码后回车确认、优化编辑框初始大小 // @match *://lanzou.com/u // @match *://www.lanzou.com/u // @match *://www.lanzou.com/account.php* @@ -88,7 +88,7 @@ ['menu_refreshCorrection', '刷新不返回根目录', '刷新不返回根目录', true], ['menu_rightClickMenu', '右键文件显示菜单', '右键文件显示菜单', true], ['menu_directDownload', '点击直接下载文件 (分享链接列表页)', '点击直接下载文件', true], - ['menu_folderDescdesMenu', '调整描述(话说)编辑框大小', '调整描述(话说)编辑框大小', true], + ['menu_folderDescdesMenu', '优化编辑框初始大小', '优化编辑框初始大小', true], ['menu_fileSort', '文件排序', '文件排序', true] ], menu_ID = [], lastFolderID; for (let i=0;i Date: Fri, 12 Apr 2024 09:18:44 +0800 Subject: [PATCH 003/513] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20[=E5=8A=A8?= =?UTF-8?q?=E6=BC=AB=E4=B9=8B=E5=AE=B6](=E6=94=B9=E5=8A=A8=E6=80=81?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E4=BA=86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 69 --------------------------------------- 1 file changed, 69 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 21d79d929..7f3a34fd2 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3105,75 +3105,6 @@ "bF": "return fun.src_bF(pageE)" } }, - "动漫之家": { - "host": ["www.dmzj.com","www.idmzj.com"], - "url": "if (fun.indexOF('/view/')) {if (fun.getCookie('display_mode') != '1') {document.cookie='display_mode=1; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/';location.reload();}else{return true;}}", - "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;min-height: 200px;}", - "history": true, - "pager": { - "nextL": "span.next>a", - "pageE": "head>script[type]:not([src])", - "insertP": ["body",3], - "replaceE": ".wrap_last_mid", - "scriptT": 2, - "interval": 4000, - "scrollD": 3000 - }, - "function": { - "aF": "let _img = '', _img_arr; if (pages.indexOf('|') === -1){pages = pages.replace(/\\r\\n/g, '|')}; _img_arr = JSON.parse(pages).page_url.split('|'); for (let i=0;i<_img_arr.length;i++) {_img += ``;}; fun.getCSS('.comic_wraCon').insertAdjacentHTML('beforeend', _img);" - } - }, - "动漫之家 - 分类页": { - "host": ["www.dmzj.com","www.idmzj.com"], - "url": "/^\\/(category|update|rank)/", - "style": ".wrap_mhlist_l.con_left, .wrap_list {height: auto!important;}", - "blank": 3, - "pager": { - "nextL": "a.pg_next", - "pageE": "ul.list_con_li>li, .ph_r_con_li>div:not(.ad_column)", - "replaceE": ".page" - } - }, - "动漫之家 - 日漫": { - "host": ["manhua.dmzj.com","manhua.idmzj.com"], - "url": "if (fun.indexOF(/\\/\\d+\\.shtml/)) {let chapterScroll = fun.getCSS('#qiehuan_txt'); if (chapterScroll && chapterScroll.textContent === '切换到上下滚动阅读') {chapterScroll.click();} else {return true;}}", - "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;min-height: 200px;}", - "history": true, - "pager": { - "nextL": "#next_chapter", - "pageE": "head>script[type]:not([src])", - "insertP": ["body",3], - "replaceE": ".display_graybg", - "scriptT": 2, - "interval": 2000, - "scrollD": 3000 - }, - "function": { - "aF": "let _img = ''; for (let i=0;i`;}; fun.getCSS('#center_box').insertAdjacentHTML('beforeend', _img);" - } - }, - "动漫之家 - 日漫 - 分类页": { - "host": ["manhua.dmzj.com","manhua.idmzj.com"], - "url": "/^\\/tags/", - "pager": { - "type": 6, - "nextL": "//div[@class='pages']/a[contains(text(), '下一页')]", - "pageE": ".tcaricature_block>ul", - "replaceE": ".pages", - "forceHTTPS": true, - "loadTime": 800 - } - }, - "动漫之家 - 日漫 - 最近更新": { - "host": ["manhua.dmzj.com","manhua.idmzj.com"], - "url": "/^\\/update/", - "blank": 3, - "pager": { - "nextL": "//div[@class='pages']/a[contains(text(), '下一页')]", - "pageE": ".newpic_content > *:not(.pages)", - "replaceE": ".pages" - } - }, "快岸漫画": { "host": "www.kanbook.net", "url": "if (fun.indexOF(/^\\/\\d+\\/\\d+\\/\\d+/)) {if (fun.getCSS('img.img-fluid')){fun.getCSS('img.img-fluid').style.display = 'none';}; setTimeout(()=>{let _img = '';for (let i = 0; i < imagesUrlArr.length; i++) {_img += ``;};document.querySelector('.content-wrapper').insertAdjacentHTML('beforeend', _img);},500); return true;}", From 2efd8acbb24c24ec39bc9bcc447542397fbdb7cf Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 13 Apr 2024 19:19:33 +0800 Subject: [PATCH 004/513] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0=E9=80=9F?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index a717df116..e463e861c 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.5.19 +// @version 2.5.20 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁) @@ -14,6 +14,7 @@ // @match *://hub.nuaa.cf/* // @match *://hub.yzuu.cf/* // @match *://hub.scholar.rr.nu/* +// @match *://dgithub.xyz/* // @match *://kkgithub.com/* // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAACEUExURUxpcRgWFhsYGBgWFhcWFh8WFhoYGBgWFiUlJRcVFRkWFhgVFRgWFhgVFRsWFhgWFigeHhkWFv////////////r6+h4eHv///xcVFfLx8SMhIUNCQpSTk/r6+jY0NCknJ97e3ru7u+fn51BOTsPCwqGgoISDg6empmpoaK2srNDQ0FhXV3eXcCcAAAAXdFJOUwCBIZXMGP70BuRH2Ze/LpIMUunHkpQR34sfygAAAVpJREFUOMt1U+magjAMDAVb5BDU3W25b9T1/d9vaYpQKDs/rF9nSNJkArDA9ezQZ8wPbc8FE6eAiQUsOO1o19JolFibKCdHGHC0IJezOMD5snx/yE+KOYYr42fPSufSZyazqDoseTPw4lGJNOu6LBXVUPBG3lqYAOv/5ZwnNUfUifzBt8gkgfgINmjxOpgqUA147QWNaocLniqq3QsSVbQHNp45N/BAwoYQz9oUJEiE4GMGfoBSMj5gjeWRIMMqleD/CAzUHFqTLyjOA5zjNnwa4UCEZ2YK3khEcBXHjVBtEFeIZ6+NxYbPqWp1DLKV42t6Ujn2ydyiPi9nX0TTNAkVVZ/gozsl6FbrktkwaVvL2TRK0C8Ca7Hck7f5OBT6FFbLATkL2ugV0tm0RLM9fedDvhWstl8Wp9AFDjFX7yOY/lJrv8AkYuz7fuP8dv9izCYH+x3/LBnj9fYPBTpJDNzX+7cAAAAASUVORK5CYII= // @grant GM_registerMenuCommand @@ -42,7 +43,7 @@ ['https://dl.ghpig.top/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [feizhuqwq.com] 提供'], //['https://gh.flyinbug.top/gh/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [Mintimate] 提供'], // 错误 ['https://slink.ltd/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [知了小站] 提供'], - ['https://git.xfj0.cn/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [佚名] 提供'], + //['https://git.xfj0.cn/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [佚名] 提供'], // 无解析 ['https://gh.con.sh/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [佚名] 提供'], //['https://ghps.cc/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [佚名] 提供'], // 提示 blocked //['https://gh-proxy.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [佚名] 提供'], // 502 @@ -52,6 +53,7 @@ ['https://ghproxy.cc/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@yionchiii lau] 提供'], ['https://cf.ghproxy.cc/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], ['https://gh.jiasu.in/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], + ['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], //['https://download.fgit.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 被投诉挂了 ['https://download.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], ['https://download.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], @@ -78,6 +80,7 @@ //['https://ghproxy.cc/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 //['https://cf.ghproxy.cc/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 //['https://gh.jiasu.in/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], // 暂无必要 + //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], // 暂无必要 //['https://hub.fgit.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 被投诉挂了 //['https://hub.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 暂无必要 //['https://hub.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 暂无必要 @@ -106,6 +109,7 @@ //['https://ghproxy.cc/https://raw.githubusercontent.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 //['https://cf.ghproxy.cc/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 //['https://gh.jiasu.in/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], // 暂无必要 + //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], // 暂无必要 //['https://raw.fgit.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 被投诉挂了 //['https://raw.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 暂无必要 //['https://raw.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 暂无必要 @@ -220,7 +224,6 @@ } else { url = new_download_url[i][0] + href[1] } - if (location.host !== 'github.com') url = url.replace(location.host,'github.com') _html += `${new_download_url[i][1]}` } _this.parentElement.nextElementSibling.insertAdjacentHTML('beforeend', _html + ''); @@ -250,8 +253,6 @@ } else { url = new_download_url[i][0] + href } - if (location.host !== 'github.com') url = url.replace(location.host,'github.com') - html_clone_a.href = url html_clone_a.setAttribute('title', new_download_url[i][2].replaceAll(' ','\n')) html_clone_span.textContent = 'Download ZIP ' + new_download_url[i][1] From 890f411fff9ac2848178c1a8f3c7ad54c808238d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 14 Apr 2024 16:08:17 +0800 Subject: [PATCH 005/513] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=97=A0=E7=94=A8=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 | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 7f3a34fd2..eec883c89 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3495,16 +3495,6 @@ "replaceE": ".reader-footer" } }, - "知轩藏书": { - "host": "zxcs.me", - "url": "/\\/(sort|tag)\\//", - "blank": 4, - "pager": { - "nextL": "#pagenavi>span+a", - "pageE": "dl[id='plist']", - "replaceE": "#pagenavi" - } - }, "下书网": { "host": "mip.xiashucom.com", "url": "/\\/yue_/", @@ -6058,6 +6048,7 @@ "nhentai": { "host": ["nhentai.net","nhentai.to","nhentai.xxx"], "url": "return fun.getCSS('a.next, .current+a.page') && (fun.getCSS('.gallery, #image-container'))", + "style": "section#image-container img {max-width: 100% !important;height: auto !important;display: block !important;margin: 0 auto !important;}", "blank": 3, "pager": { "nextL": "a.next, .current+a.page", From dcee82938dcdfd27af8424eb587a7f6f6d0a14c9 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 15 Apr 2024 11:20:22 +0800 Subject: [PATCH 006/513] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=E7=BC=96=E8=BE=91=E6=A1=86=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lanzou-Enhanced.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lanzou-Enhanced.user.js b/Lanzou-Enhanced.user.js index 3a85caeea..e3cbabfde 100644 --- a/Lanzou-Enhanced.user.js +++ b/Lanzou-Enhanced.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 蓝奏云网盘增强 -// @version 1.5.4 +// @version 1.5.5 // @author X.I.U // @description 文件排序、刷新不回根目录、快捷返回上一级(右键网页空白处)、后退返回上一级、右键文件显示菜单、点击直接下载文件、点击空白进入目录、自动显示更多文件、一键复制所有分享链接、自定义分享链接域名、自动打开/复制分享链接、带密码的分享链接自动输密码、拖入文件自动显示上传框、输入密码后回车确认、优化编辑框初始大小 // @match *://lanzou.com/u @@ -382,7 +382,7 @@ // 优化编辑框初始大小 function folderDescdes() { if (!menu_value('menu_folderDescdesMenu')) return - mainframe.document.lastChild.appendChild(mainframe.document.createElement('style')).textContent = `#folder_descdes, #fol_credes, #file_desc {margin: 15px 0px; width: 550px; height: 125px;} input#f_ename_new {min-width: 700px; font-size: 14px;}` + mainframe.document.lastChild.appendChild(mainframe.document.createElement('style')).textContent = `#folder_descdes, #fol_credes, #file_desc {margin: 15px 0px; width: 550px; height: 125px;} input#f_ename_new {min-width: 700px; font-size: 14px;} #f_ename {z-index: 999;left: 15px;}` } From b1c455fbbc88735b6faf8b178a6aea843ed12c46 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 26 Apr 2024 18:29:14 +0800 Subject: [PATCH 007/513] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E5=B0=8F=E7=BB=86=E8=8A=82(=E6=9D=A5=E8=87=AA=20@wangliang1812?= =?UTF-8?q?30)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 25 +++++++++++----------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index e463e861c..7952bd73d 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.5.20 +// @version 2.5.21 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁) @@ -272,18 +272,18 @@ let href_split = html.value.split(location.host)[1], html_parent = '
', url = '', _html = '', _gitClone = ''; - html.nextElementSibling.hidden = true; // 隐藏右侧复制按钮 + html.nextElementSibling.hidden = true; // 隐藏右侧复制按钮(考虑到能直接点击复制,就不再重复实现复制按钮事件了) if (GM_getValue('menu_gitClone')) {_gitClone='git clone '; html.value = _gitClone + html.value; html.setAttribute('value', html.value);} // 克隆原 Git Clone 元素 let html_clone = html.cloneNode(true); for (let i=0;i' } html.parentElement.insertAdjacentHTML('afterend', _html); @@ -296,14 +296,14 @@ let href_split = html.value.split(':')[1], html_parent = '
', url = '', _html = '', _gitClone = ''; - html.nextElementSibling.hidden = true; // 隐藏右侧复制按钮 + html.nextElementSibling.hidden = true; // 隐藏右侧复制按钮(考虑到能直接点击复制,就不再重复实现复制按钮事件了) if (GM_getValue('menu_gitClone')) {_gitClone='git clone '; html.value = _gitClone + html.value; html.setAttribute('value', html.value);} // 克隆原 Git Clone SSH 元素 let html_clone = html.cloneNode(true); for (let i=0;i' } html.parentElement.insertAdjacentHTML('afterend', _html); @@ -361,15 +361,14 @@ cntElm_a = trElm.querySelector('[role="rowheader"] > .css-truncate.css-truncate-target.d-block.width-fit > a, .react-directory-truncate>a'), Name = cntElm_a.innerText, href = cntElm_a.getAttribute('href'), - href2 = href.replace('/blob/','/'), url, url_name, url_tip = ''; + href2 = href.replace('/blob/','/'), url = ''; if ((raw_url[menu_rawFast][0].indexOf('/gh') + 3 === raw_url[menu_rawFast][0].length) && raw_url[menu_rawFast][0].indexOf('cdn.staticaly.com') === -1) { url = raw_url[menu_rawFast][0] + href.replace('/blob/','@'); } else { url = raw_url[menu_rawFast][0] + href2; } - url_name = raw_url[menu_rawFast][1]; url_tip = raw_url[menu_rawFast][2]; - fileElm.insertAdjacentHTML('afterend', ``); + fileElm.insertAdjacentHTML('afterend', ``); // 绑定鼠标事件 trElm.onmouseover = mouseOverHandler; trElm.onmouseout = mouseOutHandler; From c06430a33688e05437fe96365486d6c294e54e9a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 10 May 2024 16:05:06 +0800 Subject: [PATCH 008/513] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20[B=E7=AB=99?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=A1=B5]=20=E6=94=AF=E6=8C=81(=E5=B7=B2?= =?UTF-8?q?=E7=BB=8F=E7=BA=AF=E5=8A=A8=E6=80=81=E6=97=A0=E6=B3=95=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E4=BA=86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 75 ++------------------------------------- other/Autopage/rules.json | 13 ------- 2 files changed, 3 insertions(+), 85 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 136766f0e..246fe6f20 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,9 +3,9 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 6.5.20 +// @version 6.5.21 // @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 ⭐无缝加载 下一页内容 至网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、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...) 等網站~ // @description:en Append the next page content to the bottom seamlessly (like a waterfall)~ // @match *://*/* @@ -64,13 +64,7 @@ // @exclude https://m.v.qq.com/* // @exclude https://v.qq.com/* // @exclude https://*.acfun.cn/* -// @exclude https://t.bilibili.com/* -// @exclude https://www.bilibili.com/* -// @exclude https://live.bilibili.com/* -// @exclude https://space.bilibili.com/* -// @exclude https://manga.bilibili.com/* -// @exclude https://member.bilibili.com/* -// @exclude https://message.bilibili.com/* +// @exclude https:///.bilibili.com/* // @exclude https://*.youtube.com/* // @exclude https://*.youtube-nocookie.com/* // @exclude https://*.cnki.net/* @@ -897,39 +891,6 @@ function: { scrollD: 3500 } }, // NexusMods posts - bilibili_search: { - host: 'search.bilibili.com', - url: ()=> { - urlC = true; - if ((lp == '/all' || lp == '/video') && getCSS('ul.video-list') != null) { - curSite = DBSite.bilibili_search; - } else if (lp == '/article' && getCSS('#article-list') != null) { - curSite = DBSite.bilibili_search_article; - } - }, - retry: 100, - pager: { - nextL: bilibili_search_nextL, - pageE: '//ul[contains(@class, "video-list")]/li | //script[contains(text(), "window.__INITIAL_STATE__")]', - insertP: ['ul.video-list', 3], - replaceE: 'ul.pages', - scriptT: 2, - scrollD: 1000 - }, - function: { - aF: bilibili_search_aF - } - }, // B 站(Bilibili) - 搜索页 - 视频 - bilibili_search_article: { - retry: 100, - pager: { - nextL: bilibili_search_nextL, - pageE: 'li.article-item', - replaceE: 'ul.pages', - //scriptT: 2, - scrollD: 1000 - } - }, // B 站(Bilibili) - 搜索页 - 专栏 manhuacat: { host: ['www.manhuacat.com', 'www.maofly.com','www.manhuafei.com'], url: ()=> {if (indexOF(/\/(manga|manhua)\/\d+\/.+\.html/)) { @@ -1489,36 +1450,6 @@ function: { } - // [bilibili_search] 获取下一页地址 - function bilibili_search_nextL() { - if (!location.search) return - let pageActive = 1, pageLast = parseInt(getXpath('//ul[@class="pages"]/li[contains(@class, "page-item")][not(contains(@class, "next") or contains(@class, "prev"))][last()]').innerText); - if (!pageLast) return - if (indexOF(/page=\d+/, 's')) { - pageActive = parseInt(/page=\d+/.exec(location.search)[0].replace('page=','')) - } - if (pageActive < pageLast) { - if (indexOF(/page=\d+/, 's')) { - return (location.origin + location.pathname + location.search.replace(/page=\d+/,`page=${pageActive+1}`)) - } else { - return (location.origin + location.pathname + location.search + `&page=${pageActive+1}`) - } - } - } - // [bilibili_search] 插入后函数(加载图片) - function bilibili_search_aF() { - let result = __INITIAL_STATE__.flow[__INITIAL_STATE__.flow.fields[0]].result; - if (result.length > 0) { - let imgArr = getAllCSS('.img>span:first-child'); - if (imgArr.length > 0) { - for (let i = 0; i < imgArr.length; i++) { - imgArr[i].insertAdjacentHTML('beforebegin', `
`); // 将 img 标签插入到网页中 - } - } - } - } - - // [漫画猫] 初始化(显示本话所以图片) function manhuacat_init() { let _img = ''; diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index eec883c89..19d91d04b 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2198,19 +2198,6 @@ "pageE": "a[data-id]" } }, - "bilibili - 新版搜索页": { - "host": "search.bilibili.com", - "url": "fun.isUrlC(); return ((fun.lp() == '/all' || fun.lp() == '/video' || fun.lp() == '/pgc' || fun.lp() == '/article') && !fun.getCSS('ul.video-list') && !fun.getCSS('#article-list'))", - "history": true, - "pager": { - "type": 6, - "nextL": "js; return fun.getNextEP('.vui_pagenation--btn-num.vui_button--active+button.vui_pagenation--btn-num', 'page=', /page=\\d+(&o=\\d+)?/)", - "pageE": ".video-list-item, .media-list>div, .video-list>div", - "replaceE": ".vui_pagenation--btns", - "loadTime": 600, - "scrollD": 3000 - } - }, "NO视频": { "host": "www.novipnoad.com", "url": "return (fun.lp() != '/' && !fun.indexOF('.html'))", From be4654567083580e6ca547a91bc063846e87315e Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 10 May 2024 16:07:04 +0800 Subject: [PATCH 009/513] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20[B=E7=AB=99?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=A1=B5]=20=E6=94=AF=E6=8C=81(=E5=B7=B2?= =?UTF-8?q?=E7=BB=8F=E7=BA=AF=E5=8A=A8=E6=80=81=E6=97=A0=E6=B3=95=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E4=BA=86)?= 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 246fe6f20..1d73cf4d9 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -64,7 +64,7 @@ // @exclude https://m.v.qq.com/* // @exclude https://v.qq.com/* // @exclude https://*.acfun.cn/* -// @exclude https:///.bilibili.com/* +// @exclude https://*.bilibili.com/* // @exclude https://*.youtube.com/* // @exclude https://*.youtube-nocookie.com/* // @exclude https://*.cnki.net/* From 694874b4e5a4b2018d82e309f1d8e19227b60a54 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 25 May 2024 13:57:09 +0800 Subject: [PATCH 010/513] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E5=8A=A0=E9=80=9F?= =?UTF-8?q?=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 7952bd73d..f4c0da62a 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.5.21 +// @version 2.5.22 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁) @@ -52,6 +52,9 @@ ['https://sciproxy.com/github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [sciproxy.com] 提供'], ['https://ghproxy.cc/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@yionchiii lau] 提供'], ['https://cf.ghproxy.cc/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], + ['https://www.ghproxy.cc/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], + ['https://ghproxy.cn/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], + ['https://www.ghproxy.cn/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], ['https://gh.jiasu.in/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], ['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], //['https://download.fgit.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 被投诉挂了 @@ -79,6 +82,9 @@ //['https://sciproxy.com/github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [sciproxy.com] 提供'], // 暂无必要 //['https://ghproxy.cc/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 //['https://cf.ghproxy.cc/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 + //['https://www.ghproxy.cc/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 + //['https://ghproxy.cn/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 + //['https://www.ghproxy.cn/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 //['https://gh.jiasu.in/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], // 暂无必要 //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], // 暂无必要 //['https://hub.fgit.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 被投诉挂了 @@ -108,6 +114,9 @@ //['https://raw.incept.pw', '香港', '[中国香港、美国] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // ERR_SSL_PROTOCOL_ERROR //['https://ghproxy.cc/https://raw.githubusercontent.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 //['https://cf.ghproxy.cc/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 + //['https://www.ghproxy.cc/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 + //['https://ghproxy.cn/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 + //['https://www.ghproxy.cn/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], // 暂无必要 //['https://gh.jiasu.in/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], // 暂无必要 //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], // 暂无必要 //['https://raw.fgit.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 被投诉挂了 From dca9c77c34505d8005b0a49d28bb6666ade0b2aa Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 26 May 2024 12:17:33 +0800 Subject: [PATCH 011/513] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E5=8A=A0=E9=80=9F?= =?UTF-8?q?=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, 3 insertions(+), 4 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index f4c0da62a..d0c4ed5b9 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.5.22 +// @version 2.5.23 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁) @@ -57,10 +57,9 @@ ['https://www.ghproxy.cn/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], ['https://gh.jiasu.in/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], ['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], - //['https://download.fgit.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 被投诉挂了 + ['https://download.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], ['https://download.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], ['https://download.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], - //['https://download.njuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 域名挂了 ['https://download.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'] ], download_url = [ //['https://download.fastgit.org', '德国', '[德国] - 该公益加速源由 [FastGit] 提供 提示:希望大家尽量多使用前面的美国节点(每次随机 4 个来负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~', 'https://archive.fastgit.org'], // 证书过期 @@ -105,7 +104,7 @@ //['https://gh-proxy.com/https://raw.githubusercontent.com', '韩国 2', '[韩国] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], ['https://ghproxy.net/https://raw.githubusercontent.com', '日本 1', '[日本 大阪] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], ['https://fastly.jsdelivr.net/gh', '日本 2', '[日本 东京] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], - ['https://fastraw.ixnic.net', '日本 3', '[日本 大阪] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], + ['https://fastraw.ixnic.net', '日本 3', '[日本 大阪] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 还有一个美国洛杉矶的 raw.ixnic.net //['https://gcore.jsdelivr.net/gh', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], // 变成 美国 Cloudflare CDN 了 ['https://cdn.jsdelivr.us/gh', '其他 1', '[韩国、美国、马来西亚、罗马尼亚等](CDN 不固定) - 该公益加速源由 [@ayao] 提供 - 缓存:有'], ['https://jsdelivr.b-cdn.net/gh', '其他 2', '[中国香港、台湾、日本、新加坡等](CDN 不固定) - 该公益加速源由 [@rttwyjz] 提供 - 缓存:有'], From 42aef2c9a542d7b912d9c47c637e213bb23f6bde Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 1 Jun 2024 14:39:28 +0800 Subject: [PATCH 012/513] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E7=BF=BB=E9=A1=B5?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F1=E5=92=8C3=E7=9A=84=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E6=96=B9=E5=BC=8F=20(=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=8E=9F=E7=94=9F=20XMLHttpRequest=20?= =?UTF-8?q?=E6=9D=A5=E8=A7=A3=E5=86=B3=E5=9B=A0=E7=BC=BA=E5=A4=B1=E8=B7=A8?= =?UTF-8?q?=E5=9F=9F=20cookie=20=E5=AF=BC=E8=87=B4=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=88=E6=AF=94=E5=A6=82=E4=B8=80=E4=BA=9B=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=20Cloudflare=20CDN=20=E4=BA=BA=E6=9C=BA=E9=AA=8C?= =?UTF-8?q?=E8=AF=81=E7=9A=84=E7=BD=91=E7=AB=99=EF=BC=8C=E4=BC=9A=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E8=84=9A=E6=9C=AC=E5=90=8E=E5=8F=B0=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=88=B0=E4=BA=BA=E6=9C=BA=E9=AA=8C=E8=AF=81=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=89)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 1d73cf4d9..019433a80 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 6.5.21 +// @version 6.6.0 // @author X.I.U // @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、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...) 等網站~ @@ -1867,7 +1867,37 @@ function: { // 翻页类型 1/3 function getPageE(url) { - GM_xmlhttpRequest({ + // 依靠原生 XMLHttpRequest 尝试解决因缺失跨域 cookie 导致的问题(比如一些使用 Cloudflare CDN 人机验证的网站,会出现脚本后台获取到人机验证页面) + const xhr = new XMLHttpRequest(); + xhr.open('GET', url, true); + xhr.overrideMimeType('text/html; charset=' + (document.characterSet||document.charset||document.inputEncoding)); + + if (curSite.xRequestedWith === true) {xhr.setRequestHeader('x-requested-with', 'XMLHttpRequest')} + (curSite.noReferer === true) ? xhr.setRequestHeader('Referer', ''):xhr.setRequestHeader('Referer', location.href) + xhr.setRequestHeader('User-Agent', navigator.userAgent) + xhr.setRequestHeader('Accept', 'text/html,application/xhtml+xml,application/xml') + + xhr.timeout = 10000; + xhr.onload = function() { + if (xhr.status >= 200 && xhr.status < 300) { + //console.log('URL:' + url, '最终 URL:' + xhr.responseURL, '返回内容:' + xhr.responseText) + processElems(createDocumentByString(xhr.responseText)); + } else { + console.error('[自动无缝翻页] - 处理获取到的下一页内容时出现问题,请检查!', xhr.statusText); + } + }; + xhr.onerror = function() { + console.log('URL:' + url, xhr.statusText) + GM_notification({text: '❌ 获取下一页失败...', timeout: 5000}); + }; + xhr.ontimeout = function() { + setTimeout(function(){curSite.pageUrl = '';}, 3000) + console.log('URL:' + url, xhr.statusText) + GM_notification({text: '❌ 获取下一页超时,可 3 秒后再次滚动网页重试(或尝试刷新网页)...', timeout: 5000}); + }; + xhr.send(); + + /*GM_xmlhttpRequest({ url: url, method: 'GET', overrideMimeType: 'text/html; charset=' + (document.characterSet||document.charset||document.inputEncoding), @@ -1895,7 +1925,7 @@ function: { console.log('URL:' + url, response) GM_notification({text: '❌ 获取下一页超时,可 3 秒后再次滚动网页重试(或尝试刷新网页)...', timeout: 5000}); } - }); + });*/ } // 翻页类型 4 function getPageE_(url, type = '', method = 'GET', data = '', type2) { From 4ccfb76d779decb0722feb4c1a6a66e9ed5cb4b5 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 1 Jun 2024 16:32:53 +0800 Subject: [PATCH 013/513] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E6=97=A0?= =?UTF-8?q?=E8=BF=BD=E6=90=9C=E7=B4=A2]=E3=80=81[nhentai]=20=E8=A7=84?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 19d91d04b..a5cdc17ec 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -120,7 +120,6 @@ "url": "if (fun.isMobile()) {return}; fun.isUrlC(); return (fun.lp() == '/s' && !fun.indexOF('a=image','s'))", "style": ".so-lazyimg{opacity: 1 !important;} .result {border: none !important;}", "history": true, - "noReferer": true, "pager": { "nextL": "#snext", "pageE": ".result,head>style", @@ -6034,12 +6033,12 @@ }, "nhentai": { "host": ["nhentai.net","nhentai.to","nhentai.xxx"], - "url": "return fun.getCSS('a.next, .current+a.page') && (fun.getCSS('.gallery, #image-container'))", + "url": "if (fun.indexOF(/^\\/g\\/\\d+\\/\\d+\\//)){const imageA = document.querySelector('#image-container>a'); imageA.outerHTML=imageA.innerHTML;return true;} else if (fun.getCSS('a.next') && fun.getCSS('.gallery')){return true;}", "style": "section#image-container img {max-width: 100% !important;height: auto !important;display: block !important;margin: 0 auto !important;}", "blank": 3, "pager": { "nextL": "a.next, .current+a.page", - "pageE": ".container>.gallery, .gallery-favorite, #image-container img", + "pageE": ".container>.gallery, #image-container img", "replaceE": ".pagination, .reader-pagination" }, "function": { From 9762aecc22480019fca651d1e3d5cd64e1832ad7 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 1 Jun 2024 16:34:27 +0800 Subject: [PATCH 014/513] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E4=B8=8A=E6=AC=A1?= =?UTF-8?q?=E6=94=B9=E5=8A=A8=E7=9A=84=E4=BB=A3=E7=A0=81=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20=E8=84=9A=E6=9C=AC=E5=86=85=E7=BD=AE=E5=87=BD?= =?UTF-8?q?=E6=95=B0=20fun.pageNumIncrement()=20=E7=94=A8=E4=BA=8E?= =?UTF-8?q?=E5=9C=A8=E7=89=B9=E6=AE=8A=E8=A7=84=E5=88=99=E6=83=85=E5=86=B5?= =?UTF-8?q?=E4=B8=8B=E6=89=8B=E5=8A=A8=E9=80=92=E5=A2=9E=E5=B7=A6=E4=B8=8B?= =?UTF-8?q?=E8=A7=92=E7=9A=84=E9=A1=B5=E7=A0=81=E6=95=B0=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 44 +++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 019433a80..6dbeab0ba 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 6.6.0 +// @version 6.6.1 // @author X.I.U // @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、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...) 等網站~ @@ -126,7 +126,7 @@ loadMoreExclude1 = ['.smzdm.com','stackoverflow.com'], loadMoreExclude2 = ['.steampowered.com','.zcool.com.cn'], menuId = [], webType = 0, curSite = {SiteTypeID: 0}, DBSite, DBSite2, pausePage = true, pageNum = {now: 1, _now: 1}, urlC = false, nowLocation = '', lp = location.pathname, scriptHandler; - window.autoPage = {lp: ()=>location.pathname, indexOF: indexOF, isMobile: isMobile, isUrlC: isUrlC, blank: forceTarget, getAll: getAll, getOne: getOne, getAllXpath: getAllXpath, getXpath: getXpath, getAllCSS: getAllCSS, getCSS: getCSS, getNextE: getNextE, getNextEP: getNextEP, getNextSP: getNextSP, getNextEPN: getNextEPN, getNextUPN: getNextUPN, getNextUP: getNextUP, getNextF: getNextF, getSearch: getSearch, getCookie: getCookie, insStyle: insStyle, insScript: insScript, cleanuEvent: cleanuEvent, src_bF: src_bF, xs_bF: xs_bF} + window.autoPage = {lp: ()=>location.pathname, indexOF: indexOF, isMobile: isMobile, isUrlC: isUrlC, blank: forceTarget, getAll: getAll, getOne: getOne, getAllXpath: getAllXpath, getXpath: getXpath, getAllCSS: getAllCSS, getCSS: getCSS, getNextE: getNextE, getNextEP: getNextEP, getNextSP: getNextSP, getNextEPN: getNextEPN, getNextUPN: getNextUPN, getNextUP: getNextUP, getNextF: getNextF, getSearch: getSearch, getCookie: getCookie, insStyle: insStyle, insScript: insScript, cleanuEvent: cleanuEvent, src_bF: src_bF, xs_bF: xs_bF, pageNumIncrement: pageNumIncrement} if (typeof GM_info != 'undefined') {scriptHandler = GM_info.scriptHandler;} else if (typeof GM != 'undefined' && typeof GM.info != 'undefined') {scriptHandler = GM.info.scriptHandler;} else {scriptHandler = '';} for (let i=0;i`;} if (_img) { getOne(curSite.pager.insertP[0]).insertAdjacentHTML(getAddTo(curSite.pager.insertP[1]), _img); // 将 img 标签插入到网页中 - pageNum.now = pageNum._now + 1 + pageNumIncrement() } } @@ -1537,7 +1537,7 @@ function: { // 将 img 标签插入到网页中 getOne(curSite.pager.insertP[0]).insertAdjacentHTML(getAddTo(curSite.pager.insertP[1]), imanhuaw_getIMG()); addHistory(pageE); - pageNum.now = pageNum._now + 1 + pageNumIncrement() } @@ -1580,7 +1580,7 @@ function: { _img += `` } getOne(curSite.pager.insertP[0]).insertAdjacentHTML(getAddTo(curSite.pager.insertP[1]), _img); // 将 img 标签插入到网页中 - pageNum.now = pageNum._now + 1 + pageNumIncrement() } @@ -1613,7 +1613,7 @@ function: { for (let i=1;i`;} getCSS(curSite.pager.insertP[0]).insertAdjacentHTML(getAddTo(curSite.pager.insertP[1]), _img); addHistory(pageE); - pageNum.now = pageNum._now + 1 + pageNumIncrement() } @@ -1658,7 +1658,7 @@ function: { // 插入