From 95cfa42155ba514cebceb54fbab199a795e9af57 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 8 Sep 2024 21:09:48 +0800 Subject: [PATCH 001/362] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20[=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E7=94=A8=E6=88=B7]=20=E5=8A=9F=E8=83=BD=E5=9C=A8?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=97=A0=E8=AF=84=E8=AE=BA=E7=9A=84=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E5=8C=BA=E6=97=B6=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98(=E6=97=A0=E6=84=9F=E7=9F=A5);=20=E7=A7=BB=E9=99=A4=20?= =?UTF-8?q?[=E7=A7=BB=E9=99=A4=E7=99=BB=E5=BD=95=E5=BC=B9=E7=AA=97]=20?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BB=A3=E7=A0=81(=E5=8F=8D=E6=AD=A3?= =?UTF-8?q?=E4=B9=9F=E6=B2=A1=E4=BB=80=E4=B9=88=E6=84=8F=E4=B9=89=E4=BA=86?= =?UTF-8?q?=EF=BC=8C=E7=95=99=E7=9D=80=E5=8F=8D=E8=80=8C=E6=98=AF=E4=B8=8D?= =?UTF-8?q?=E6=98=AF=E8=A2=AB=E9=97=AE...)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 39 ++------------------------------------- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index ccb3edd77..8667ce41e 100644 --- a/Zhihu-Enhanced.user.js +++ b/Zhihu-Enhanced.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 知乎增强 // @name:zh-TW 知乎增強 // @name:en Zhihu enhancement -// @version 2.3.8 +// @version 2.3.9 // @author X.I.U // @description 屏蔽指定类别(视频、盐选、文章、想法、关注[赞同了XX/关注了XX]等等)、屏蔽用户、屏蔽关键词、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、区分问题文章、移除高亮链接、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、默认高清原图(无水印)、置顶显示时间、完整问题时间、直达问题按钮、默认站外直链... // @description:zh-TW 屏蔽指定類別(視頻、鹽選、文章、想法、關注[贊同了XX/關注了XX]等等)、屏蔽用戶、屏蔽關鍵詞、默認收起回答、快捷收起回答/評論、快捷回到頂部、區分問題文章、移除高亮鏈接、默認高清原圖(無水印)、默認站外直鏈... @@ -657,7 +657,7 @@ function blockUsers(type) { for (const target of mutation.addedNodes) { if (target.nodeType != 1) return //console.log(target, target.className) - if (target.className && (target.className.indexOf('css-') == 0 || target.style == 'opacity: 1;')) { + if (target.tagName == 'DIV' && target.className && (target.className.indexOf('css-') == 0 || target.style == 'opacity: 1;')) { const item = target.querySelector('.MemberButtonGroup.ProfileButtonGroup.HoverCard-buttons'), item1 = target.querySelector('img.Avatar+div span.UserLink>a.UserLink-link[data-za-detail-view-element_name=User]'); if (item1) { @@ -1178,40 +1178,6 @@ function questionRichTextMore() { } -// 知乎免登录 -function removeLogin() { - const removeLoginModal = (mutationsList, observer) => { - for (const mutation of mutationsList) { - for (const target of mutation.addedNodes) { - if (target.nodeType != 1) return - if (target.querySelector('.signFlowModal')) { - let button = target.querySelector('.Button.Modal-closeButton.Button--plain'); - if (button) button.click(); - } else if (getXpath('//button[text()="立即登录/注册"]',target)) { - target.remove(); - } - } - } - }; - - // 未登录时才会监听并移除登录弹窗 - if(location.hostname === 'zhuanlan.zhihu.com') { // 如果是文章页 - if (!document.querySelector('.ColumnPageHeader-profile>.AppHeader-menu')) { // 未登录 - const observer = new MutationObserver(removeLoginModal); - observer.observe(document, { childList: true, subtree: true }); - if (getXpath('//button[text()="登录/注册"]')) getXpath('//button[text()="登录/注册"]').outerHTML = '登录/注册'; // [登录] 按钮跳转至登录页面 - } - } else { // 不是文章页 - if (!document.querySelector('.AppHeader-profile>.AppHeader-menu')) { // 未登录 - const observer = new MutationObserver(removeLoginModal); - observer.observe(document, { childList: true, subtree: true }); - document.lastElementChild.appendChild(document.createElement('style')).textContent = '.Question-mainColumnLogin, button.AppHeader-login {display: none !important;}'; // 屏蔽问题页中间的登录提示 - if (getXpath('//button[text()="登录/注册"]')) getXpath('//button[text()="登录/注册"]').outerHTML = '登录/注册'; // [登录] 按钮跳转至登录页面 - } - } -} - - // 净化标题消息 function cleanTitles() { if (!menu_value('menu_cleanTitles')) return @@ -1518,7 +1484,6 @@ function blockHotOther() { } }) - removeLogin(); // 移除登录弹窗,Violentmonkey 不能延迟执行这个 cleanTitles(); // 净化标题消息,不能延迟执行 // Violentmonkey 比 Tampermonkey 加载更早,会导致一些元素还没加载,因此需要延迟一会儿 // Tampermonkey 4.18.0 版本可能需要延迟一会执行 From d55809221316b1a964fc00a16fa5c00a09b82f2a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 12 Sep 2024 10:56:40 +0800 Subject: [PATCH 002/362] =?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 | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 8d4841970..6af85fcd2 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.6.3 +// @version 2.6.4 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁) @@ -56,18 +56,15 @@ ['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://gh.jiasu.in/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], // 404 ['https://github.tmby.shop/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [blog.tmby.shop] 提供'], ['https://github.moeyy.xyz/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@Moeyy] 提供'], ['https://hub.whtrys.space', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [FastGit 群组成员] 提供'], ['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], ['https://download.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供'], - //['https://download.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 - //['https://download.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 - //['https://download.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 证书到期 //], download_url = [ // 为了缓解非美国公益节点压力(考虑到很多人无视前面随机的美国节点),干脆也将其加入随机 ['https://ghproxy.net/https://github.com', '英国', '[英国伦敦] - 该公益加速源由 [ghproxy] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], - ['https://mirror.ghproxy.com/https://github.com', '其他', '[日本、新加坡、美国、德国、巴西等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], + ['https://ghp.ci/https://github.com', '其他', '[日本、韩国、新加坡、美国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], ['https://kkgithub.com', '其他', '[中国香港、日本、韩国、新加坡等] - 该公益加速源由 [help.kkgithub.com] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], //['https://download.incept.pw', '香港', '[中国香港] - 该公益加速源由 [FastGit 群组成员] 提供 提示:希望大家尽量多使用前面的美国节点(每次随机 4 个来负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], // ERR_SSL_PROTOCOL_ERROR ], clone_url = [ @@ -75,7 +72,7 @@ ['https://kkgithub.com', '香港', '[中国香港、日本、新加坡等] - 该公益加速源由 [help.kkgithub.com] 提供'], //['https://hub.incept.pw', '香港', '[中国香港、美国] - 该公益加速源由 [FastGit 群组成员] 提供'], // 错误 ['https://gitdl.cn/https://github.com', '香港', '[中国香港] - 该公益加速源由 [gitdl] 提供'], - ['https://mirror.ghproxy.com/https://github.com', '韩国', '[日本、韩国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供'], + ['https://ghp.ci/https://github.com', '韩国', '[日本、韩国、新加坡、美国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供'], ['https://githubfast.com', '韩国', '[韩国] - 该公益加速源由 [Github Fast] 提供'], ['https://ghproxy.net/https://github.com', '日本', '[日本 大阪] - 该公益加速源由 [ghproxy] 提供'], //['https://github.moeyy.xyz/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@Moeyy] 提供'], @@ -88,7 +85,7 @@ //['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://gh.jiasu.in/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], // 404 //['https://github.tmby.shop/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [blog.tmby.shop] 提供'], //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], //['https://hub.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], @@ -103,9 +100,9 @@ ['https://raw.githubusercontent.com', 'Github 原生', '[日本 东京]'], ['https://raw.kkgithub.com', '香港 1', '[中国香港、日本、新加坡等] - 该公益加速源由 [help.kkgithub.com] 提供'], ['https://jsd.proxy.aks.moe/gh', '香港 2', '[中国 香港] - 该公益加速源由 [cdn.akass.cn] 提供 - 缓存:有(官方标注 2 小时)'], - ['https://cdn.jsdelivr.us/gh', '香港 3', '[中国 香港] - 该公益加速源由 [@ayao] 提供 - 缓存:有'], + //['https://cdn.jsdelivr.us/gh', '香港 3', '[中国 香港] - 该公益加速源由 [@ayao] 提供 - 缓存:有'], // 挂了 ['https://gitdl.cn/https://raw.githubusercontent.com', '香港 4', '[中国香港] - 该公益加速源由 [gitdl] 提供'], - ['https://mirror.ghproxy.com/https://raw.githubusercontent.com', '韩国', '[日本、韩国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供'], + ['https://ghp.ci/https://raw.githubusercontent.com', '韩国', '[日本、韩国、新加坡、美国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供'], ['https://ghproxy.net/https://raw.githubusercontent.com', '日本 1', '[日本 大阪] - 该公益加速源由 [ghproxy] 提供'], ['https://fastly.jsdelivr.net/gh', '日本 2', '[日本 东京] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], ['https://jsdelivr.pai233.top/gh', '日本 3', '[日本 东京](Vercel Anycast) - 该公益加速源由 [blog.pai233.top] 提供 - 缓存:有'], @@ -119,7 +116,7 @@ //['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://gh.jiasu.in/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], // 404 //['https://github.tmby.shop/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [blog.tmby.shop] 提供'], //['https://gh-proxy.com/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [ghproxy] 提供'], //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], @@ -212,7 +209,7 @@ // download_url 随机几个美国加速源 function get_New_download_url() { - //return download_url_us.concat(download_url) // 全输出调试用 + //return download_url_us // 全输出调试用 let shuffled = download_url_us.slice(0), i = download_url_us.length, min = i - 6, temp, index; while (i-- > min) {index = Math.floor((i + 1) * Math.random()); temp = shuffled[index]; shuffled[index] = shuffled[i]; shuffled[i] = temp;} return shuffled.slice(min)//.concat(download_url); // 随机洗牌 download_url_us 数组并取前几个,然后将其合并至 download_url 数组 From 60dade2ff5e40e75328cd01499798e737f73a439 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 12 Sep 2024 10:56:57 +0800 Subject: [PATCH 003/362] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=A4=96=E7=BD=AE?= =?UTF-8?q?=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99=E5=88=86=E6=B5=81=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 3eb757234..d340d0103 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.30 +// @version 6.6.31 // @author X.I.U // @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流,无限滚动,无需手动点击下一页)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、MyBB、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...) 等網站~ @@ -17,7 +17,6 @@ // @connect raw.ixnic.net // @connect raw.nuaa.cf // @connect raw.yzuu.cf -// @connect raw.scholar.rr.nu // @connect raw.kkgithub.com // @connect raw.incept.pw // @connect gitdl.cn @@ -100,12 +99,11 @@ 'https://raw.ixnic.net/XIU2/UserScript/master/other/Autopage/rules.json', 'https://raw.nuaa.cf/XIU2/UserScript/master/other/Autopage/rules.json', 'https://raw.yzuu.cf/XIU2/UserScript/master/other/Autopage/rules.json', - //'https://raw.scholar.rr.nu/XIU2/UserScript/master/other/Autopage/rules.json', 'https://ghproxy.cc/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', 'https://ghproxy.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', - 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', + 'https://ghp.ci/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', //'https://github.moeyy.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', - 'https://cdn.jsdelivr.us/gh/XIU2/UserScript/other/Autopage/rules.json', + //'https://cdn.jsdelivr.us/gh/XIU2/UserScript/other/Autopage/rules.json', 'https://jsd.onmicrosoft.cn/gh/XIU2/UserScript/other/Autopage/rules.json', //'https://gcore.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json', 'https://fastly.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json', @@ -123,9 +121,8 @@ 'https://raw.ixnic.net/XIU2/UserScript/master/other/Autopage/rules.json', 'https://raw.nuaa.cf/XIU2/UserScript/master/other/Autopage/rules.json', 'https://raw.yzuu.cf/XIU2/UserScript/master/other/Autopage/rules.json', - //'https://raw.scholar.rr.nu/XIU2/UserScript/master/other/Autopage/rules.json', 'https://ghproxy.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', - 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', + 'https://ghp.ci/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', //'https://github.moeyy.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', ], loadMoreExclude1 = ['.smzdm.com','stackoverflow.com'], From f6c0482f47cd7a82c50f36fc9c6461f3fa3f3f0f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 12 Sep 2024 11:02:59 +0800 Subject: [PATCH 004/362] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=A4=96=E7=BD=AE?= =?UTF-8?q?=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99=E5=88=86=E6=B5=81=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index d340d0103..43f82e230 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -22,7 +22,7 @@ // @connect gitdl.cn // @connect ghproxy.cc // @connect ghproxy.net -// @connect mirror.ghproxy.com +// @connect ghp.ci // @connect github.moeyy.xyz // @connect jsd.onmicrosoft.cn // @connect cdn.jsdelivr.us @@ -102,7 +102,7 @@ 'https://ghproxy.cc/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', 'https://ghproxy.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', 'https://ghp.ci/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', - //'https://github.moeyy.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', + 'https://github.moeyy.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', //'https://cdn.jsdelivr.us/gh/XIU2/UserScript/other/Autopage/rules.json', 'https://jsd.onmicrosoft.cn/gh/XIU2/UserScript/other/Autopage/rules.json', //'https://gcore.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json', @@ -123,7 +123,7 @@ 'https://raw.yzuu.cf/XIU2/UserScript/master/other/Autopage/rules.json', 'https://ghproxy.net/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', 'https://ghp.ci/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', - //'https://github.moeyy.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', + 'https://github.moeyy.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', ], loadMoreExclude1 = ['.smzdm.com','stackoverflow.com'], loadMoreExclude2 = ['.steampowered.com','.zcool.com.cn']; From 312f5f708ad2937f742cafcbc4dd0edb1b0b2da7 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 17 Sep 2024 11:39:24 +0800 Subject: [PATCH 005/362] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=A4=96=E7=BD=AE?= =?UTF-8?q?=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99=E5=88=86=E6=B5=81=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Autopage.user.js b/Autopage.user.js index 43f82e230..5473c4b72 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,13 +3,14 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 6.6.31 +// @version 6.6.32 // @author X.I.U // @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流,无限滚动,无需手动点击下一页)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、MyBB、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, Unlimited scrolling, no need to manually click on the next page)~ // @match *://*/* // @connect userscript.xiu2.xyz +// @connect userscript.xiu2.us.kg // @connect userscript.h233.eu.org // @connect bitbucket.org // @connect js.cdn.haah.net @@ -92,6 +93,7 @@ 'use strict'; const urlArr = [ // 外置翻页规则更新地址分流,以确保更新成功率(记得 connect) 'https://userscript.h233.eu.org/other/Autopage/rules.json', + 'https://userscript.xiu2.us.kg/other/Autopage/rules.json', 'https://bitbucket.org/xiu2/userscript/raw/master/other/Autopage/rules.json', 'https://raw.kkgithub.com/XIU2/UserScript/master/other/Autopage/rules.json', 'https://gitdl.cn/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', @@ -114,6 +116,7 @@ 'https://js.cdn.haah.net/gh/XIU2/UserScript/other/Autopage/rules.json', ], urlArr2 = [ 'https://userscript.h233.eu.org/other/Autopage/rules.json', + 'https://userscript.xiu2.us.kg/other/Autopage/rules.json', 'https://userscript.xiu2.xyz/other/Autopage/rules.json', 'https://bitbucket.org/xiu2/userscript/raw/master/other/Autopage/rules.json', 'https://raw.kkgithub.com/XIU2/UserScript/master/other/Autopage/rules.json', From 7dfc75382911af5aef89b500db3c704ccca88c84 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 17 Sep 2024 11:39:30 +0800 Subject: [PATCH 006/362] =?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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 6af85fcd2..923b498a1 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.6.4 +// @version 2.6.5 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁) @@ -39,6 +39,7 @@ var backColor = '#ffffff', fontColor = '#888888', menu_rawFast = GM_getValue('xiu2_menu_raw_fast'), menu_rawFast_ID, menu_rawDownLink_ID, menu_gitClone_ID, menu_feedBack_ID; const download_url_us = [ ['https://gh.h233.eu.org/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@X.I.U/XIU2] 提供'], + ['https://gh.xiu2.us.kg/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@X.I.U/XIU2] 提供'], //['https://gh.api.99988866.xyz/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [hunshcn/gh-proxy] 提供'], // 官方演示站用的人太多了 ['https://gh.ddlc.top/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@mtr-static-official] 提供'], //['https://gh2.yanqishui.work/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@HongjieCN] 提供'], // 错误 From 6188f73b46300529031458f1614af49056272e64 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:06:14 +0800 Subject: [PATCH 007/362] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=B8=A6?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E7=9A=84=E5=88=86=E4=BA=AB=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E8=BE=93=E5=AF=86=E7=A0=81]=20=E5=AF=B9=20`?= =?UTF-8?q?=3Fpwd=3D`=20=E5=92=8C=20`=3Fpasswd=3D`=20=E7=9A=84=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lanzou-Enhanced.user.js | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/Lanzou-Enhanced.user.js b/Lanzou-Enhanced.user.js index e3cbabfde..f0a30b9ef 100644 --- a/Lanzou-Enhanced.user.js +++ b/Lanzou-Enhanced.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 蓝奏云网盘增强 -// @version 1.5.5 +// @version 1.5.6 // @author X.I.U // @description 文件排序、刷新不回根目录、快捷返回上一级(右键网页空白处)、后退返回上一级、右键文件显示菜单、点击直接下载文件、点击空白进入目录、自动显示更多文件、一键复制所有分享链接、自定义分享链接域名、自动打开/复制分享链接、带密码的分享链接自动输密码、拖入文件自动显示上传框、输入密码后回车确认、优化编辑框初始大小 // @match *://lanzou.com/u @@ -148,6 +148,7 @@ if (window.top.location.pathname === '/u' || window.top.location.pathname.indexOf('account.php') > -1 || window.top.location.pathname.indexOf('mydisk.php') > -1) { // 后台页 if (window.top.location.href != 'https://pc.woozooo.com/mydisk.php') window.top.location.href = 'https://pc.woozooo.com/mydisk.php'; + RememberLoginStatus() // 通过延长 cookie 到期时间来一直记住登录状态 var mainframe; iframe(); } else if (window.top.location.pathname.indexOf('%') > -1) { // > 带密码的分享链接页面 @@ -197,16 +198,16 @@ shareLink = location.origin + shareLink[0] let password = location.pathname.replace('%E5%AF%86%E7%A0%81',':').replace(/%([A-Z]|[0-9]){2}/ig, '').split(':') if (password.length > 0) { - location.replace(shareLink + '?password=' + password[password.length - 1]) + location.replace(shareLink + '?pwd=' + password[password.length - 1]) } } } } - // 自动输入密码(仅支持访问 带密码的分享链接 时) + // 自动输入密码(仅支持访问 带密码的分享链接 时,比如上面 [带密码的分享链接自动输密码] 功能重定向后的链接) function enterPassword() { - if (location.search.indexOf('?password=') > -1) { + if (location.search.indexOf('?pwd=') > -1 || location.search.indexOf('?passwd=') > -1 || location.search.indexOf('?password=') > -1) { let password = location.search.split('=') if (password.length > 0) { document.getElementById('pwd').value = password[password.length - 1] @@ -624,6 +625,24 @@ observer.observe(mainframe.document, { childList: true, subtree: true }); } + // 通过延长 cookie 到期时间来一直记住登录状态 + function RememberLoginStatus() { + // 获取 Cookie + function getCookie(name) { + if (!name) return '' + let arr = document.cookie.split(';'); + name += '='; + for (let i=0; i Date: Fri, 20 Sep 2024 11:43:55 +0800 Subject: [PATCH 008/362] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[steamrip]=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index af5031cc1..b68aa3fab 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2104,6 +2104,16 @@ "replaceE": ".bottom-page" } }, + "steamrip": { + "host": "steamrip.com", + "url": "return fun.isPager()", + "blank": 3, + "pager": { + "nextL": "a.next.page-numbers,li.the-next-page>a", + "pageE": "li.post-item,.post-element", + "replaceE": ".pages-numbers" + } + }, "GBAtemp - 帖子内": { "host": "gbatemp.net", "url": "/^\\/threads\\//", From c032db59e330f81ccb05588fb481555db0367478 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:44:10 +0800 Subject: [PATCH 009/362] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=A6=82?= =?UTF-8?q?=E6=BC=AB=E7=94=BB]=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index b68aa3fab..589f35275 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3111,6 +3111,16 @@ "replaceE": ".uk-pagination" } }, + "如漫画": { + "host": "www.rumanhua.com", + "url": "return fun.isPager('n')", + "pager": { + "type": 6, + "nextL": ".main_control>a", + "pageE": ".chapter-img-box", + "replaceE": ".main_control" + } + }, "漫画星球 / 6 漫画": { "host": ["/\\.mhxqiu/","/^www\\.sixmh\\d\\./"], "url": "if (fun.indexOF(/\\/\\d+\\.html/)) {return true;} else if (fun.indexOF(/\\/\\d+\\/$/)) {setTimeout(()=>{if (document.getElementById('zhankai')) document.getElementById('zhankai').click();},500);}", From 00deccb154ebf18c5b59204f1665caa41a6729d0 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:56:23 +0800 Subject: [PATCH 010/362] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=A4=96=E7=BD=AE?= =?UTF-8?q?=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99=E5=88=86=E6=B5=81=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 5473c4b72..9ba9e05a3 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.32 +// @version 6.6.33 // @author X.I.U // @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流,无限滚动,无需手动点击下一页)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、MyBB、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...) 等網站~ @@ -14,7 +14,6 @@ // @connect userscript.h233.eu.org // @connect bitbucket.org // @connect js.cdn.haah.net -// @connect jsdelivr.b-cdn.net // @connect raw.ixnic.net // @connect raw.nuaa.cf // @connect raw.yzuu.cf @@ -109,7 +108,6 @@ 'https://jsd.onmicrosoft.cn/gh/XIU2/UserScript/other/Autopage/rules.json', //'https://gcore.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json', 'https://fastly.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json', - 'https://jsdelivr.b-cdn.net/gh/XIU2/UserScript/other/Autopage/rules.json', 'https://cdn.jsdmirror.com/gh/XIU2/UserScript/other/Autopage/rules.json', 'https://jsd.proxy.aks.moe/gh/XIU2/UserScript/other/Autopage/rules.json', 'https://jsdelivr.pai233.top/gh/XIU2/UserScript/other/Autopage/rules.json', @@ -504,12 +502,12 @@ pager: { nextText: 按钮文本,当按钮文本 = 该文本时,才会点击按钮加载下一页(避免一瞬间加载太多次下一页,下同) nextTextOf: 按钮文本的一部分,当按钮文本包含该文本时,才会点击按钮加载下一页 nextHTML: 按钮内元素,当按钮内元素 = 该元素内容时,才会点击按钮加载下一页 - interval: 点击间隔时间,对于没有按钮文字变化的按钮,可以手动指定间隔时间(单位 ms,默认 500,当指定上面三个时,会忽略 interval) + interval: 点击间隔时间,对于没有按钮文字变化的按钮,可以手动指定间隔时间(省略后默认 500ms,当指定上面三个时,会忽略 interval) isHidden: 只有下一页按钮可见时(没有被隐藏),才会点击 3 = 依靠 [基准元素] 与 [浏览器可视区域底部] 之间的距离缩小来触发翻页(适用于:主体元素下方内容太多 且 高度不固定时) scrollE: 作为基准线的元素(一般为底部页码元素),和 replaceE 一样的话可以省略 - scrollD: 基准元素 - 可视区域底部 + scrollD: 当 [基准元素] 与 [可视区域底部] 之间的距离 等于或小于该值时,将触发翻页,省略后默认 2000 4 = 动态加载类网站(适用于:简单的动态加载内容网站) insertE: 用来插入元素的函数 @@ -519,7 +517,7 @@ pager: { iframe: 这个必须加到 pager{} 外面(这样才会在该域名的 iframe 框架下运行脚本) 6 = 通过 iframe 获取下一页动态加载内容插入本页,只有一个娃(适用于:部分动态加载内容的网站,与上面不同的是,该模式适合简单的网页,没有复杂事件什么的) - loadTime: 预留的网页加载时间,确保网页内容加载完成 + loadTime: 预留的网页加载时间,确保网页内容加载完成(省略后默认为 300ms) nextL: 下一页链接所在元素 pageE: 要从下一页获取的元素 @@ -537,7 +535,7 @@ pager: { 注意:如 pageE 中选择了多类元素,则不能省略 insertP(比如包含 `,` 与 `|` 符号),除非另外的选择器是