From 167de17d1f1580540c43d2ea2c4e90b8e0e35853 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 18 Jul 2024 11:32:21 +0800 Subject: [PATCH 001/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E5=85=B3=E9=94=AE=E8=AF=8D=20-=20=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E5=8C=BA]=20=E8=8F=9C=E5=8D=95=E9=80=89=E9=A1=B9(=E5=8F=AF?= =?UTF-8?q?=E5=8D=95=E7=8B=AC=E6=8E=A7=E5=88=B6=E5=B1=8F=E8=94=BD=E5=85=B3?= =?UTF-8?q?=E9=94=AE=E8=AF=8D=E6=98=AF=E5=90=A6=E4=BD=9C=E7=94=A8=E4=BA=8E?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=E5=8C=BA)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index 2eb6efd6a..4a33d5264 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.4 +// @version 2.3.5 // @author X.I.U // @description 屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容/热榜杂项、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、默认高清原图(无水印)、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认站外直链... // @description:zh-TW 屏蔽首頁視頻、默認收起回答、快捷收起回答/評論、快捷回到頂部、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化搜索熱門、淨化標題消息、默認高清原圖(無水印)、置頂顯示時間、完整問題時間、區分問題文章、默認站外直鏈... @@ -38,6 +38,7 @@ var menu_ALL = [ ['menu_blockUsers', '屏蔽指定用户', '屏蔽指定用户', true], ['menu_customBlockUsers', '自定义屏蔽用户', '自定义屏蔽用户', ['故事档案局', '盐选推荐', '盐选科普', '盐选成长计划', '知乎盐选会员', '知乎盐选创作者', '盐选心理', '盐选健康必修课', '盐选奇妙物语', '盐选生活馆', '盐选职场', '盐选文学甄选', '盐选作者小管家', '盐选博物馆', '盐选点金', '盐选测评室', '盐选科技前沿', '盐选会员精品']], ['menu_blockKeywords', '屏蔽指定关键词', '屏蔽指定关键词', true], + ['menu_blockKeywordsComment', '屏蔽关键词 - 评论区', '屏蔽关键词 - 评论区', true], ['menu_customBlockKeywords', '自定义屏蔽关键词', '自定义屏蔽关键词', []], ['menu_blockType', '屏蔽指定类别 (视频/文章等)', '勾选 = 屏蔽该类别的信息流', ''], ['menu_blockTypeVideo', '视频 [首页、搜索页、问题页]', '视频(首页、搜索页、问题页)', true], @@ -68,10 +69,12 @@ function registerMenuCommand() { } for (let i=0;i Date: Sat, 20 Jul 2024 12:44:12 +0800 Subject: [PATCH 002/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E9=83=A8?= =?UTF-8?q?=E5=88=86=E8=87=AA=E5=B8=A6=E6=97=A0=E7=BC=9D=E7=BF=BB=E9=A1=B5?= =?UTF-8?q?=E7=9A=84=E7=BD=91=E7=AB=99]=20=E9=80=9A=E7=94=A8=E8=A7=84?= =?UTF-8?q?=E5=88=99?= 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 3d9f9a471..77e2c963a 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,11 +3,11 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 6.6.15 +// @version 6.6.16 // @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)~ +// @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.h233.eu.org @@ -297,7 +297,7 @@ } else if (getCSS('head meta[name="generator" i][content="nexusphp" i]') || getXpath('id("footer")[contains(string(), "NexusPHP")]')) { console.info(`[自动无缝翻页] - 论坛`); return 7; - } else if (loadMoreExclude(loadMoreExclude1) && getAllCSS('.load-more, .load_more, .loadmore, #load-more, #load_more, #loadmore, [id^="loadmore"], .show-more, .show_more').length === 1) { + } else if (loadMoreExclude(loadMoreExclude1) && getAllCSS('.load-more, .load_more, .loadmore, #load-more, #load_more, #loadmore, [id^="loadmore"], .show-more, .show_more, .ajax-more').length === 1) { console.info(`[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 1`); return 8; } else if (loadMoreExclude(loadMoreExclude2) && getAllXpath('//*[self::a or self::span or self::button or self::div][text()="加载更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]').length === 1) { @@ -436,7 +436,7 @@ case 7: // < 所有 NexusPHP 论坛 > DBSite.nexusphp.url(); break; case 8: // < 部分自带 自动无缝翻页 的网站 1 > - DBSite.loadmore.url('.load-more, .load_more, .loadmore, #load-more, #load_more, #loadmore, [id^="loadmore"], .show-more, .show_more'); break; + DBSite.loadmore.url('.load-more, .load_more, .loadmore, #load-more, #load_more, #loadmore, [id^="loadmore"], .show-more, .show_more, .ajax-more'); break; case 9: // < 部分自带 自动无缝翻页 的网站 2 > DBSite.loadmore.url('//*[self::a or self::span or self::button or self::div][text()="加载更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]'); break; case 10: // < 部分使用 WordPress 的网站 > From 213347bf62313e342dda7e177418229ea5b6f55b Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 21 Jul 2024 14:32:49 +0800 Subject: [PATCH 003/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=88=B1?= =?UTF-8?q?=E5=A6=B9=E5=AD=90]=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 | 80 +++++++++++++++++++++------------------ 1 file changed, 44 insertions(+), 36 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 6f877b790..33cacb373 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -31,35 +31,35 @@ "replaceE": "#pageFooter" } }, - "谷歌搜索 - 手机版": { - "host": "/^www\\.google\\./", - "url": "return (fun.lp() == '/search' && (!fun.indexOF('tbm=', 's') || (fun.indexOF('tbm=nws', 's') || fun.indexOF('tbm=vid', 's') || fun.indexOF('tbm=bks', 's'))) && (fun.indexOF('sclient=mobile', 's') || fun.isMobile()))", - "pager": { - "nextL": "footer>div:first-child a[aria-label]", - "pageE": "id('main')/div[position()>1][position()div:first-child a[aria-label]", - "pageE": "id('search')/div | id('rso')/div | //style[not(contains(text(), 'table,div,span,p{display:none}'))] | //body/script[@nonce][not(@src)][starts-with(text(), '(function(){var s=') or starts-with(text(), '(function(){google.ldi')]", - "replaceE": "#navcnt, #rcnt div[role='navigation'], #botstuff div[role='navigation'], #main>footer>div:first-child", - "scriptT": 2, - "scrollD": 2500 - }, - "function": { - "bF": "fun.getAllCSS('#search img[id^=dimg],#search img[id^=rimg],#rso img[id^=dimg],#rso img[id^=rimg]').forEach(function (img) {img.id = 'old_'+img.id;}); if(!fun.indexOF('tbm=vid', 's') && fun.indexOF('tbm=', 's')){return pageE}else{pageE.forEach(function (img) {fun.getAllCSS('img[id^=dimg]:not([data-atf])', img).forEach(function (img1) {img1.setAttribute('data-atf', '1');})}); return pageE}" - } - }, + "谷歌搜索 - 手机版": { + "host": "/^www\\.google\\./", + "url": "return (fun.lp() == '/search' && (!fun.indexOF('tbm=', 's') || (fun.indexOF('tbm=nws', 's') || fun.indexOF('tbm=vid', 's') || fun.indexOF('tbm=bks', 's'))) && (fun.indexOF('sclient=mobile', 's') || fun.isMobile()))", + "pager": { + "nextL": "footer>div:first-child a[aria-label]", + "pageE": "id('main')/div[position()>1][position()div:first-child a[aria-label]", + "pageE": "id('search')/div | id('rso')/div | //style[not(contains(text(), 'table,div,span,p{display:none}'))] | //body/script[@nonce][not(@src)][starts-with(text(), '(function(){var s=') or starts-with(text(), '(function(){google.ldi')]", + "replaceE": "#navcnt, #rcnt div[role='navigation'], #botstuff div[role='navigation'], #main>footer>div:first-child", + "scriptT": 2, + "scrollD": 2500 + }, + "function": { + "bF": "fun.getAllCSS('#search img[id^=dimg],#search img[id^=rimg],#rso img[id^=dimg],#rso img[id^=rimg]').forEach(function (img) {img.id = 'old_'+img.id;}); if(!fun.indexOF('tbm=vid', 's') && fun.indexOF('tbm=', 's')){return pageE}else{pageE.forEach(function (img) {fun.getAllCSS('img[id^=dimg]:not([data-atf])', img).forEach(function (img1) {img1.setAttribute('data-atf', '1');})}); return pageE}" + } + }, "必应搜索 + 手机版": { "host": ["www.bing.com","cn.bing.com","www4.bing.com","global.bing.com"], "url": "if (fun.lp() == '/search') {if (fun.isMobile() && document.documentElement.lang != 'zh') {return false;} else {return true;}}", @@ -6460,6 +6460,14 @@ "isHidden": true } }, + "爱妹子": { + "host": "xx.knit.bid", + "pager": { + "type": 2, + "nextL": ".ias_trigger>a", + "scrollD": 3000 + } + }, "MrCong": { "host": "mrcong.com", "pager": { @@ -6508,13 +6516,13 @@ } }, "爱看美女": { - "host": ["ikmn.cc","www.ikmn.cc","/^(www\\.)?ikmn\\d{2}\\.xyz$/"], - "url": "return fun.isPager()", - "pager": { - "nextL": "a.current+a", - "pageE": ".info-imtg-box>p" - } - }, + "host": ["ikmn.cc","www.ikmn.cc","/^(www\\.)?ikmn\\d{2}\\.xyz$/"], + "url": "return fun.isPager()", + "pager": { + "nextL": "a.current+a", + "pageE": ".info-imtg-box>p" + } + }, "宅男女神": { "host": ["www.gnvshen.com","www.fnvshen.com","www.haonvshen.com"], "url": "/^\\/(g|gallery|tag)\\//", From eb6d0ece12a1ce04ebc08115c45a7c8f8245e997 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 21 Jul 2024 14:34:03 +0800 Subject: [PATCH 004/424] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[2DFan]=20?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E5=9F=9F=E5=90=8D(=E6=AD=A3=E5=88=99?= =?UTF-8?q?=E5=8C=B9=E9=85=8D=20ddfan=20galge=20fan2d=20=E7=9A=84=E4=BB=BB?= =?UTF-8?q?=E6=84=8F=E5=90=8E=E7=BC=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 33cacb373..89c91f232 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -723,7 +723,7 @@ } }, "2DFan": { - "host": ["2dfan.com","www.2dfan.com","ddfan.org","galge.fun"], + "host": ["2dfan.com","www.2dfan.com","ddfan.org","/^ddfan\\.[a-z]+$/","/^galge\\.[a-z]+$/","/^fan2d\\.[a-z]+$/"], "url": "return fun.isPager('p,r')", "pager": { "nextL": "a[rel='next']", @@ -735,7 +735,7 @@ } }, "2DFan - 评论": { - "host": ["2dfan.com","www.2dfan.com","ddfan.org","galge.fun"], + "host": ["2dfan.com","www.2dfan.com","ddfan.org","/^ddfan\\.[a-z]+$/","/^galge\\.[a-z]+$/","/^fan2d\\.[a-z]+$/"], "url": "if (fun.getCSS('#comments')&&fun.getCSS('.pagination')){[].slice.call(fun.getAllCSS('#comments>div')).reverse().forEach((e)=>{document.querySelector('#comments>.pagination').insertAdjacentElement('beforebegin', e);});return true}", "history": false, "pager": { From 53a05739f5e7193e9b8df115e4ccab648009c6b7 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 21 Jul 2024 17:22:44 +0800 Subject: [PATCH 005/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[NGA]=20=E5=9C=A8?= =?UTF-8?q?=20Firefox=20=E6=B5=8F=E8=A7=88=E5=99=A8=E4=B8=AD=E6=9C=AA?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E7=8A=B6=E6=80=81=E4=B8=8B=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E7=BF=BB=E9=A1=B5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 89c91f232..972de5d47 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -557,8 +557,9 @@ }, "NGA": { "host": ["bbs.nga.cn","ngabbs.com","nga.178.com","g.nga.cn"], - "url": "fun.isUrlC(); return (fun.lp() == '/thread.php')", + "url": "fun.isUrlC(); if(!window.__APPEMBED && !window.cookieInterval){window.cookieInterval = setInterval(()=>{if (!window.__APPEMBED) {document.cookie = 'guestJs=' + fun.getCookie('guestJs').replace(/^\\d+/,parseInt(new Date().getTime()/1000)) + ';domain=' + location.host + ';expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/;samesite=none;secure=false';document.cookie = 'lastvisit=' + parseInt(new Date().getTime()/1000+123) + ';samesite=none;secure=false;domain=' + location.host;};},1000)}; return (fun.lp() == '/thread.php')", "iframe": true, + "gmxhr": true, "pager": { "nextL": "#pagebbtm a[title='下一页']", "pageE": "#topicrows>tbody, #topicrows>script", @@ -571,10 +572,11 @@ }, "NGA - 帖子内": { "host": ["bbs.nga.cn","ngabbs.com","nga.178.com","g.nga.cn"], - "url": "return (fun.lp() == '/read.php')", + "url": "/^\\/read\\.php", "iframe": true, "history": false, "thread": true, + "gmxhr": true, "retry": 1000, "pager": { "nextL": "#pagebbtm a[title*='下一页']", From 450ee510e35a1dc83171c54308bec19245b5a550 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 21 Jul 2024 17:22:53 +0800 Subject: [PATCH 006/424] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E8=A7=84=E5=88=99=E7=A4=BA=E4=BE=8B=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=20`\\`=20=E8=BD=AC=E4=B9=89=E7=AC=A6=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=BA=20`\`=20=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=88=E6=B5=8F=E8=A7=88=E5=99=A8=E7=BB=99=E8=BD=AC=E4=B9=89?= =?UTF-8?q?=E7=AC=A6=E8=BD=AC=E4=B9=89=E4=BA=86...=EF=BC=89;=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20Firefox=20=E6=B5=8F=E8=A7=88=E5=99=A8=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=85=BC=E5=AE=B9=E6=80=A7=E9=97=AE=E9=A2=98=EF=BC=88?= =?UTF-8?q?=E5=A6=82=20=E8=87=AA=E5=AE=9A=E4=B9=89=E7=BF=BB=E9=A1=B5?= =?UTF-8?q?=E8=A7=84=E5=88=99=20=E8=BE=93=E5=85=A5=E6=A1=86=20=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=A4=9A=E8=A1=8C=E6=98=BE=E7=A4=BA=EF=BC=8CNGA=20?= =?UTF-8?q?=E8=AE=BA=E5=9D=9B=E6=9C=AA=E7=99=BB=E5=BD=95=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E4=B8=8B=E6=97=A0=E6=B3=95=E7=BF=BB=E9=A1=B5=E7=AD=89=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 119 ++++++++++++++++++++++++----------------------- 1 file changed, 60 insertions(+), 59 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 77e2c963a..16fab00d1 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.16 +// @version 6.6.17 // @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...) 等網站~ @@ -1836,65 +1836,66 @@ function: { // 翻页类型 1/3 function getPageE(url) { - // 依靠原生 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), - headers: { - 'x-requested-with': (curSite.xRequestedWith === true) ? 'XMLHttpRequest':null, - 'Referer': (curSite.noReferer === true) ? null:location.href, - 'User-Agent': navigator.userAgent, - 'Accept': 'text/html,application/xhtml+xml,application/xml' - }, - timeout: 10000, - onload: function (response) { - try { - //console.log('URL:' + url, '最终 URL:' + response.finalUrl, '返回内容:' + response.responseText) - processElems(createDocumentByString(response.responseText)); - } catch (e) { - console.error('[自动无缝翻页] - 处理获取到的下一页内容时出现问题,请检查!', e, response.responseText); + if (!curSite.gmxhr) { + // 依靠原生 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('Accept', 'text/html,application/xhtml+xml,application/xml') + + xhr.timeout = 5000; + 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('[自动无缝翻页] - 处理获取到的下一页内容时出现问题,请检查!', 'URL:' + url, '最终 URL:' + xhr.responseURL, '返回状态:' + xhr.statusText, '返回内容:' + xhr.responseText); } - }, - onerror: function (response) { - console.log('URL:' + url, response) + }; + xhr.onerror = function() { + console.log('URL:' + url, xhr.statusText) GM_notification({text: '❌ 获取下一页失败...', timeout: 5000}); - }, - ontimeout: function (response) { + }; + xhr.ontimeout = function() { setTimeout(function(){curSite.pageUrl = '';}, 3000) - console.log('URL:' + url, response) + console.log('URL:' + url, xhr.statusText) GM_notification({text: '❌ 获取下一页超时,可 3 秒后再次滚动网页重试(或尝试刷新网页)...', timeout: 5000}); - } - });*/ + }; + xhr.send(); + } else { + GM_xmlhttpRequest({ + url: url, + method: 'GET', + overrideMimeType: 'text/html; charset=' + (document.characterSet||document.charset||document.inputEncoding), + headers: { + 'x-requested-with': (curSite.xRequestedWith === true) ? 'XMLHttpRequest':null, + 'Referer': (curSite.noReferer === true) ? null:location.href, + 'User-Agent': navigator.userAgent, + 'Accept': 'text/html,application/xhtml+xml,application/xml' + }, + timeout: 5000, + onload: function (response) { + try { + //console.log('URL:' + url, '最终 URL:' + response.finalUrl, '返回内容:' + response.responseText) + processElems(createDocumentByString(response.responseText)); + } catch (e) { + console.error('[自动无缝翻页] - 处理获取到的下一页内容时出现问题,请检查!', e, 'URL:' + url, '最终 URL:' + response.finalUrl, '返回状态:' + response.statusText, '返回内容:' + response.responseText); + } + }, + onerror: function (response) { + console.log('URL:' + url, response) + GM_notification({text: '❌ 获取下一页失败...', timeout: 5000}); + }, + ontimeout: function (response) { + setTimeout(function(){curSite.pageUrl = '';}, 3000) + console.log('URL:' + url, response) + GM_notification({text: '❌ 获取下一页超时,可 3 秒后再次滚动网页重试(或尝试刷新网页)...', timeout: 5000}); + } + }); + } } // 翻页类型 4 function getPageE_(url, type = '', method = 'GET', data = '', type2) { @@ -2758,7 +2759,7 @@ function: { }, "bbb": { "host": ["bbb1.com", "bbb2.com"], - "url": "/^\\/s$/", + "url": "/^\\\\/s$/", "style": ".aaaa {xxx: xxx}(如果只是为了单纯屏蔽隐藏某些元素,那么这里只需要写 CSS 选择器即可,脚本会自动在末尾加上 {display: none !important;} 的)", "blank": 3, "hiddenPN": true, @@ -2783,7 +2784,7 @@ function: { } }, "这里也可以用中文": { - "host": "/\\.ccc\\.com/", + "host": "/\\\\.ccc\\\\.com/", "url": "fun.isUrlC(); return (fun.lp() == '/' || fun.indexOF('/s') || fun.isMobile())", "pager": { "type": 2, @@ -2800,7 +2801,7 @@ function: {
「 点击展开 查看所有规则 」(可按 Ctrl+F 搜索规则,脚本内置的通用规则因格式限制无法列出)
 
- + ` document.documentElement.insertAdjacentHTML('beforeend', `
`); From fb8efb53cbc4cec43a9169c47658d1d6a6add3ae Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 22 Jul 2024 20:34:04 +0800 Subject: [PATCH 007/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=B1=82=E7=BA=A7(=E7=A1=AE=E4=BF=9D=E7=BD=AE=E9=A1=B6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 16fab00d1..54346e1fc 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -1873,7 +1873,6 @@ function: { headers: { 'x-requested-with': (curSite.xRequestedWith === true) ? 'XMLHttpRequest':null, 'Referer': (curSite.noReferer === true) ? null:location.href, - 'User-Agent': navigator.userAgent, 'Accept': 'text/html,application/xhtml+xml,application/xml' }, timeout: 5000, @@ -1918,7 +1917,6 @@ function: { headers: { 'Referer': (curSite.noReferer === true) ? null:location.href, 'Content-Type': (method === 'POST') ? 'application/x-www-form-urlencoded':'', - 'User-Agent': navigator.userAgent, 'Accept': accept }, timeout: 10000, @@ -2721,7 +2719,7 @@ function: { let customRules = JSON.stringify(GM_getValue('menu_customRules', {}), null, 4); if (customRules == '{}') customRules = '{\n \n}'; // 引导用户插入规则的位置 - let _html = `
+ let _html = `

# 自定义翻页规则(优先级最高,会覆盖同名的外置翻页规则)-【将规则插入默认的 { } 中间】

「 点击展开 查看规则示例 」(为了避免需要的时候还要找,我干脆把常用规则都一股脑塞进去了)
    @@ -2804,7 +2802,7 @@ function: {
` - document.documentElement.insertAdjacentHTML('beforeend', `
`); + document.documentElement.insertAdjacentHTML('beforeend', `
`); let Autopage_customRules = getCSS('#Autopage_customRules'), shadowRoot = Autopage_customRules.attachShadow({ mode: 'open' }); // 创建一个 Shadow DOM 避免网页样式影响自定义翻页规则元素 shadowRoot.innerHTML = _html; // 插入元素 document.documentElement.style.overflow = document.body.style.overflow = 'hidden'; // 避免网页本身滚动 @@ -2848,10 +2846,10 @@ function: { return } // 插入网页 - let _style = ``, + let _style = ``, _html = `
${pageNum._now}
` - document.documentElement.insertAdjacentHTML('beforeend', `
`); + document.documentElement.insertAdjacentHTML('beforeend', `
`); let Autopage_number = getCSS('#Autopage_number'), shadowRoot = Autopage_number.attachShadow({ mode: 'open' }); // 创建一个 Shadow DOM 避免网页样式影响页码元素 shadowRoot.innerHTML = _style + _html; // 插入元素 From 4abea8c42bf4a1d906dfbfb33ccb85c4f64480b7 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 26 Jul 2024 01:22:19 +0800 Subject: [PATCH 008/424] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[ku+taotu]=20?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 972de5d47..822553db7 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -6579,17 +6579,17 @@ "scrollD": 3000 } }, - "ku66": { - "host": ["www.ku66.net","www.ku138.cc"], - "url": "/(^\\/.)|(\\d+\\.html$)/", - "style": ".content img {min-height: 500px;} .Title9, .dibu1, .dibu2 {display: none !important;}", - "pager": { - "type": 3, - "nextL": ".thisclass+li>a, .this-page+a:not(.no-page)", - "pageE": ".content, .TypeList, .m-list.ml1", - "replaceE": ".NewPages, .page" - } - }, + "ku+taotu": { + "host": ["/^www\\.ku\\d+\\./","/^www\\.taotu\\d+\\./"], + "url": "return fun.isPager()", + "style": ".content img {min-height: 500px;} .Title9, .dibu1, .dibu2 {display: none !important;}", + "pager": { + "type": 3, + "nextL": ".thisclass+li>a, .this-page+a:not(.no-page)", + "pageE": ".content, .TypeList, .m-list.ml1, .slider-c>.row>div", + "replaceE": ".NewPages, .page" + } + }, "kingdom": { "host": "www.kingdom-en.com", "url": "/(^\\/.)|(\\d+\\.html$)/", From 8665b49d6f31fda8ae1f4eaa752836f55fe559de Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 26 Jul 2024 20:52:10 +0800 Subject: [PATCH 009/424] =?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 | 23 +++++++++++----------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index a7f0d869c..d326db038 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.29 +// @version 2.5.30 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁) @@ -41,14 +41,13 @@ ['https://gh.h233.eu.org/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] 提供'], // 解析错误 + //['https://gh2.yanqishui.work/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@HongjieCN] 提供'], // 错误 ['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://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 + ['https://gh-proxy.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [佚名] 提供'], ['https://cors.isteed.cc/github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@Lufs\'s] 提供'], ['https://hub.gitmirror.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [GitMirror] 提供'], ['https://sciproxy.com/github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [sciproxy.com] 提供'], @@ -59,9 +58,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.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供'], - ['https://download.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], - ['https://download.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], + //['https://download.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供'], // 502 + //['https://download.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 + //['https://download.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 //['https://download.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 证书到期 ['https://hub.whtrys.space', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [FastGit 群组成员] 提供'] ], download_url = [ @@ -75,12 +74,12 @@ ['https://kkgithub.com', '香港', '[中国香港、日本、新加坡等] - 该公益加速源由 [help.kkgithub.com] 提供 - 缓存:无(或时间很短)'], ['https://hub.incept.pw', '香港', '[中国香港、美国] - 该公益加速源由 [FastGit 群组成员] 提供'], ['https://mirror.ghproxy.com/https://github.com', '韩国', '[日本、韩国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], - //['https://gh-proxy.com/https://github.com', '韩国', '[韩国] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], ['https://githubfast.com', '韩国', '[韩国] - 该公益加速源由 [Github Fast] 提供 - 缓存:无(或时间很短)'], ['https://ghproxy.net/https://github.com', '日本', '[日本 大阪] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], ['https://github.moeyy.xyz/https://github.com', '新加坡', '[新加坡、中国香港、日本等](CDN 不固定) - 该公益加速源由 [Moeyy] 提供 - 缓存:无(或时间很短)'], //['https://slink.ltd/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [知了小站] 提供'] // 暂无必要 //['https://hub.gitmirror.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [GitMirror] 提供'], // 暂无必要 + //['https://gh-proxy.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], //['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] 提供'], // 暂无必要 @@ -105,7 +104,6 @@ ['https://jsd.proxy.aks.moe/gh', '香港 2', '[中国 香港] - 该公益加速源由 [cdn.akass.cn] 提供 - 缓存:有(官方标注 2 小时)'], ['https://cdn.jsdelivr.us/gh', '香港 3', '[中国 香港] - 该公益加速源由 [@ayao] 提供 - 缓存:有'], ['https://mirror.ghproxy.com/https://raw.githubusercontent.com', '韩国', '[日本、韩国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], - //['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://jsdelivr.pai233.top/gh', '日本 3', '[日本 东京](Vercel Anycast) - 该公益加速源由 [blog.pai233.top] 提供 - 缓存:有'], @@ -120,10 +118,11 @@ //['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-proxy.com/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供 - 缓存:无(或时间很短)'], // 暂无必要 - //['https://raw.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供 - 缓存:无(或时间很短)'], // 暂无必要 - //['https://raw.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 暂无必要 - //['https://raw.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 暂无必要 + //['https://raw.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供 - 缓存:无(或时间很短)'], // 502 + //['https://raw.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 502 + //['https://raw.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 502 //['https://raw.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 证书到期 //['https://raw.gitmirror.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [GitMirror] 提供 - 缓存:有'], // 暂无必要 //['https://cdn.54188.cf/gh', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [PencilNavigator] 提供 - 缓存:有'], // 暂无必要 From 77730a11609e7e534d331ead8bdbc45147934d05 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 26 Jul 2024 20:52:18 +0800 Subject: [PATCH 010/424] =?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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 54346e1fc..4c4d8adb9 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.17 +// @version 6.6.18 // @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...) 等網站~ @@ -96,8 +96,8 @@ 'https://bitbucket.org/xiu2/userscript/raw/master/other/Autopage/rules.json', 'https://raw.kkgithub.com/XIU2/UserScript/master/other/Autopage/rules.json', //'https://raw.incept.pw/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.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', @@ -119,8 +119,8 @@ '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', - 'https://raw.nuaa.cf/XIU2/UserScript/master/other/Autopage/rules.json', - 'https://raw.yzuu.cf/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', From 7d214610c78762f3bfb56321d6f96b97a3ae32bc Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 27 Jul 2024 12:07:14 +0800 Subject: [PATCH 011/424] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[24FA]=20=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 822553db7..d6b7c106d 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -6676,7 +6676,7 @@ } }, "24FA": { - "host": ["/^(www\\.)?24fa\\.[a-z]+$/","/^(www\\.)?24fa.?\\.com$/","/^(www\\.)?\\d{3}w\\.cc$/"], + "host": ["/^(www\\.)?24fa\\.[a-z]+$/","/^(www\\.)?24fa.?\\.com$/","/^(www\\.)?\\d{3}w\\.cc$/","/^(www\\.)?\\d{3}\\.(mom|one)$"], "url": "return (fun.isTitle('24FA') && fun.indexOF(/^\\/m?n\\d+/))", "style": ".moreR {display: none;} #content img {width: auto; max-width: 99%; height: auto; display: block; margin: 0 auto;}", "pager": { From edf93cca79b7c5b5fa40215a3983261884ad9e57 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 27 Jul 2024 12:07:24 +0800 Subject: [PATCH 012/424] README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8296122f7..2d531a6f6 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ **** -## Tampermonkey `v5.0.0` 后某脚本无法正常运行? +## Tampermonkey `v5.0.0` 后脚本在 `部分网站` 无法正常运行? Tampermonkey 为了顺应 Chrome 的 Manifest V3 要求,在 v5.0.0 版本中修改了 CSP 相关选项的默认值。 From 945e78d32a9bbbd1767af1c0a72d207e121168a9 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 27 Jul 2024 16:59:21 +0800 Subject: [PATCH 013/424] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20=E5=87=A0=E4=B8=AA?= =?UTF-8?q?=E5=B7=B2=E5=85=B3=E7=AB=99=E6=90=9C=E7=B4=A2=E5=BC=95=E6=93=8E?= =?UTF-8?q?=E7=9A=84=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 | 64 --------------------------------------- 1 file changed, 64 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index d6b7c106d..542560912 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -172,37 +172,6 @@ "bF": "return fun.src_bF(pageE, [0,'img[data-isrc]','data-isrc'])" } }, - "F 搜 - 手机版": { - "host": "fsoufsou.com", - "url": "return (fun.lp()=='/search' && !fun.indexOF('tbn=images','s') && fun.isMobile())", - "pager": { - "type": 2, - "nextL": ".next-page-container" - } - }, - "F 搜": { - "host": "fsoufsou.com", - "url": "return (fun.lp()=='/search' && !fun.indexOF('tbn=images','s'))", - "history": true, - "pager": { - "type": 6, - "nextL": "js;return fun.getNextEP('.turn-page-num-wrap.selected', 'pageIndex=', /pageIndex=\\d+/)", - "pageE": ".organic-results>div", - "replaceE": ".bottom-pagination", - "loadTime": 1000, - "scrollD": 3000 - } - }, - "轻搜": { - "host": "www.qingsearch.com", - "url": "return (fun.lp() == '/' && fun.indexOF('qings=', 's'))", - "pager": { - "type": 2, - "nextL": "#loadmore>span", - "nextText": "加载更多", - "scrollD": 3000 - } - }, "DuckDuckGo 搜索": { "host": "duckduckgo.com", "url": "fun.isUrlC(); if (fun.getCookie('av') != '1') {document.cookie='av=1; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/'; location.reload();}", @@ -285,15 +254,6 @@ "replaceE": ".simplified-pagination" } }, - "Magi 搜索": { - "host": "magi.com", - "url": "/^\\/search/", - "pager": { - "type": 2, - "nextL": ".card[data-type='next']", - "nextText": "加载更多" - } - }, "ASK 搜索": { "host": ["ask.com","www.ask.com"], "url": "/^\\/web/", @@ -328,30 +288,6 @@ "replaceE": ".pagination" } }, - "Goobe": { - "host": "goobe.io", - "url": "/^\\/search\\.aspx/", - "history": true, - "pager": { - "nextL": ".PageSelector>.NextPageBTN", - "pageE": ".ContentItem", - "replaceE": ".PageSelector" - } - }, - "萌搜": { - "host": "mengso.com", - "url": "/^\\/search/", - "style": ".res_cell[style*='height:90px']", - "history": true, - "pager": { - "type": 6, - "nextL": "#next_page>a, a#next_page_a", - "pageE": ".res_cell", - "insertP": ["#page_menu_box",1], - "replaceE": "#page_menu_box", - "loadTime": 1000 - } - }, "百度贴吧 - 搜索页": { "host": "tieba.baidu.com", "url": "/^\\/f\\/search\\/res/", From 0a9274c55d6fd88be22ce523711e307751cda9ac Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 27 Jul 2024 17:00:14 +0800 Subject: [PATCH 014/424] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[Brave=20=E6=90=9C?= =?UTF-8?q?=E7=B4=A2]=20=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 542560912..2a396f784 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -231,7 +231,7 @@ "host": "search.brave.com", "url": "/^\\/search/", "pager": { - "nextL": "id('pagination')/a[./div[contains(@class,'icon-right')]]", + "nextL": "#pagination>a:last-child", "pageE": "#results>div:not([id])", "replaceE": "#pagination" } From 02f63e8eda1341d62416c3172b4566c36649e28c Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 27 Jul 2024 17:00:44 +0800 Subject: [PATCH 015/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[360=20=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=20-=20=E5=92=A8=E8=AF=A2=E9=A1=B5]=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 2a396f784..406d0896f 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -159,8 +159,8 @@ } }, "360 搜索": { - "host": "www.so.com", - "url": "/^\\/.+/", + "host": ["www.so.com","news.so.com"], + "url": "/^\\/(n)?s/", "style": "img {opacity: 1 !important;}", "history": true, "pager": { From 57797f847819c15420ca1bbc9a243251119349e4 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 27 Jul 2024 17:02:18 +0800 Subject: [PATCH 016/424] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[WebCrawler=20?= =?UTF-8?q?=E6=90=9C=E7=B4=A2]=20=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 406d0896f..c9d95a878 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -284,7 +284,7 @@ "history": true, "pager": { "nextL": "a.pagination__num--next", - "pageE": ".web-google__result", + "pageE": ".content-answers-top-wrap, .content-answers-top-wrap~div", "replaceE": ".pagination" } }, From e15257f99ad8c2315460b66299dd2e26c5d74e07 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 29 Jul 2024 14:53:29 +0800 Subject: [PATCH 017/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E5=A4=8D=E5=88=B6=20IP=20=E5=88=86=E9=9A=94?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=E9=80=89=E9=A1=B9=EF=BC=88=E4=B8=80=E8=A1=8C?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E6=88=96=E9=80=97=E5=8F=B7=E5=88=86=E9=9A=94?= =?UTF-8?q?=EF=BC=8C=E4=BD=8D=E4=BA=8E=E6=89=A9=E5=B1=95=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E4=B8=AD=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ping.Sx-Enhanced.user.js | 41 +++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/Ping.Sx-Enhanced.user.js b/Ping.Sx-Enhanced.user.js index ba773f6ae..a61f47d07 100644 --- a/Ping.Sx-Enhanced.user.js +++ b/Ping.Sx-Enhanced.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Ping.Sx 增强 -// @version 1.0.2 +// @version 1.0.3 // @author X.I.U // @description 一键复制所有 IP、清理 IP 链接(点击复制而不是跳转)、快捷回到顶部(右键两侧空白处) // @match https://ping.sx/ping* @@ -8,6 +8,10 @@ // @match https://ping.sx/check-port* // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAD7klEQVR4nO3WWYxfcxQH8M9//LWzdJuWaVMaI6WKKtKOfacVGuHFgy3E8iARDyKWBBEJ8SC2Jy9EeKCSqpoiBJF22k6JbdBqqqilqe4z05ol0xkP5/zz/6dPY3iQuN/kl3vv755z7lm+5/wuBQoUKFCgQIECBQoU+L+iNAb5OpRzHY5xGI8D2PMPfKlDK+qxNe2NyqHa+4k4EkdgWq6paM41GZNSrilXQ16/wE3YN8YAjsKKtH0NNo5GqVxzP6Ia9QHsQmM63IAJuSZmIBPS8UZMwfcYGKPzMA/z8Sl+G61SbQDzcbkoXxmnp7GVeX8+hrEM36bOqamzMeWm4rq0tRefYD36MRsXCJqMYAPeR3faOltQshO9KXsW9uMtQdMLU7+E7/BRbTBPpeEe/Jn33ViKP/J5BOsEzeCZ3HtEcPcVDGIH+kRPLEnZJ1J2qOb6XCarPoM5iGtxI7annTszsMcO0R9M3xC0WJ0vlmYWO/N5G+7Go5nJ3ThF0GetoM0loko9mdk2XIr7RR9VMnxr7j+QtjahBcfjd+zES5m4Llym2qdn1ujfJ2g+WJcvW3EifsFDeE2VJi/jedFg/Wl8D47DXEG5DZmR/YIqD4vp9HQGPCODPg1Xir4ZTCf6cn+6oODN6fQ9+DCTOF3QsqLfVPM9cEsKLhMlnSSoMoBFKXNDyqwQI+/2fH4dh+Xe9fhaUKE3ZZrxdn5wdcr/kLovpu1n87lX9M4w7sh3zVie+h2pvznl36vLaM9J4bWCY7NxAn4WzQLn1sgM47x8XpPGFuf9ItEbE3Bx6l2Bz3F1BtVVo9sk6HEQD+KF9OmqTGab6KMvU/82fJX6H5cFBxeKxl2fL9oy8g9EMzXjDEGhdYLXCzNjnWJCvSro0iHoNSLOhv5MSivuzeQsSdnPBP/niqq8gTm4S/TMSZn5IRyT+q0Z3G6sqRMTZSfaVQ+PyWm8PbM9TZwL7VmRlgysXZSzC4+nzOJ8/6RoyHWCIt1Zne25144tgt+bxKjcjW/wJn7MRHSKiu5L/R2pvxIbS2KEjUvHh7Js48Xo6s3KlEXjDefqFw03oNpIpdSbkjK7BC1KqoddT8rX57s+1V+RQdWDsCG/Wdkr5/cGD9UviTlbOUxmZ4bGZRa3pbMV1Gd1urAgHdibH+zI/Rli/M0SFW0SvyZb8I6g1r+GsuBfC37CTNFYU9OZNtHg9aIfmvCrKOVMUeZ5YhwuF9meg2MzkJPFaF4lqNdolD9po0UJF4msNIlG6UiHN4vZXemBVeK3oXK4VUZnhQaz8K74KWsRFDo6ZRekva25/nOoE9T6u7/nBQoUKFCgQIECBQoUKDBm/AXKhRvkgr+Z+wAAAABJRU5ErkJggg== // @grant GM_setClipboard +// @grant GM_registerMenuCommand +// @grant GM_unregisterMenuCommand +// @grant GM_getValue +// @grant GM_setValue // @grant window.onurlchange // @license GPL-3.0 License // @run-at document-end @@ -17,6 +21,17 @@ (function() { 'use strict'; + // 注册脚本菜单 + let menu_separator_ID; + if (GM_getValue('menu_separator') == null){GM_setValue('menu_separator', true)}; + registerMenuCommand(); + function registerMenuCommand() { + if (menu_separator_ID) GM_unregisterMenuCommand(menu_separator_ID); + menu_separator_ID = GM_registerMenuCommand(`🔁 当前复制 IP 分隔方式为:${GM_getValue('menu_separator')?'[一行一个]':'[逗号分隔]'}`, function(){GM_setValue('menu_separator', !GM_getValue('menu_separator'));registerMenuCommand();}, {title: '点击可切换:当前复制 IP 的分隔方式为 [一行一个](默认) 或 [逗号分隔],切换后立即生效。'}) + } + // 站长之家 + // let ip = new Array(); document.querySelectorAll('[name=ip]>a').forEach(function(_this) {ip.push(_this.innerText);});console.log(Array.from(new Set(ip)).sort().toString().replaceAll(',','\n')) + window.addEventListener('urlchange', function() {addCopyButton(); cleanLinks(); backToTop();}); setTimeout(addCopyButton, 2000); // 添加复制按钮 @@ -28,13 +43,9 @@ function addCopyButton() { if (document.querySelector('#copy_233, #copynocn_233')) return // 复制全部 - let _copy = `
  • Copy
  • ` - document.querySelector('header ul').insertAdjacentHTML('afterbegin', _copy); - + document.querySelector('header ul').insertAdjacentHTML('afterbegin', `
  • Copy
  • `); // 复制非 CN 的 IP - let _copyNoCn = `
  • Copy(Cn)
  • ` - document.querySelector('header ul').insertAdjacentHTML('afterbegin', _copyNoCn); - + document.querySelector('header ul').insertAdjacentHTML('afterbegin', `
  • Copy(Cn)
  • `); document.getElementById('copy_233').addEventListener('click', addCopyButtonEvent1) document.getElementById('copynocn_233').addEventListener('click', addCopyButtonEvent2) } @@ -44,7 +55,13 @@ function addCopyButtonEvent1() { let ip = new Array(); document.querySelectorAll('span.select-all > a[href]').forEach(function(_this) {ip.push(_this.innerText);}) - if (ip.length > 0) GM_setClipboard(unique(ip).toString().replaceAll(',','\n'), 'text'); + if (ip.length > 0) { + if (GM_getValue('menu_separator')) { + GM_setClipboard(unique(ip).toString().replaceAll(',','\n'), 'text'); + } else { + GM_setClipboard(unique(ip).toString(), 'text'); + } + } } function addCopyButtonEvent2() { let ip = new Array(); @@ -52,7 +69,13 @@ let img = findParentElement(_this, 'TR').querySelector('img.max-w-none'); if (img) {if (img.alt != 'CN Flag') ip.push(_this.innerText);} }) - if (ip.length > 0) GM_setClipboard(unique(ip).toString().replaceAll(',','\n'), 'text'); + if (ip.length > 0) { + if (GM_getValue('menu_separator')) { + GM_setClipboard(unique(ip).toString().replaceAll(',','\n'), 'text'); + } else { + GM_setClipboard(unique(ip).toString(), 'text'); + } + } } From b8523ea377c3000c0f5d597fb579b12f405dfc50 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 31 Jul 2024 21:08:27 +0800 Subject: [PATCH 018/424] =?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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 4c4d8adb9..3880d4dba 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.18 +// @version 6.6.19 // @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...) 等網站~ @@ -96,8 +96,8 @@ 'https://bitbucket.org/xiu2/userscript/raw/master/other/Autopage/rules.json', 'https://raw.kkgithub.com/XIU2/UserScript/master/other/Autopage/rules.json', //'https://raw.incept.pw/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.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', @@ -119,8 +119,8 @@ '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', - //'https://raw.nuaa.cf/XIU2/UserScript/master/other/Autopage/rules.json', - //'https://raw.yzuu.cf/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', From 16d557d548e8e7279cd440584692c58bda967014 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 31 Jul 2024 21:08:43 +0800 Subject: [PATCH 019/424] =?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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index d326db038..6208f4dba 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.30 +// @version 2.5.31 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁) @@ -58,7 +58,7 @@ ['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.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供'], // 502 + ['https://download.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供'], //['https://download.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 //['https://download.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 //['https://download.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 证书到期 @@ -109,7 +109,7 @@ ['https://jsdelivr.pai233.top/gh', '日本 3', '[日本 东京](Vercel Anycast) - 该公益加速源由 [blog.pai233.top] 提供 - 缓存:有'], //['https://gcore.jsdelivr.net/gh', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], // 变成 美国 Cloudflare CDN 了 ['https://jsdelivr.b-cdn.net/gh', '其他 1', '[中国香港、台湾、日本、新加坡等](CDN 不固定) - 该公益加速源由 [@rttwyjz] 提供 - 缓存:有'], - ['https://github.moeyy.xyz/https://raw.githubusercontent.com', '其他 2', '[新加坡、中国香港、日本等](CDN 不固定) - 缓存:无(或时间很短)'] + ['https://github.moeyy.xyz/https://raw.githubusercontent.com', '其他 2', '[新加坡、中国香港、日本等](CDN 不固定) - 缓存:无(或时间很短)'], //['https://raw.cachefly.998111.xyz', '其他 4', '[新加坡、日本、印度等](Anycast CDN 不固定) - 该公益加速源由 [@XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX0] 提供 - 缓存:有(约 12 小时)'], // 证书到期 //['https://raw.incept.pw', '香港', '[中国香港、美国] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // ERR_SSL_PROTOCOL_ERROR //['https://ghproxy.cc/https://raw.githubusercontent.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@yionchiii lau] 提供 - 缓存:无(或时间很短)'], // 暂无必要 @@ -120,9 +120,9 @@ //['https://gh.jiasu.in/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供 - 缓存:无(或时间很短)'], // 暂无必要 //['https://gh-proxy.com/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供 - 缓存:无(或时间很短)'], // 暂无必要 - //['https://raw.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供 - 缓存:无(或时间很短)'], // 502 - //['https://raw.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 502 - //['https://raw.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 502 + //['https://raw.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供 - 缓存:无(或时间很短)'], + //['https://raw.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], + //['https://raw.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], //['https://raw.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 证书到期 //['https://raw.gitmirror.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [GitMirror] 提供 - 缓存:有'], // 暂无必要 //['https://cdn.54188.cf/gh', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [PencilNavigator] 提供 - 缓存:有'], // 暂无必要 From be1e7981e0ae33aca4bef798058ecccc9aee0deb Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 1 Aug 2024 12:46:02 +0800 Subject: [PATCH 020/424] =?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 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 3880d4dba..7cf8fefbc 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.19 +// @version 6.6.20 // @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,6 +14,7 @@ // @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 // @connect raw.scholar.rr.nu @@ -22,13 +23,11 @@ // @connect ghproxy.cc // @connect ghproxy.net // @connect mirror.ghproxy.com -// @connect gh-proxy.com // @connect github.moeyy.xyz // @connect jsd.onmicrosoft.cn // @connect cdn.jsdelivr.us // @connect gcore.jsdelivr.net // @connect fastly.jsdelivr.net -// @connect raw.cachefly.998111.xyz // @connect cdn.jsdmirror.com // @connect jsd.proxy.aks.moe // @connect jsdelivr.pai233.top @@ -96,13 +95,13 @@ 'https://bitbucket.org/xiu2/userscript/raw/master/other/Autopage/rules.json', 'https://raw.kkgithub.com/XIU2/UserScript/master/other/Autopage/rules.json', //'https://raw.incept.pw/XIU2/UserScript/master/other/Autopage/rules.json', + '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://gh-proxy.com/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', @@ -113,18 +112,17 @@ 'https://jsd.proxy.aks.moe/gh/XIU2/UserScript/other/Autopage/rules.json', 'https://jsdelivr.pai233.top/gh/XIU2/UserScript/other/Autopage/rules.json', 'https://js.cdn.haah.net/gh/XIU2/UserScript/other/Autopage/rules.json' - //'https://raw.cachefly.998111.xyz/XIU2/UserScript/master/other/Autopage/rules.json' ], urlArr2 = [ 'https://userscript.h233.eu.org/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', + '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://gh-proxy.com/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 93b6453a8e0a858142a721a6aea091cfeba1a358 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 1 Aug 2024 17:54:10 +0800 Subject: [PATCH 021/424] =?UTF-8?q?=E8=B0=83=E6=95=B4=20[Release]=20?= =?UTF-8?q?=E5=8A=A0=E9=80=9F=E6=BA=90=E4=B8=BA=E5=85=A8=E9=9A=8F=E6=9C=BA?= =?UTF-8?q?(=E5=8D=B3=E9=9D=9E=E7=BE=8E=E5=9B=BD=E8=8A=82=E7=82=B9?= =?UTF-8?q?=E4=B9=9F=E5=8A=A0=E5=85=A5=E9=9A=8F=E6=9C=BA=E6=B1=A0=EF=BC=8C?= =?UTF-8?q?=E7=BC=93=E8=A7=A3=E6=B5=81=E9=87=8F=E5=8E=8B=E5=8A=9B)=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=20[Release]=20=E5=8A=A0=E9=80=9F=E6=BA=90?= =?UTF-8?q?=E6=AF=8F=E6=AC=A1=E6=98=BE=E7=A4=BA=E7=9A=84=E6=95=B0=E9=87=8F?= =?UTF-8?q?=E4=B8=BA=206=20=E4=B8=AA(=E6=AF=95=E7=AB=9F=E5=B7=B2=E7=BB=8F?= =?UTF-8?q?=E6=98=AF=E5=85=A8=E9=9A=8F=E6=9C=BA=E4=BA=86=EF=BC=8C=E6=89=80?= =?UTF-8?q?=E4=BB=A5=E4=B9=9F=E4=B8=8D=E9=9C=80=E8=A6=81=E9=82=A3=E4=B9=88?= =?UTF-8?q?=E5=A4=9A=E4=BA=86)=20=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 | 110 ++++++++++----------- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 6208f4dba..e6e0426cd 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.31 +// @version 2.6.0 // @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,77 +57,76 @@ ['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://hub.whtrys.space', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [FastGit 群组成员] 提供'], ['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], + ['https://github.moeyy.xyz/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], ['https://download.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供'], //['https://download.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 //['https://download.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 //['https://download.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 证书到期 - ['https://hub.whtrys.space', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [FastGit 群组成员] 提供'] - ], download_url = [ - //['https://download.fastgit.org', '德国', '[德国] - 该公益加速源由 [FastGit] 提供 提示:希望大家尽量多使用前面的美国节点(每次随机 4 个来负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~', 'https://archive.fastgit.org'], // 证书过期 - ['https://mirror.ghproxy.com/https://github.com', '韩国', '[日本、韩国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 提示:希望大家尽量多使用前面的美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], - ['https://ghproxy.net/https://github.com', '日本', '[日本 大阪] - 该公益加速源由 [ghproxy] 提供 提示:希望大家尽量多使用前面的美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], - ['https://kkgithub.com', '香港', '[中国香港、日本、新加坡等] - 该公益加速源由 [help.kkgithub.com] 提供 提示:希望大家尽量多使用前面的美国节点(每次随机 4 个来负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], - //['https://download.incept.pw', '香港', '[中国香港] - 该公益加速源由 [FastGit 群组成员] 提供 提示:希望大家尽量多使用前面的美国节点(每次随机 4 个来负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'] // ERR_SSL_PROTOCOL_ERROR + //], download_url = [ // 为了缓解亚洲公益节点压力(考虑到很多人无视前面随机的美国节点),干脆也将其加入随机 + ['https://mirror.ghproxy.com/https://github.com', '其他', '[日本、新加坡、美国、德国、巴西等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], + ['https://ghproxy.net/https://github.com', '英国', '[英国伦敦] - 该公益加速源由 [ghproxy] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], + ['https://kkgithub.com', '其他', '[中国香港、日本、韩国、新加坡等] - 该公益加速源由 [help.kkgithub.com] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], + //['https://download.incept.pw', '香港', '[中国香港] - 该公益加速源由 [FastGit 群组成员] 提供 提示:希望大家尽量多使用前面的美国节点(每次随机 4 个来负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], // ERR_SSL_PROTOCOL_ERROR ], clone_url = [ ['https://gitclone.com', '国内', '[中国 国内] - 该公益加速源由 [GitClone] 提供 - 缓存:有 - 首次比较慢,缓存后较快'], - ['https://kkgithub.com', '香港', '[中国香港、日本、新加坡等] - 该公益加速源由 [help.kkgithub.com] 提供 - 缓存:无(或时间很短)'], - ['https://hub.incept.pw', '香港', '[中国香港、美国] - 该公益加速源由 [FastGit 群组成员] 提供'], - ['https://mirror.ghproxy.com/https://github.com', '韩国', '[日本、韩国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], - ['https://githubfast.com', '韩国', '[韩国] - 该公益加速源由 [Github Fast] 提供 - 缓存:无(或时间很短)'], - ['https://ghproxy.net/https://github.com', '日本', '[日本 大阪] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], - ['https://github.moeyy.xyz/https://github.com', '新加坡', '[新加坡、中国香港、日本等](CDN 不固定) - 该公益加速源由 [Moeyy] 提供 - 缓存:无(或时间很短)'], - //['https://slink.ltd/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [知了小站] 提供'] // 暂无必要 - //['https://hub.gitmirror.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [GitMirror] 提供'], // 暂无必要 - //['https://gh-proxy.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], - //['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.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 暂无必要 - //['https://hub.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 暂无必要 + ['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://githubfast.com', '韩国', '[韩国] - 该公益加速源由 [Github Fast] 提供'], + ['https://ghproxy.net/https://github.com', '日本', '[日本 大阪] - 该公益加速源由 [ghproxy] 提供'], + ['https://github.moeyy.xyz/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], + //['https://slink.ltd/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [知了小站] 提供'], + //['https://hub.gitmirror.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [GitMirror] 提供'], + //['https://gh-proxy.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [ghproxy] 提供'], + //['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.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], + //['https://hub.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], //['https://hub.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 证书到期 - //['https://hub.whtrys.space', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [FastGit 群组成员] 提供'], // 暂无必要 - //['https://hub.0z.gs', '美国', '[美国 Cloudflare CDN]'], // 域名无解析 - //['https://hub.shutcm.cf', '美国', '[美国 Cloudflare CDN]'] // 连接超时 + //['https://hub.whtrys.space', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [FastGit 群组成员] 提供'], ], clone_ssh_url = [ ['ssh://git@ssh.github.com:443/', 'Github 原生', '[日本、新加坡等] - Github 官方提供的 443 端口的 SSH(依然是 SSH 协议),适用于限制访问 22 端口的网络环境'], - ['git@ssh.fastgit.org:', '香港', '[中国 香港] - 该公益加速源由 [FastGit] 提供'] + //['git@ssh.fastgit.org:', '香港', '[中国 香港] - 该公益加速源由 [FastGit] 提供'], // 挂了 //['git@git.zhlh6.cn:', '美国', '[美国 洛杉矶]'] // 挂了 ], raw_url = [ ['https://raw.githubusercontent.com', 'Github 原生', '[日本 东京]'], - ['https://raw.kkgithub.com', '香港 1', '[中国香港、日本、新加坡等] - 该公益加速源由 [help.kkgithub.com] 提供 - 缓存:无(或时间很短)'], + ['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://mirror.ghproxy.com/https://raw.githubusercontent.com', '韩国', '[日本、韩国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], - ['https://ghproxy.net/https://raw.githubusercontent.com', '日本 1', '[日本 大阪] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], + ['https://gitdl.cn/https://raw.githubusercontent.com', '香港 4', '[中国香港] - 该公益加速源由 [gitdl] 提供'], + ['https://mirror.ghproxy.com/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] 提供 - 缓存:有'], //['https://gcore.jsdelivr.net/gh', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], // 变成 美国 Cloudflare CDN 了 ['https://jsdelivr.b-cdn.net/gh', '其他 1', '[中国香港、台湾、日本、新加坡等](CDN 不固定) - 该公益加速源由 [@rttwyjz] 提供 - 缓存:有'], - ['https://github.moeyy.xyz/https://raw.githubusercontent.com', '其他 2', '[新加坡、中国香港、日本等](CDN 不固定) - 缓存:无(或时间很短)'], + //['https://github.moeyy.xyz/https://raw.githubusercontent.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'] //['https://raw.cachefly.998111.xyz', '其他 4', '[新加坡、日本、印度等](Anycast CDN 不固定) - 该公益加速源由 [@XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX0] 提供 - 缓存:有(约 12 小时)'], // 证书到期 - //['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://gh-proxy.com/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], - //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供 - 缓存:无(或时间很短)'], // 暂无必要 - //['https://raw.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供 - 缓存:无(或时间很短)'], - //['https://raw.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], - //['https://raw.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], - //['https://raw.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 证书到期 - //['https://raw.gitmirror.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [GitMirror] 提供 - 缓存:有'], // 暂无必要 - //['https://cdn.54188.cf/gh', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [PencilNavigator] 提供 - 缓存:有'], // 暂无必要 - //['https://raw.fastgit.org', '德国', '[德国] - 该公益加速源由 [FastGit] 提供 - 缓存:无(或时间很短)'], // 挂了 - //['https://git.yumenaka.net/https://raw.githubusercontent.com', '美国', '[美国 圣何塞] - 缓存:无(或时间很短)'], // 连接超时 + //['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://gh-proxy.com/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [ghproxy] 提供'], + //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], + //['https://raw.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供'], + //['https://raw.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], + //['https://raw.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], + //['https://raw.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 证书到期 + //['https://raw.gitmirror.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [GitMirror] 提供 - 缓存:有'], + //['https://cdn.54188.cf/gh', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [PencilNavigator] 提供 - 缓存:有'], + //['https://git.yumenaka.net/https://raw.githubusercontent.com', '美国', '[美国 圣何塞]'], // 连接超时 ], svg = [ '' ], style = ['padding:0 6px; margin-right: -1px; border-radius: 2px; background-color: var(--XIU2-back-Color); border-color: rgba(27, 31, 35, 0.1); font-size: 11px; color: var(--XIU2-font-Color);']; @@ -208,12 +207,13 @@ observer.observe(document, { childList: true, subtree: true }); - // download_url 随机 4 个美国加速源 + // download_url 随机几个美国加速源 function get_New_download_url() { //return download_url_us.concat(download_url) // 全输出调试用 - let shuffled = download_url_us.slice(0), i = download_url_us.length, min = i - 4, temp, index; + 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 数组并取前 4 个,然后将其合并至 download_url 数组 + return shuffled.slice(min)//.concat(download_url); // 随机洗牌 download_url_us 数组并取前几个,然后将其合并至 download_url 数组 + // 为了缓解亚洲公益节点压力(考虑到很多人无视前面随机的美国节点),干脆也将其加入随机 } // Release From 15804afad4df76f2a5a8e2fd669accfb8eb31756 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 2 Aug 2024 01:01:34 +0800 Subject: [PATCH 022/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Forgejo/Gitea=20g?= =?UTF-8?q?it=20=E6=89=98=E7=AE=A1=E7=B3=BB=E7=BB=9F]=20=E9=80=9A=E7=94=A8?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=88=E5=A6=82=20codeberg=E3=80=81gitea?= =?UTF-8?q?=20=E7=BD=91=E7=AB=99=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 24 ++++++++++++++++++++---- other/Autopage/rules.json | 10 ---------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 7cf8fefbc..67579b900 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.20 +// @version 6.6.21 // @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...) 等網站~ @@ -20,6 +20,7 @@ // @connect raw.scholar.rr.nu // @connect raw.kkgithub.com // @connect raw.incept.pw +// @connect gitdl.cn // @connect ghproxy.cc // @connect ghproxy.net // @connect mirror.ghproxy.com @@ -94,6 +95,7 @@ 'https://userscript.h233.eu.org/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', //'https://raw.incept.pw/XIU2/UserScript/master/other/Autopage/rules.json', 'https://raw.ixnic.net/XIU2/UserScript/master/other/Autopage/rules.json', 'https://raw.nuaa.cf/XIU2/UserScript/master/other/Autopage/rules.json', @@ -111,19 +113,20 @@ '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', - 'https://js.cdn.haah.net/gh/XIU2/UserScript/other/Autopage/rules.json' + '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.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', + 'https://gitdl.cn/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json', '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://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']; @@ -166,7 +169,7 @@ } else { // 不在禁用列表中 webType = doesItSupport(); // 判断网站类型(即是否支持),顺便直接赋值 if (webType === 0) { - menuId[0] = GM_registerMenuCommand('❌ 当前网页暂不支持 [点击申请]', function () {GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});GM_openInTab('https://greasyfork.org/zh-CN/scripts/419215/feedback', {active: true,insert: true,setParent: true});}); + menuId[0] = GM_registerMenuCommand('❌ 当前网页暂不支持 [点击申请]', function(){GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});GM_openInTab('https://greasyfork.org/zh-CN/scripts/419215/feedback', {active: true,insert: true,setParent: true});}); menuId[1] = GM_registerMenuCommand('🔄 更新外置翻页规则 (每天自动)', function(){getRulesUrl(true)}); menuId[2] = GM_registerMenuCommand('#️⃣ 自定义翻页规则', function(){customRules()}); //console.info('[自动无缝翻页] - 暂不支持当前网页 [ ' + location.href + ' ],申请支持: https://github.com/XIU2/UserScript / https://greasyfork.org/zh-CN/scripts/419215/feedback'); @@ -295,6 +298,9 @@ } else if (getCSS('head meta[name="generator" i][content="nexusphp" i]') || getXpath('id("footer")[contains(string(), "NexusPHP")]')) { console.info(`[自动无缝翻页] - 论坛`); return 7; + } else if (unsafeWindow.config && ((unsafeWindow.config.assetVersionEncoded && unsafeWindow.config.assetVersionEncoded.indexOf('gitea') !== -1) || (unsafeWindow.config.customEmojis && unsafeWindow.config.customEmojis.gitea))) { + console.info(`[自动无缝翻页] - git 托管系统`); return 15; + } else if (loadMoreExclude(loadMoreExclude1) && getAllCSS('.load-more, .load_more, .loadmore, #load-more, #load_more, #loadmore, [id^="loadmore"], .show-more, .show_more, .ajax-more').length === 1) { console.info(`[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 1`); return 8; @@ -433,6 +439,8 @@ DBSite.mybb.url(); break; case 7: // < 所有 NexusPHP 论坛 > DBSite.nexusphp.url(); break; + case 15: // < 所有 Forgejo/Gitea> git 托管系统 > + DBSite.forgejoGitea.url(); break; case 8: // < 部分自带 自动无缝翻页 的网站 1 > DBSite.loadmore.url('.load-more, .load_more, .loadmore, #load-more, #load_more, #loadmore, [id^="loadmore"], .show-more, .show_more, .ajax-more'); break; case 9: // < 部分自带 自动无缝翻页 的网站 2 > @@ -890,6 +898,14 @@ function: { replaceE: 'ul.pagination' } }, // Xiuno 论坛 - 帖子内 + forgejoGitea: { + url: ()=> {if (indexOF(/^\/explore\/.+/) || indexOF(/\/(issues|pulls|releases|tags)$/) || indexOF(/\/commits\/branch\/.+/) || (getCSS('.pagination>.active+.item') && getCSS('.flex-list>.flex-item'))) {curSite = DBSite.forgejoGitea;}}, + pager: { + nextL: '.pagination>.active+.item', + pageE: '.flex-list>.flex-item, #issue-list>div, #release-list>li, tbody.tag-list>tr, tbody.commit-list>tr', + replaceE: '.pagination' + } + }, // Forgejo/Gitea git 托管系统 - explore/issues/releases/tag/commit nexusphp: { url: ()=> { if (lp == '/torrents.php' || getCSS('table.torrents')) { diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index c9d95a878..19002914a 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4726,16 +4726,6 @@ "replaceE": ".pagination" } }, - "Codeberg": { - "host": "codeberg.org", - "url": "return (fun.indexOF(/^\\/explore\\/.+/) || fun.indexOF(/\\/(issues|pulls|releases|tags)$/) || fun.indexOF(/\\/commits\\/branch\\/.+/))", - "blank": 3, - "pager": { - "nextL": ".pagination>.active+.item", - "pageE": ".repository.list>.item, .user.list>.item, .issue.list>.item, #release-list>li, tbody.tag-list>tr, tbody.commit-list>tr", - "replaceE": ".pagination" - } - }, "OI-Wiki": { "host": "oi-wiki.org", "style": "blockquote.page-copyright, h2#__comments, form#gitalk-form", From c8722dd30372ff442ee814ba6e6685967b2b486e Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 3 Aug 2024 13:22:57 +0800 Subject: [PATCH 023/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[7017k=E5=B0=8F?= =?UTF-8?q?=E8=AF=B4=E7=BD=91]=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 | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 19002914a..e5d6e6003 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3653,6 +3653,18 @@ "bF": "return fun.src_bF(pageE, [0, 'img[_src]', '_src'])" } }, + "7017k小说网": { + "host": "www.7017k.net", + "url": "/\\/\\d+\\.html$/", + "history": true, + "pager": { + "nextL": ".next>a", + "pageE": ".box_box", + "insertP": [".box_box",6], + "insertP6Br": true, + "replaceE": ".u" + } + }, "皇帝之家": { "host": "www.huangdizhijia.com", "url": "/chapter-\\d+\\.html/", @@ -6505,17 +6517,17 @@ "scrollD": 3000 } }, - "ku+taotu": { - "host": ["/^www\\.ku\\d+\\./","/^www\\.taotu\\d+\\./"], - "url": "return fun.isPager()", - "style": ".content img {min-height: 500px;} .Title9, .dibu1, .dibu2 {display: none !important;}", - "pager": { - "type": 3, - "nextL": ".thisclass+li>a, .this-page+a:not(.no-page)", - "pageE": ".content, .TypeList, .m-list.ml1, .slider-c>.row>div", - "replaceE": ".NewPages, .page" - } - }, + "ku+taotu": { + "host": ["/^www\\.ku\\d+\\./","/^www\\.taotu\\d+\\./"], + "url": "return fun.isPager()", + "style": ".content img {min-height: 500px;} .Title9, .dibu1, .dibu2 {display: none !important;}", + "pager": { + "type": 3, + "nextL": ".thisclass+li>a, .this-page+a:not(.no-page)", + "pageE": ".content, .TypeList, .m-list.ml1, .slider-c>.row>div", + "replaceE": ".NewPages, .page" + } + }, "kingdom": { "host": "www.kingdom-en.com", "url": "/(^\\/.)|(\\d+\\.html$)/", From 058fbeb244361df89d1fb3abe2867cf4e8be15bb Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 3 Aug 2024 15:35:57 +0800 Subject: [PATCH 024/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[24FA]=20=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index e5d6e6003..b0c6aa541 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -6615,11 +6615,11 @@ }, "24FA": { "host": ["/^(www\\.)?24fa\\.[a-z]+$/","/^(www\\.)?24fa.?\\.com$/","/^(www\\.)?\\d{3}w\\.cc$/","/^(www\\.)?\\d{3}\\.(mom|one)$"], - "url": "return (fun.isTitle('24FA') && fun.indexOF(/^\\/m?n\\d+/))", + "url": "return (fun.isTitle('24FA') && fun.isPager())", "style": ".moreR {display: none;} #content img {width: auto; max-width: 99%; height: auto; display: block; margin: 0 auto;}", "pager": { "nextL": "li.p_current+li>a", - "pageE": "#content img", + "pageE": "#content img, #dlNews>tbody>tr, .summary", "replaceE": ".pager", "scrollD": 3500 } From f771a0d440e065aaf96dca0369bb326d0d40e771 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 5 Aug 2024 11:40:44 +0800 Subject: [PATCH 025/424] Update issue templates --- .github/ISSUE_TEMPLATE/03-autoPageRequest.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/03-autoPageRequest.yml b/.github/ISSUE_TEMPLATE/03-autoPageRequest.yml index b8491d49f..ec1f4a675 100644 --- a/.github/ISSUE_TEMPLATE/03-autoPageRequest.yml +++ b/.github/ISSUE_TEMPLATE/03-autoPageRequest.yml @@ -17,8 +17,9 @@ body: > 2. 如 **`需要登录`** 才能看到内容,请先联系我**私下告诉账号**,否则我**无法凭空制作**翻页规则(网课类不会添加支持)。 > 3. 请直接提供 **`具体页面的网页地址 URL`** (特别是一些**页面很多的网站**),尽量减少我的工作量,否则可能拒绝申请。 - > 另外,对于**正版小说/漫画**网站,因为反爬防盗的原因也会导致无法制作规则(该脚本本质上也是爬虫,虽然只爬取下一页,但也会被阻碍)。 - > 如果你要申请脚本对 `某个博客/论坛系统` 添加支持(即通用规则,所有使用这个博客/论坛系统的网站都会支持),那么需要提供 `官方博客/论坛地址` 及 其他**几个使用该博客/论坛系统的网站地址**,用于对比、验证,才能写出通用规则。 + > - 另外,对于**正版小说/漫画**网站,因为反爬防盗的原因也会导致无法制作规则(该脚本本质上也是爬虫,虽然只爬取下一页)。 + > - 另外,对于**没有 HTTPS** 的网站(这种网站目前全网占比极少,且大都是一些老旧网站),是不考虑添加支持。 + > - 另外,如果你要申请脚本对 `某个博客/论坛系统` 添加支持(即通用规则,所有使用这个博客/论坛系统的网站都会支持),那么需要提供 `官方博客/论坛地址` 及 其他**几个使用该博客/论坛系统的网站地址**,用于对比、验证,才能写出通用规则。 **** - type: input id: websitename From e9f4d8493afba60292368ee629ba50f22be65fe6 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 5 Aug 2024 22:23:48 +0800 Subject: [PATCH 026/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E7=9A=84=E7=A4=BA=E4=BE=8B=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 67579b900..ae1918a3d 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.21 +// @version 6.6.22 // @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...) 等網站~ @@ -1178,7 +1178,7 @@ function: { method: 'GET', responseType: 'json', overrideMimeType: 'application/json; charset=utf-8', - timeout: 5000, + timeout: 4000, onload: function (response) { try { //console.log('最终 URL:' + response.finalUrl, '返回内容:',response.response, response.responseHeaders) @@ -1933,7 +1933,7 @@ function: { 'Content-Type': (method === 'POST') ? 'application/x-www-form-urlencoded':'', 'Accept': accept }, - timeout: 10000, + timeout: 5000, onload: function (response) { try { //console.log('最终 URL:' + response.finalUrl, '返回内容:' + response.responseText) @@ -2742,17 +2742,18 @@ function: {
  • 脚本会自动格式化规则,因此无需手动缩进、换行,只需把规则插入默认的 { } 中间即可。
  • -// 下面示例是把所有规则都塞进去了,但实际上大部分都用不上,大多数网站只需要像第一个 "aaa" 这样的规则(replaceE 规则可以省略,脚本会自动判断)
    +// 下面示例是把所有规则都塞进去了,但实际上大部分都用不上,大多数网站只需要像第一个 "aaa" 这样的规则(下方 示例一 中 url、replaceE、scrollD 均可按需省略):
     
     // "aaa"       是规则名,唯一,因为 自定义翻页规则 优先级最高,所以会覆盖同名的 外置翻页规则
    -
    +// "host"      是域名,支持正则表达式(如 示例四),也可以像这样 示例三 那样写多个域名或正则表达式(当然也可以混用)
     // "url"       是用来控制哪些网站中页面适用该规则,省略后代表该规则应用于全站(如果不知道写什么,那么就写 return fun.isPager() 这样脚本会默认自动匹配当前网站下存在 nextL 及 pageE 元素的网页,大部分网站是没问题的,如果改为匹配 replaceE 或者其他组合,那么请去下面的 Github Issues 里的 内置函数 中查看具体使用方法)
     
    -// "replaceE"  省略后将会自动判断是替换 nextL 元素还是 nextL 的父元素(当 nextL 元素后面或前面有  的相邻兄弟元素时替换其父元素,反之替换其自身,仅限模式1/3/6,且 js 代码除外),值为空 "" 时则完全不替换
    -
    +// "nextL"     是用来指定含有下一页地址的元素选择器(CSS 或 XPath 都行,一般都是 <a> 元素)
    +// "pageE"     是指定要从下一页获取的元素(也就是网页主体内容),并将其插入当前网页中同样元素的末尾
    +// "replaceE"  用于将当前网页中的页码元素替换为下一页的页码元素(这样才能无限翻页下去),省略后将会自动判断是替换 nextL 元素自身还是 nextL 元素的父元素(当 nextL 元素后面或前面有其自身 <a> 元素的相邻兄弟元素时脚本会替换其父元素,反之没有相邻兄弟元素则替换其自身,仅限模式1/3/6,且 "js;" 开头的 nextL 规则除外),值为空 "" 时则完全不替换
     // "scrollD"   是用来控制翻页敏感度的(越大就越早触发翻页,访问速度慢的网站需要调大,可省略(记得移除上一行末尾逗号),省略后默认 2000)
     
    -// "inherits"  是继承标识,当你只需要对某个外置规则中 增删改 部分规则内容时(比如只是修改域名),那么就可以像下面第二个 "aaa" 规则一样写一个同名规则,规则内只有要修改的 host,以及 inherits 标识,这样脚本就会将外置规则中的 host 替换为自定义规则中的 host,其他规则则不变。即更灵活了,无需每次为了修改部分规则而去复制全部规则了,也不用担心我后续更新这个外置规则后,你还需要再次复制一遍来修改。。。
    +// "inherits"  是继承标识,当你只需要对某个外置规则中 增删改 部分规则内容时(比如只是修改域名),那么就可以像下面第二个 "aaa" 规则一样写一个同名规则,规则内只需要有要修改的 host 内容,以及 inherits 标识,这样脚本就会将这个自定义翻页规则中的 host 覆盖掉外置翻页规则中的 host,而该翻页规则内的其他规则内容则不变。即更灵活了,无需每次为了修改部分规则而去复制全部规则了,也不用担心我后续更新这个外置规则后,你还需要再次复制一遍来修改。。。
     
     {
         "aaa": {
    
    From 0c94b2cb622cf2110e673cc61bbe20682838f578 Mon Sep 17 00:00:00 2001
    From: xiu2 <54703944+XIU2@users.noreply.github.com>
    Date: Tue, 6 Aug 2024 14:51:17 +0800
    Subject: [PATCH 027/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=9F=92?=
     =?UTF-8?q?=E5=85=AD=E5=85=AB=E6=96=87=E5=AD=A6=E5=B0=8F=E8=AF=B4=E7=BD=91?=
     =?UTF-8?q?]=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 | 12 ++++++++++++
     1 file changed, 12 insertions(+)
    
    diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json
    index b0c6aa541..a187e4e42 100644
    --- a/other/Autopage/rules.json
    +++ b/other/Autopage/rules.json
    @@ -3665,6 +3665,18 @@
     			"replaceE": ".u"
     		}
     	},
    +	"柒六八文学小说网": {
    +		"host": ["www.778668.com","m.778668.com"],
    +		"url": "if(fun.indexOF(/^\\/.+\\/\\d+_\\d+\\.html$/)){fun.xs_bF(fun.getAllCSS('.pt-read-text>p,#pt-pop>a>font>p'), [/(^微信小程序.+|本章未完,请点击.+页$)/, '']); return true}",
    +		"retry": 3000,
    +		"pager": {
    +			"nextL": "a.pt-nextchapter[href$='.html'],.pt-nextchapter>a[href$='.html']",
    +			"pageE": ".pt-read-text>p,#pt-pop>a>font>p"
    +		},
    +		"function": {
    +			"bF": "return fun.xs_bF(pageE, [/(^微信小程序.+|本章未完,请点击.+页$)/, ''])"
    +		}
    +	},
     	"皇帝之家": {
     		"host": "www.huangdizhijia.com",
     		"url": "/chapter-\\d+\\.html/",
    
    From 8d4fadbc9b76cf206e36cc374e27db1ce8c3684e Mon Sep 17 00:00:00 2001
    From: xiu2 <54703944+XIU2@users.noreply.github.com>
    Date: Wed, 7 Aug 2024 11:16:26 +0800
    Subject: [PATCH 028/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[NGA]=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 | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json
    index a187e4e42..40991ff8c 100644
    --- a/other/Autopage/rules.json
    +++ b/other/Autopage/rules.json
    @@ -71,7 +71,7 @@
     			"replaceE": "#b_results>.b_pag, #b_PagAboveFooter"
     		},
     		"function": {
    -			"bF": "pageE.forEach(function (one) {fun.getAllCSS('div.rms_iac[data-src]', one).forEach(function (one1) {one1.outerHTML = ``; }) }); return pageE"
    +			"bF": "pageE.forEach(function (one) {fun.getAllCSS('div.rms_iac[data-src]', one).forEach(function (one1) {one1.outerHTML = ``; }) }); return pageE"
     		}
     	},
     	"搜狗搜索": {
    @@ -493,7 +493,7 @@
     	},
     	"NGA": {
     		"host": ["bbs.nga.cn","ngabbs.com","nga.178.com","g.nga.cn"],
    -		"url": "fun.isUrlC(); if(!window.__APPEMBED && !window.cookieInterval){window.cookieInterval = setInterval(()=>{if (!window.__APPEMBED) {document.cookie = 'guestJs=' + fun.getCookie('guestJs').replace(/^\\d+/,parseInt(new Date().getTime()/1000)) + ';domain=' + location.host + ';expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/;samesite=none;secure=false';document.cookie = 'lastvisit=' + parseInt(new Date().getTime()/1000+123) + ';samesite=none;secure=false;domain=' + location.host;};},1000)}; return (fun.lp() == '/thread.php')",
    +		"url": "fun.isUrlC(); if(!window.__APPEMBED && !window.cookieInterval){window.cookieInterval = setInterval(()=>{if (!window.__APPEMBED) {document.cookie = 'guestJs=' + fun.getCookie('guestJs').replace(/^\\d+/,parseInt(new Date().getTime()/1000-parseInt(Math.random()*(300-100)+100))) + ';domain=' + location.host + ';expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/;samesite=none;secure=false';document.cookie = 'lastvisit=' + parseInt(new Date().getTime()/1000-parseInt(Math.random()*(100-1)+1)) + ';samesite=none;secure=false;domain=' + location.host;};},10000)}; return (fun.lp() == '/thread.php')",
     		"iframe": true,
     		"gmxhr": true,
     		"pager": {
    
    From cfbe5082505e86e90770abf72472b4d1630755b1 Mon Sep 17 00:00:00 2001
    From: xiu2 <54703944+XIU2@users.noreply.github.com>
    Date: Wed, 7 Aug 2024 11:27:14 +0800
    Subject: [PATCH 029/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E7=AC=94?=
     =?UTF-8?q?=E8=B6=A3=E9=98=81=E7=B1=BB=E5=B0=8F=E8=AF=B4=E7=BD=91=E7=AB=99?=
     =?UTF-8?q?]=20=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99(=E5=8A=A0=E5=85=A53?=
     =?UTF-8?q?=E7=A7=92=E9=87=8D=E8=AF=95=E8=A7=84=E5=88=99=E6=9D=A5=E5=BA=94?=
     =?UTF-8?q?=E5=AF=B9=E9=99=90=E5=88=B6=E8=AE=BF=E9=97=AE=E9=A2=91=E7=8E=87?=
     =?UTF-8?q?=E8=BE=83=E8=8B=9B=E5=88=BB=E7=9A=84=E5=B0=8F=E8=AF=B4=E7=BD=91?=
     =?UTF-8?q?=E7=AB=99);=20=E4=BC=98=E5=8C=96=20=E7=BF=BB=E9=A1=B5=E6=A8=A1?=
     =?UTF-8?q?=E5=BC=8F1/3=20=E4=BB=A3=E7=A0=81=E5=8F=8A=E5=92=8C=E9=87=8D?=
     =?UTF-8?q?=E8=AF=95=E7=9B=B8=E5=85=B3=E7=9A=84=E4=BB=A3=E7=A0=81?=
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    
    ---
     Autopage.user.js | 13 +++++++++----
     1 file changed, 9 insertions(+), 4 deletions(-)
    
    diff --git a/Autopage.user.js b/Autopage.user.js
    index ae1918a3d..c90d996c9 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.22
    +// @version      6.6.23
     // @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...) 等網站~
    @@ -615,6 +615,7 @@ function: {
                     url: ()=> {curSite = DBSite.biquge1;xs_bF(getAllCSS('.content > #content'),[/
    .{0,10}秒记住.+$/, '']);}, style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #content > *:not(br):not(p) {display: none !important;}', history: true, + retry: 3000, pager: { nextL: '//div[@class="page_chapter"]//a[text()="下一章"]', pageE: '.content > #content', @@ -629,6 +630,7 @@ function: { biquge1_m: { style: 'img, .posterror, .show-app2, a[href*="posterror()"], [onclick*="location.href"], [style*="background"][style*="url("]:not(html):not(body), #nr1>*:not(br):not(p), #chaptercontent>*:not(br):not(p), .Readarea>*:not(br):not(p), .ReadAjax_content>*:not(br):not(p) {display: none !important;}', history: true, + retry: 3000, pager: { nextL: '#pb_next, #linkNext', pageE: '#nr1, #chaptercontent, .Readarea, .ReadAjax_content', @@ -640,6 +642,7 @@ function: { url: ()=> {if (isMobile() || getCSS('.chapter-page-btn') != null) {curSite = DBSite.biquge2_m;} else {curSite = DBSite.biquge2;}}, style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #txt > *:not(br):not(p) {display: none !important;}', history: true, + retry: 3000, pager: { type: 6, nextL: '#pb_next, .url_next', @@ -653,6 +656,7 @@ function: { biquge2_m: { style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #txt > *:not(br):not(p) {display: none !important;}', history: true, + retry: 3000, pager: { nextL: '#pb_next, .url_next', pageE: '#txt, .txt', @@ -663,6 +667,7 @@ function: { biquge3: { style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), script+div[style="padding:15px;"], p[style*="font-weight:"] {display: none !important;}', history: true, + retry: 3000, pager: { nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页") or contains(text(), "下一节")]', insertP6Br: true, @@ -1862,10 +1867,10 @@ function: { xhr.timeout = 5000; xhr.onload = function() { - if (xhr.status >= 200 && xhr.status < 300) { + try { //console.log('URL:' + url, '最终 URL:' + xhr.responseURL, '返回内容:' + xhr.responseText) processElems(createDocumentByString(xhr.responseText)); - } else { + } catch (e) { console.error('[自动无缝翻页] - 处理获取到的下一页内容时出现问题,请检查!', 'URL:' + url, '最终 URL:' + xhr.responseURL, '返回状态:' + xhr.statusText, '返回内容:' + xhr.responseText); } }; @@ -2177,7 +2182,7 @@ function: { } else { // 获取主体元素失败后,尝试重新获取 console.log(curSite.pager.pageE, pageE, curSite.pager.insertP, toE, response) if (curSite.retry) { - console.warn('[自动无缝翻页] 获取主体元素失败,尝试重新获取...') + console.warn('[自动无缝翻页] 获取主体元素失败,' + curSite.retry + '毫秒 后可向下翻网页来触发脚本尝试重新获取...') setTimeout(function(){curSite.pageUrl = '';}, curSite.retry) } else { console.error('[自动无缝翻页] 获取主体元素失败...') From 0a4a3ee7b073a0bc84fde34a9d562e1a0a38beb7 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 7 Aug 2024 18:25:42 +0800 Subject: [PATCH 030/424] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[AGE=20=E5=8A=A8?= =?UTF-8?q?=E6=BC=AB]=20=E8=A7=84=E5=88=99=E5=B9=B6=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 40991ff8c..f7ac20b48 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2303,23 +2303,17 @@ } }, "AGE 动漫": { - "host": ["/^www\\.agemys\\..+$/","www.age.tv"], - "url": "return (fun.indexOF('/catalog/') || fun.lp() == '/search' || fun.lp() == '/recommend' || fun.lp() == '/update')", + "host": ["www.agefans.com","www.age.tv","/^www\\.(agedm|agemys)\\./"], + "url": "/^\\/(catalog|search|recommend)/", "blank": 3, "pager": { - "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", - "pageE": "#container .blockcontent1>div, #container .blockcontent>ul:not(.search-list)>li", - "replaceE": "#container .blockcontent>div[style]:not([class])" - } - }, - "AGE 动漫 - 排行榜": { - "host": ["/^www\\.agemys\\..+$/","www.age.tv"], - "url": "return (fun.lp() == '/rank')", - "blank": 3, - "pager": { - "nextL": "id('container')/ul[@style][not(@class)]/li/a[contains(text(), '下一页')]", - "pageE": "#container>.div_right .blockcontent.div_right_r_3>ul", - "replaceE": "#container>ul[style]:not([class])" + "nextL": "li.page-item.active+li>a", + "pageE": "#cata_video_list .cata_video_item,#recommend_video_wrapper>div>div>div>.position-relative", + "replaceE": ".pagination", + "forceHTTPS": true + }, + "function": { + "bF": "return fun.src_bF(pageE)" } }, "233 动漫": { From 782999f940630b32829823840c0462b8a045671d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 7 Aug 2024 18:50:38 +0800 Subject: [PATCH 031/424] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20[233=20=E5=8A=A8?= =?UTF-8?q?=E6=BC=AB]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index f7ac20b48..33ea53cf8 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2316,26 +2316,6 @@ "bF": "return fun.src_bF(pageE)" } }, - "233 动漫": { - "host": "www.dm233.cc", - "url": "return (fun.indexOF('/catalog/') || fun.lp() == '/article/' || fun.lp() == '/recommend/' || fun.lp() == '/search')", - "blank": 3, - "pager": { - "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", - "pageE": ".dhnew ul>li, .xgyd ul>li", - "replaceE": ".pagelist" - } - }, - "233 动漫 - 排行榜": { - "host": "www.dm233.cc", - "url": "return (fun.lp() == '/rank/')", - "blank": 3, - "pager": { - "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", - "pageE": ".side-update.normal-wai>.normal-nei", - "replaceE": ".pagelist" - } - }, "anime1": { "host": "anime1.me", "url": "/^\\/$/", From b91bb60f9edb89a8939f3719cc92205897a7958a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 7 Aug 2024 18:51:02 +0800 Subject: [PATCH 032/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[NT=20=E5=8A=A8?= =?UTF-8?q?=E6=BC=AB]=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 33ea53cf8..a6e633856 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2316,6 +2316,16 @@ "bF": "return fun.src_bF(pageE)" } }, + "NT 动漫": { + "host": "/^www\\.ntdm\\d\\.com$/", + "url": "return fun.isPager()", + "blank": 3, + "pager": { + "nextL": "//a[@class='pbutton asciifont'][text()='下一页']", + "pageE": "ul.ul_li_a6>li,.blockcontent1>.cell", + "replaceE": "#container>div[style='text-align: center; line-height: 36px;']" + } + }, "anime1": { "host": "anime1.me", "url": "/^\\/$/", From 5198676ee7fbe277eaf1eeba41348c89fd5c5ce3 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 7 Aug 2024 18:51:59 +0800 Subject: [PATCH 033/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=BD=B1=E8=A7=86=E7=BD=91=E7=AB=99]=20=E9=80=9A?= =?UTF-8?q?=E7=94=A8=E8=A7=84=E5=88=992?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Autopage.user.js b/Autopage.user.js index c90d996c9..efdfb97e6 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.23 +// @version 6.6.24 // @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...) 等網站~ @@ -693,6 +693,7 @@ function: { }, // 部分影视网站 yingshi2: { blank: 3, + style: '.module-poster-item, .module-items>* {display: inline-block !important;}', pager: { nextL: '#page a[title="下一页"], a.page-number.page-next', pageE: '.module-items>*', From 5ef9f08840977ae45de683459832854382b4220d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 9 Aug 2024 01:19:14 +0800 Subject: [PATCH 034/424] =?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, 7 insertions(+), 4 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index e6e0426cd..bdac92cd7 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.0 +// @version 2.6.1 // @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,6 +57,7 @@ ['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://github.tmby.shop/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [blog.tmby.shop] 提供'], ['https://hub.whtrys.space', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [FastGit 群组成员] 提供'], ['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], ['https://github.moeyy.xyz/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], @@ -64,9 +65,9 @@ //['https://download.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 //['https://download.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 //['https://download.scholar.rr.nu', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 证书到期 - //], download_url = [ // 为了缓解亚洲公益节点压力(考虑到很多人无视前面随机的美国节点),干脆也将其加入随机 - ['https://mirror.ghproxy.com/https://github.com', '其他', '[日本、新加坡、美国、德国、巴西等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], + //], download_url = [ // 为了缓解非美国公益节点压力(考虑到很多人无视前面随机的美国节点),干脆也将其加入随机 ['https://ghproxy.net/https://github.com', '英国', '[英国伦敦] - 该公益加速源由 [ghproxy] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], + ['https://mirror.ghproxy.com/https://github.com', '其他', '[日本、新加坡、美国、德国、巴西等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], ['https://kkgithub.com', '其他', '[中国香港、日本、韩国、新加坡等] - 该公益加速源由 [help.kkgithub.com] 提供 提示:希望大家尽量多使用美国节点(每次随机 负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], //['https://download.incept.pw', '香港', '[中国香港] - 该公益加速源由 [FastGit 群组成员] 提供 提示:希望大家尽量多使用前面的美国节点(每次随机 4 个来负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力,公益才能更持久~'], // ERR_SSL_PROTOCOL_ERROR ], clone_url = [ @@ -88,6 +89,7 @@ //['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://github.tmby.shop/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [blog.tmby.shop] 提供'], //['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], //['https://hub.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], //['https://hub.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], @@ -118,6 +120,7 @@ //['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://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] 提供'], //['https://raw.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供'], @@ -213,7 +216,7 @@ 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 数组 - // 为了缓解亚洲公益节点压力(考虑到很多人无视前面随机的美国节点),干脆也将其加入随机 + // 为了缓解非美国公益节点压力(考虑到很多人无视前面随机的美国节点),干脆也将其加入随机 } // Release From 6c81d0d4fc4e033f0c04d7222bae9caebe67e811 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 11 Aug 2024 14:46:34 +0800 Subject: [PATCH 035/424] =?UTF-8?q?=E5=AE=8C=E5=96=84=20=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E7=A4=BA=E4=BE=8B=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index efdfb97e6..7b79104b4 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -2743,7 +2743,7 @@ function: {

    # 自定义翻页规则(优先级最高,会覆盖同名的外置翻页规则)-【将规则插入默认的 { } 中间】

    「 点击展开 查看规则示例 」(为了避免需要的时候还要找,我干脆把常用规则都一股脑塞进去了) @@ -2752,12 +2752,12 @@ function: { // "aaa" 是规则名,唯一,因为 自定义翻页规则 优先级最高,所以会覆盖同名的 外置翻页规则 // "host" 是域名,支持正则表达式(如 示例四),也可以像这样 示例三 那样写多个域名或正则表达式(当然也可以混用) -// "url" 是用来控制哪些网站中页面适用该规则,省略后代表该规则应用于全站(如果不知道写什么,那么就写 return fun.isPager() 这样脚本会默认自动匹配当前网站下存在 nextL 及 pageE 元素的网页,大部分网站是没问题的,如果改为匹配 replaceE 或者其他组合,那么请去下面的 Github Issues 里的 内置函数 中查看具体使用方法) +// "url" 是用来控制哪些网站中页面适用该规则,省略后代表该规则应用于全站(如果不知道写什么,那么就写 return fun.isPager() 这样脚本会默认自动匹配当前网站下存在 nextL 及 pageE 元素的网页,大部分网站是没问题的,如果改为匹配 replaceE 或者其他组合,那么请去上面的 Github Issues 里的 内置函数 中查看具体使用方法) // "nextL" 是用来指定含有下一页地址的元素选择器(CSS 或 XPath 都行,一般都是 <a> 元素) -// "pageE" 是指定要从下一页获取的元素(也就是网页主体内容),并将其插入当前网页中同样元素的末尾 -// "replaceE" 用于将当前网页中的页码元素替换为下一页的页码元素(这样才能无限翻页下去),省略后将会自动判断是替换 nextL 元素自身还是 nextL 元素的父元素(当 nextL 元素后面或前面有其自身 <a> 元素的相邻兄弟元素时脚本会替换其父元素,反之没有相邻兄弟元素则替换其自身,仅限模式1/3/6,且 "js;" 开头的 nextL 规则除外),值为空 "" 时则完全不替换 -// "scrollD" 是用来控制翻页敏感度的(越大就越早触发翻页,访问速度慢的网站需要调大,可省略(记得移除上一行末尾逗号),省略后默认 2000) +// "pageE" 是指定要从下一页获取的元素选择器(也就是网页主体内容),并将其插入当前网页中同样元素的末尾 +// "replaceE" 用于将当前网页中的页码元素替换为下一页的页码元素选择器(这样才能无限翻页下去),省略后将会自动判断是替换 nextL 元素自身还是 nextL 元素的父元素(当 nextL 元素后面或前面有其自身 <a> 元素的相邻兄弟元素时脚本会替换其父元素,反之没有相邻兄弟元素则替换其自身,仅限模式1/3/6,且 "js;" 开头的 nextL 规则除外),值为空 "" 时则完全不替换 +// "scrollD" 是用来指定触发翻页的滚动条与底部之间的距离,当滚动条底部距离网页底部之间的距离等于或小于该值时,将触发翻页,因此值越大就越早触发翻页,访问速度慢的网站需要调大,可省略(记得移除上一行末尾逗号),省略后默认 2000 // "inherits" 是继承标识,当你只需要对某个外置规则中 增删改 部分规则内容时(比如只是修改域名),那么就可以像下面第二个 "aaa" 规则一样写一个同名规则,规则内只需要有要修改的 host 内容,以及 inherits 标识,这样脚本就会将这个自定义翻页规则中的 host 覆盖掉外置翻页规则中的 host,而该翻页规则内的其他规则内容则不变。即更灵活了,无需每次为了修改部分规则而去复制全部规则了,也不用担心我后续更新这个外置规则后,你还需要再次复制一遍来修改。。。 @@ -2874,9 +2874,6 @@ function: { let Autopage_number = getCSS('#Autopage_number'), shadowRoot = Autopage_number.attachShadow({ mode: 'open' }); // 创建一个 Shadow DOM 避免网页样式影响页码元素 shadowRoot.innerHTML = _style + _html; // 插入元素 - //document.documentElement.insertAdjacentHTML('beforeend', _style + _html); - // 解决 远景论坛 会清理掉前面插入的 CSS 样式的问题 - //if (location.hostname === 'bbs.pcbeta.com') {setTimeout(function(){document.documentElement.insertAdjacentHTML('beforeend', _style);}, 500);} if (curSite.pager && curSite.pager.type == 5) window.top.document.xiu_pausePage = pausePage status = getCSS('#Autopage_number_button', shadowRoot); // 左键点击事件(临时暂停翻页) From 284a5d8e0350848edb730a6a882fbd728bd81f4e Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 14 Aug 2024 23:39:05 +0800 Subject: [PATCH 036/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E9=83=A8?= =?UTF-8?q?=E5=88=86=20WordPress=20=E7=BD=91=E7=AB=99]=20=E9=80=9A?= =?UTF-8?q?=E7=94=A8=E8=A7=84=E5=88=99=E5=8C=B9=E9=85=8D=E5=87=86=E7=A1=AE?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 7b79104b4..89f0d8ac4 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.24 +// @version 6.6.25 // @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...) 等網站~ @@ -307,7 +307,7 @@ } else if (loadMoreExclude(loadMoreExclude2) && getAllXpath('//*[self::a or self::span or self::button or self::div][text()="加载更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]').length === 1) { console.info(`[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 2`); return 9; - } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i], head>meta[name=generator][content*="WordPress" i]')) { + } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i], link[href*="/wp-includes/" i], script[src*="/wp-includes/" i], head>meta[name=generator][content*="WordPress" i]')) { //if (getAllCSS('article[class], div[id^="post-"], ul[class*="post"]>li.item, .post').length < 4 || getCSS('#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi')) return 0; From 37276ba246d31681eb295f0bedec39ec2c4f6c38 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 15 Aug 2024 09:14:39 +0800 Subject: [PATCH 037/424] =?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 89f0d8ac4..ef47c1320 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.25 +// @version 6.6.26 // @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...) 等網站~ @@ -104,7 +104,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://mirror.ghproxy.com/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', @@ -126,7 +126,7 @@ //'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://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 9ea0770bd7003e4aba33fc5b0445a45a00d6feb7 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 15 Aug 2024 09:14:47 +0800 Subject: [PATCH 038/424] =?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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index bdac92cd7..d5d773513 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.1 +// @version 2.6.2 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁) @@ -60,7 +60,7 @@ ['https://github.tmby.shop/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [blog.tmby.shop] 提供'], ['https://hub.whtrys.space', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [FastGit 群组成员] 提供'], ['https://dgithub.xyz', '美国', '[美国 西雅图] - 该公益加速源由 [dgithub.xyz] 提供'], - ['https://github.moeyy.xyz/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], + //['https://github.moeyy.xyz/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], // 超时 ['https://download.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供'], //['https://download.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 //['https://download.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 @@ -78,7 +78,7 @@ ['https://mirror.ghproxy.com/https://github.com', '韩国', '[日本、韩国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供'], ['https://githubfast.com', '韩国', '[韩国] - 该公益加速源由 [Github Fast] 提供'], ['https://ghproxy.net/https://github.com', '日本', '[日本 大阪] - 该公益加速源由 [ghproxy] 提供'], - ['https://github.moeyy.xyz/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], + //['https://github.moeyy.xyz/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], // 超时 //['https://slink.ltd/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [知了小站] 提供'], //['https://hub.gitmirror.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [GitMirror] 提供'], //['https://gh-proxy.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [ghproxy] 提供'], @@ -110,8 +110,8 @@ ['https://fastly.jsdelivr.net/gh', '日本 2', '[日本 东京] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], ['https://jsdelivr.pai233.top/gh', '日本 3', '[日本 东京](Vercel Anycast) - 该公益加速源由 [blog.pai233.top] 提供 - 缓存:有'], //['https://gcore.jsdelivr.net/gh', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], // 变成 美国 Cloudflare CDN 了 - ['https://jsdelivr.b-cdn.net/gh', '其他 1', '[中国香港、台湾、日本、新加坡等](CDN 不固定) - 该公益加速源由 [@rttwyjz] 提供 - 缓存:有'], - //['https://github.moeyy.xyz/https://raw.githubusercontent.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'] + ['https://jsdelivr.b-cdn.net/gh', '其他', '[中国香港、台湾、日本、新加坡等](CDN 不固定) - 该公益加速源由 [@rttwyjz] 提供 - 缓存:有'], + //['https://github.moeyy.xyz/https://raw.githubusercontent.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], // 超时 //['https://raw.cachefly.998111.xyz', '其他 4', '[新加坡、日本、印度等](Anycast CDN 不固定) - 该公益加速源由 [@XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX0] 提供 - 缓存:有(约 12 小时)'], // 证书到期 //['https://raw.incept.pw', '香港', '[中国香港、美国] - 该公益加速源由 [FastGit 群组成员] 提供'], // ERR_SSL_PROTOCOL_ERROR //['https://ghproxy.cc/https://raw.githubusercontent.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@yionchiii lau] 提供'], From c338c638f57a471d44a89e8e1efdcca6616f2162 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 16 Aug 2024 12:06:34 +0800 Subject: [PATCH 039/424] =?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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index d5d773513..8d4841970 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.2 +// @version 2.6.3 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁) @@ -58,9 +58,9 @@ ['https://www.ghproxy.cn/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@yionchiii lau] 提供'], ['https://gh.jiasu.in/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@0-RTT] 提供'], ['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://github.moeyy.xyz/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], // 超时 ['https://download.ixnic.net', '美国', '[美国 洛杉矶] - 该公益加速源由 [@黃埔興國] 提供'], //['https://download.nuaa.cf', '美国', '[美国 洛杉矶] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 //['https://download.yzuu.cf', '美国', '[美国 纽约] - 该公益加速源由 [FastGit 群组成员] 提供'], // 502 @@ -78,7 +78,7 @@ ['https://mirror.ghproxy.com/https://github.com', '韩国', '[日本、韩国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供'], ['https://githubfast.com', '韩国', '[韩国] - 该公益加速源由 [Github Fast] 提供'], ['https://ghproxy.net/https://github.com', '日本', '[日本 大阪] - 该公益加速源由 [ghproxy] 提供'], - //['https://github.moeyy.xyz/https://github.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], // 超时 + //['https://github.moeyy.xyz/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@Moeyy] 提供'], //['https://slink.ltd/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [知了小站] 提供'], //['https://hub.gitmirror.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [GitMirror] 提供'], //['https://gh-proxy.com/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [ghproxy] 提供'], @@ -111,7 +111,7 @@ ['https://jsdelivr.pai233.top/gh', '日本 3', '[日本 东京](Vercel Anycast) - 该公益加速源由 [blog.pai233.top] 提供 - 缓存:有'], //['https://gcore.jsdelivr.net/gh', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], // 变成 美国 Cloudflare CDN 了 ['https://jsdelivr.b-cdn.net/gh', '其他', '[中国香港、台湾、日本、新加坡等](CDN 不固定) - 该公益加速源由 [@rttwyjz] 提供 - 缓存:有'], - //['https://github.moeyy.xyz/https://raw.githubusercontent.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@Moeyy] 提供'], // 超时 + //['https://github.moeyy.xyz/https://raw.githubusercontent.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@Moeyy] 提供'], //['https://raw.cachefly.998111.xyz', '其他 4', '[新加坡、日本、印度等](Anycast CDN 不固定) - 该公益加速源由 [@XxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX0] 提供 - 缓存:有(约 12 小时)'], // 证书到期 //['https://raw.incept.pw', '香港', '[中国香港、美国] - 该公益加速源由 [FastGit 群组成员] 提供'], // ERR_SSL_PROTOCOL_ERROR //['https://ghproxy.cc/https://raw.githubusercontent.com', '美国', '[美国 洛杉矶] - 该公益加速源由 [@yionchiii lau] 提供'], From 6a9dbb4e45fe5f2f01fdc31f563a913e00d2c15a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 18 Aug 2024 15:48:53 +0800 Subject: [PATCH 040/424] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[=E5=8C=85?= =?UTF-8?q?=E5=AD=90=E6=BC=AB=E7=94=BB]=20=E5=85=B6=E4=BB=96=E5=9F=9F?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index a6e633856..5d34a2483 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3195,7 +3195,7 @@ } }, "包子漫画": { - "host": ["cn.czmanga.com","www.webmota.com","cn.webmota.com","cn.baozimh.com","www.kukuc.co","cn.kukuc.co"], + "host": ["www.czmanga.com","cn.czmanga.com","www.webmota.com","cn.webmota.com","cn.baozimh.com","www.twmanga.com","www.kukuc.co","cn.kukuc.co"], "url": "if (fun.indexOF('/chapter/')) {return true;} else if (fun.indexOF('/comic/')) {if (fun.getCSS('#button_show_all_chatper')) {fun.getCSS('#button_show_all_chatper').click();}}", "style": "#footer, #header {display: none !important;} .header, .bottom-bar {opacity: 0.3;}", "history": true, From 14a53fec9c88047f398342b5f03c854694b55969 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 18 Aug 2024 21:35:04 +0800 Subject: [PATCH 041/424] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[owlook]=20?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 5d34a2483..b2caca9db 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3542,13 +3542,13 @@ } }, "owlook": { - "host": ["www.owlook.com.cn","www1.owlook.com.cn"], - "url": "return (fun.lp() == '/owllook_content')", + "host": ["www.owlook.com.cn","www1.owlook.com.cn","owlook.com.cn"], + "url": "/^\\/owllook_content/", "history": true, "pager": { "nextL": "//div[@class='pre_next']/a[contains(text(), '下一')]", - "pageE": "#content", - "insertP": ["#content",6], + "pageE": "#chaptercontent", + "insertP": ["#chaptercontent",6], "replaceE": ".pre_next" } }, From 36f670b08727530acc630ed56a9ad0e3b2c0a8bb Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 18 Aug 2024 23:41:26 +0800 Subject: [PATCH 042/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E7=AC=94?= =?UTF-8?q?=E8=B6=A3=E9=98=81=E7=B1=BB=E5=B0=8F=E8=AF=B4=E7=BD=91=E7=AB=99?= =?UTF-8?q?]=20=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99(=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E4=B8=80=E4=BA=9B=E4=B8=8E=E6=AD=A3=E6=96=87=E6=97=A0=E5=85=B3?= =?UTF-8?q?=E7=9A=84=E5=86=85=E5=AE=B9=EF=BC=8C=E4=BB=A5=E5=8F=8A=E7=8E=B0?= =?UTF-8?q?=E5=9C=A8=E4=BC=9A=E8=87=AA=E5=8A=A8=E5=88=A4=E6=96=AD=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E8=A6=81=E5=9C=A8=E7=AB=A0=E8=8A=82=E6=AD=A3=E6=96=87?= =?UTF-8?q?=E6=9C=AB=E5=B0=BE=E5=8A=A0=E6=8D=A2=E8=A1=8C=E9=97=B4=E9=9A=94?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index ef47c1320..5a8b318d4 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.26 +// @version 6.6.27 // @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...) 等網站~ @@ -416,7 +416,7 @@ console.info(`[自动无缝翻页] - <笔趣阁 2> 模板的小说网站`); return 202; } else if ((getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"], meta[name="keywords" i][content*="笔趣"]') || location.hostname.indexOf('biqu')!=-1 || document.title.match(/笔趣阁|小说|章/)!=null) && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页") or contains(text(), "下一节")]')) { let biquge3_pageE= ['[id="chapter_content" i]','[class~="chapter_content" i]','[id="chaptercontent" i]','[class~="chaptercontent" i]','[id="booktext" i]','[class~="booktext" i]','[id="txtcontent" i]','[class~="txtcontent" i]','[id="textcontent" i]','[class~="textcontent" i]','[id="read-content" i]','[class~="read-content" i]','[id="txtnav" i]','[class~="txtnav" i]','[id="txt" i][class~="txt" i]','[id="contents" i]','[class~="contents" i]','[id="content" i]','[class~="content" i]'] - for(let biquge3_pageE_ of biquge3_pageE) {if (getAllCSS(biquge3_pageE_).length === 1) {DBSite.biquge3.pager.pageE = biquge3_pageE_;DBSite.biquge3.pager.insertP = [biquge3_pageE_,6];break;}} + for(let biquge3_pageE_ of biquge3_pageE) {if (getAllCSS(biquge3_pageE_).length === 1) {DBSite.biquge3.pager.pageE = biquge3_pageE_;DBSite.biquge3.pager.insertP = [biquge3_pageE_,6];DBSite.biquge3.style = biquge3_pageE_+'>.readinline, ' + DBSite.biquge3.style;break;}} if (DBSite.biquge3.pager.pageE != undefined) {console.info(`[自动无缝翻页] - <笔趣阁 3> 模板的小说网站`); return 203;} } return 0; @@ -613,7 +613,7 @@ function: { }, // 部分使用 Typecho 的网站 (Mirages) biquge1: { url: ()=> {curSite = DBSite.biquge1;xs_bF(getAllCSS('.content > #content'),[/
    .{0,10}秒记住.+$/, '']);}, - style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #content > *:not(br):not(p) {display: none !important;}', + style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #content > *:not(br):not(p), #content>.readinline {display: none !important;}', history: true, retry: 3000, pager: { @@ -628,7 +628,7 @@ function: { } }, // 笔趣阁 1 模板的小说网站 biquge1_m: { - style: 'img, .posterror, .show-app2, a[href*="posterror()"], [onclick*="location.href"], [style*="background"][style*="url("]:not(html):not(body), #nr1>*:not(br):not(p), #chaptercontent>*:not(br):not(p), .Readarea>*:not(br):not(p), .ReadAjax_content>*:not(br):not(p) {display: none !important;}', + style: 'img, .posterror, .show-app2, a[href*="posterror()"], [onclick*="location.href"], [style*="background"][style*="url("]:not(html):not(body), #nr1>*:not(br):not(p), #chaptercontent>*:not(br):not(p), .Readarea>*:not(br):not(p), .ReadAjax_content>*:not(br):not(p), #nr1>.readinline, #chaptercontent>.readinline, .Readarea>.readinline, .ReadAjax_content>.readinline {display: none !important;}', history: true, retry: 3000, pager: { @@ -640,7 +640,7 @@ function: { }, // 笔趣阁 1 - 手机版 模板的小说网站 biquge2: { url: ()=> {if (isMobile() || getCSS('.chapter-page-btn') != null) {curSite = DBSite.biquge2_m;} else {curSite = DBSite.biquge2;}}, - style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #txt > *:not(br):not(p) {display: none !important;}', + style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #txt > *:not(br):not(p), #txt>.readinline, .txt>.readinline {display: none !important;}', history: true, retry: 3000, pager: { @@ -654,7 +654,7 @@ function: { } }, // 笔趣阁 2 模板的小说网站 biquge2_m: { - style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #txt > *:not(br):not(p) {display: none !important;}', + style: 'img, .posterror, a[href*="posterror()"], [style*="background"][style*="url("]:not(html):not(body), #txt > *:not(br):not(p), #txt>.readinline, .txt>.readinline {display: none !important;}', history: true, retry: 3000, pager: { @@ -670,7 +670,7 @@ function: { retry: 3000, pager: { nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页") or contains(text(), "下一节")]', - insertP6Br: true, + insertP6Br: false, replaceE: '//a[contains(text(), "下一章") or contains(text(), "下一页") or contains(text(), "下一节")]/parent::*' }, function: { @@ -2127,7 +2127,31 @@ function: { // 插入新页面元素 if (curSite.pager.insertP[1] === 6) { // 插入到目标内部末尾(针对文本,比如小说网页) let afterend = ''; - if (curSite.pager.insertP6Br) afterend += '

    ' + if (curSite.pager.insertP6Br === false) { // 这个基本上只有脚本内置的通用规则会用上,因为该通用规则匹配到的网站正文
    是未知的,所以需要判断一下数量 + if (unsafeWindow.insertP6Br === true) { + afterend += '

    ' + } else if (unsafeWindow.insertP6Br === undefined) { + if (getAll('br', getOne(curSite.pager.pageE)).length > 10) { + + function checklastElementsBr(e) { + const children = Array.from(e.childNodes).filter(node => {return node.nodeType === Node.ELEMENT_NODE || (node.nodeType === Node.TEXT_NODE && node.textContent.trim() !== '');}), lastElement = children[children.length - 1]; + if (lastElement.tagName === 'BR') { // 判断最后一个元素 + return true; // 最后一个元素是
    + } else if (lastElement.tagName === 'P' && lastElement.classList.contains('readinline')) { // 判断倒数第二个元素 + return children[children.length - 2].tagName === 'BR'; // 倒数第二个元素是
    + } + return false; // 其他情况 + }; + // 如果正文末尾最后一个元素不是
    且 倒数第二个元素也不是
    时,才添加

    + if (!checklastElementsBr(getOne(curSite.pager.pageE))) { + unsafeWindow.insertP6Br = true; + afterend += '

    ' + } else {unsafeWindow.insertP6Br = false;} + } + } + } else if (curSite.pager.insertP6Br) { // 对于其他 insertP6Br: true 的规则,则依然直接添加
    + afterend += '

    ' + } pageE.forEach(function (one) {afterend += one.innerHTML;}); toE.insertAdjacentHTML(addTo, afterend); } else { From 7f3590f7076a24a73bccff8674e0edffeba46b90 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 20 Aug 2024 09:33:49 +0800 Subject: [PATCH 043/424] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=20=E7=BF=BB=E9=A1=B5=E6=A8=A1=E5=BC=8F5=20=E8=A7=84=E5=88=99?= =?UTF-8?q?=E7=9A=84=E7=BD=91=E7=AB=99=E8=87=AA=E5=8A=A8=E7=BF=BB=E9=A1=B5?= =?UTF-8?q?=E5=90=8E=E5=B7=A6=E4=B8=8B=E8=A7=92=E9=A1=B5=E7=A0=81=E6=95=B0?= =?UTF-8?q?=E5=AD=97=E6=B2=A1=E6=9C=89=E9=80=92=E5=A2=9E=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 5a8b318d4..f5c26b3ee 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.27 +// @version 6.6.28 // @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...) 等網站~ @@ -2036,7 +2036,7 @@ function: { // 当前页码 + 1 if (!curSite.hiddenPN) { let autopageNumber = getCSS('#Autopage_number', window.top.document) - if (autopageNumber) {autopageNumber.textContent = parseInt(autopageNumber.textContent) + 1;} + if (autopageNumber) pageNumIncrement() } } From 519c0bc5781bf1bc99b6d3fc459d2c954449ca8a Mon Sep 17 00:00:00 2001 From: lsr <34181998+lesser0@users.noreply.github.com> Date: Thu, 22 Aug 2024 18:04:30 +0800 Subject: [PATCH 044/424] =?UTF-8?q?=E7=9F=A5=E4=B9=8E=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=BA=86=E9=AB=98=E4=BA=AE=E9=93=BE=E6=8E=A5=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=EF=BC=8C=E8=84=9A=E6=9C=AC=E8=BF=9B=E8=A1=8C=E4=BA=86=E7=9B=B8?= =?UTF-8?q?=E5=BA=94=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index 4a33d5264..16d5a7aec 100644 --- a/Zhihu-Enhanced.user.js +++ b/Zhihu-Enhanced.user.js @@ -1033,7 +1033,7 @@ function removeHighlightLink() { for (const mutation of mutationsList) { for (const target of mutation.addedNodes) { if (target.nodeType != 1 || target.tagName != 'A') break - if (target.dataset.zaNotTrackLink && target.href.indexOf('https://www.zhihu.com/search?q=') > -1) { + if (target.dataset.zaNotTrackLink && target.href.indexOf('https://zhida.zhihu.com/search?q=') > -1) { target.parentElement.replaceWith(target.textContent); } } @@ -1043,7 +1043,7 @@ function removeHighlightLink() { observer.observe(document, { childList: true, subtree: true }); // 针对的是打开网页后直接加载的前面几个回答(上面哪些是针对动态加载的回答) - document.querySelectorAll('span > a[data-za-not-track-link][href^="https://www.zhihu.com/search?q="]').forEach(e => e.parentElement.replaceWith(e.textContent)) + document.querySelectorAll('span > a[data-za-not-track-link][href^="https://zhida.zhihu.com/search?q="]').forEach(e => e.parentElement.replaceWith(e.textContent)) } From 2396673433be7f3d4a053d6feaaac3d550799d9d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 22 Aug 2024 18:29:48 +0800 Subject: [PATCH 045/424] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E9=AB=98=E4=BA=AE=E9=93=BE=E6=8E=A5=20=E5=8A=9F=E8=83=BD=20(#4?= =?UTF-8?q?69)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index 16d5a7aec..b0fa16734 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.5 +// @version 2.3.6 // @author X.I.U // @description 屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容/热榜杂项、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、默认高清原图(无水印)、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认站外直链... // @description:zh-TW 屏蔽首頁視頻、默認收起回答、快捷收起回答/評論、快捷回到頂部、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化搜索熱門、淨化標題消息、默認高清原圖(無水印)、置頂顯示時間、完整問題時間、區分問題文章、默認站外直鏈... From 6421867faf0b12250e525f4805dd0e419e6a008e Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 29 Aug 2024 10:50:11 +0800 Subject: [PATCH 046/424] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[AO3]=20=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index b2caca9db..e44df05f7 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3788,7 +3788,7 @@ } }, "AO3 - 列表页/搜索页": { - "host": "archiveofourown.org", + "host": ["archiveofourown.org","i.ao3is.top"], "url": "return (fun.indexOF(/\\/works$/) || fun.lp() == '/works/search')", "pager": { "nextL": "li.next a", @@ -3797,9 +3797,9 @@ "scrollD": 2500 } }, - "AO3-阅读页": { - "host": "archiveofourown.org", - "url": "return (fun.indexOF(/\\/works\\/\\d+\\/chapters\\//))", + "AO3 - 阅读页": { + "host": ["archiveofourown.org","i.ao3is.top"], + "url": "/\\/works\\/\\d+\\/chapters\\//", "history": true, "pager": { "nextL": "li.chapter.next a", From 34bb5f88137bee42cf3429442a5e8fd38d5deb77 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 1 Sep 2024 23:11:34 +0800 Subject: [PATCH 047/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=B1=A1?= =?UTF-8?q?=E6=B1=A1=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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index e44df05f7..4ada2cbde 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -6037,6 +6037,19 @@ "replaceE": ".comic-show-content-nav" } }, + "污污漫画": { + "host": "www.comicbox.xyz", + "url": "/^\\/chapter\\/\\d+/", + "style": ".global-navbar", + "pager": { + "type": 6, + "nextL": "//div[@class='fanye']/a[text()='下一章']", + "pageE": ".comicpage>div", + "replaceE": ".fanye", + "loadTime": 1000, + "scrollD": 4000 + } + }, "禁漫天堂": { "host": ["18comic.vip","18comic.org","/^jm-?comic[0-9]?\\.[a-z]+$/"], "url": "if (fun.indexOF(/^\\/photo\\//)){fun.src_bF(fun.getAllCSS('.scramble-page'), [0,'img[data-original]:not(.lazy-loaded)','data-original']); setTimeout(()=>{document.body.appendChild(document.createElement('script')).textContent = `var old_onImageLoaded = onImageLoaded; onImageLoaded = function(e){aid = parseInt(/photos\\\\/\\\\d+/.exec(e.src)[0].replace('photos/','')); if(aid>scramble_id){old_onImageLoaded(e);}}`}, 3000); return true}", From f6e6cc59a97bc3685f98ff9b6e4f13d52489ea19 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 2 Sep 2024 12:13:07 +0800 Subject: [PATCH 048/424] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20[=E6=BC=AB?= =?UTF-8?q?=E7=94=BB=E9=A3=9E]=E3=80=81[=E9=85=B7=E7=A7=91=E7=A0=94]?= =?UTF-8?q?=E3=80=81[=E5=9B=BD=E5=AE=B6=E8=87=AA=E7=84=B6=E7=A7=91?= =?UTF-8?q?=E5=AD=A6=E5=9F=BA=E9=87=91]=20=E8=A7=84=E5=88=99(=E5=9F=9F?= =?UTF-8?q?=E5=90=8D=E6=97=A0=E8=A7=A3=E6=9E=90)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 72 +++--------------------------------------------- 1 file changed, 4 insertions(+), 68 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index f5c26b3ee..d2b4bbaef 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.28 +// @version 6.6.29 // @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...) 等網站~ @@ -960,7 +960,7 @@ function: { } }, // NexusMods posts manhuacat: { - host: ['www.manhuacat.com', 'www.maofly.com','www.manhuafei.com'], + host: 'www.manhuacat.com', url: ()=> {if (indexOF(/\/(manga|manhua)\/\d+\/.+\.html/)) { if (getCookie('is_pull') == 'true') { // 强制关闭 [下拉] 模式 document.cookie='is_pull=false; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/'; // 写入 Cookie 关闭 [下拉] 模式 @@ -979,7 +979,7 @@ function: { interval: 3000, scrollD: 4000 } - }, // 漫画猫 + 漫画飞 + }, // 漫画猫 hicomic: { host: 'www.hicomic.net', url: ()=> {if (indexOF('/chapters/')) { @@ -1112,31 +1112,7 @@ function: { replaceE: '.page-pagination', scrollD: 1000 } - }, // Xmanhua 漫画 - 分类/搜索页 - coolkeyan: { - host: 'www.coolkeyan.com', - url: ()=> {if (location.hash.indexOf('/project/') > -1) curSite = DBSite.coolkeyan;}, - style: '.q-img {height: auto !important;} .q-img__image {max-height: 1000px !important;} .row.q-my-sm.q-gutter-sm {display: none !important;}', - pager: { - type: 4, - nextL: coolkeyan_nextL, - insertP: ['//div[contains(@class, "q-img__image")][last()]', 4], - insertE: coolkeyan_insertE, - interval: 0 - } - }, // 酷科研 - nsfc: { - host: ['output.nsfc.gov.cn', 'kd.nsfc.gov.cn'], - url: ()=> {if (indexOF('/conclusionProject/')) curSite = DBSite.nsfc;}, - style: '#pageNoUl {display: none !important;}', - pager: { - type: 4, - nextL: nsfc_nextL, - insertP: ['#pageNoUl', 1], - insertE: nsfc_insertE, - interval: 0 - } - } // 国家自然科学基金 + } // Xmanhua 漫画 - 分类/搜索页 }; // 合并 自定义规则、外置规则、内置规则(注:Object.assign 合并对象时,同名会后者覆盖前者) if (Object.keys(GM_getValue('menu_customRules', {})).length === 0) { // 如果自定义规则为空,则直接合并 外置规则、内置规则 @@ -1734,46 +1710,6 @@ function: { } - // [国家自然科学基金] 获取下一页地址 - function nsfc_nextL() { - let id = decodeURIComponent(document.location.href.split('/')[document.location.href.split('/').length - 1]), data - if (!document.nowPageNum) document.nowPageNum = 2 - data = `id=${id}&index=${document.nowPageNum}` - if (data === curSite.pageUrl) return - curSite.pageUrl = data - getPageE_(location.origin + '/baseQuery/data/completeProjectReport', 'json', 'POST', data); // 访问下一页 URL 获取 - } - // [国家自然科学基金] 插入数据 - function nsfc_insertE(pageE, type) { - if (!pageE || pageE.code != 200) {curSite.SiteTypeID = 0; return} - if (!pageE.data.hasnext) {curSite.SiteTypeID = 0} else {document.nowPageNum++} - pageNumIncrement() - getOne(curSite.pager.insertP[0]).insertAdjacentHTML(getAddTo(curSite.pager.insertP[1]), ``); - } - - - - // [酷科研] 获取下一页地址 - function coolkeyan_nextL() { - if (!getCSS('.q-img__image')) return - let id = getCSS('.q-breadcrumbs--last > span.q-breadcrumbs__el'), data - if (id && id.textContent) {id=parseInt(id.textContent)} else {return} - if (!document.nowPageNum) document.nowPageNum = 2 - data = `ratify_no=${id}&index=${document.nowPageNum}` - if (data === curSite.pageUrl) return - curSite.pageUrl = data - getPageE_(location.origin + '/api/funds/nsfc/creport?' + data, 'json', 'GET'); // 访问下一页 URL 获取 - } - // [酷科研] 插入数据 - function coolkeyan_insertE(pageE, type) { - if (!pageE || pageE == {}) {curSite.SiteTypeID = 0; return} - if (!pageE.url) {curSite.SiteTypeID = 0; return} else {document.nowPageNum++} - pageNumIncrement() - getCSS('.q-img>div[style*="padding-bottom"]').style.paddingBottom = `${(document.nowPageNum * 1000) - 1000}px` - getOne(curSite.pager.insertP[0]).insertAdjacentHTML(getAddTo(curSite.pager.insertP[1]), `
    `); - } - - // -------------------------------------------------------- From a361e9dc15ec4c8c21e24d6a8323669a54f1c925 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 2 Sep 2024 12:14:20 +0800 Subject: [PATCH 049/424] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[WebHD]=E3=80=81[?= =?UTF-8?q?=E4=B9=A6=E7=AD=BE=E5=9C=B0=E7=90=83]=20=E5=9F=9F=E5=90=8D;=20?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=2031=20=E4=B8=AA=E5=B7=B2=E6=97=A0=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E7=9A=84=E5=9F=9F=E5=90=8D=E6=88=96=E8=A7=84=E5=88=99?= =?UTF-8?q?(=E5=A6=82=E6=9E=9C=E8=AF=A5=E8=A7=84=E5=88=99=E7=9A=84?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E5=85=A8=E9=83=BD=E5=A4=B1=E6=95=88=E4=BA=86?= =?UTF-8?q?=E7=9A=84=E8=AF=9D=EF=BC=8C=E8=83=BD=E6=89=BE=E5=88=B0=E6=96=B0?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E5=A6=82=20WebHD=E3=80=81=E4=B9=A6=E7=AD=BE?= =?UTF-8?q?=E5=9C=B0=E7=90=83=20=E6=88=91=E9=83=BD=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BA=86)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 189 ++++---------------------------------- 1 file changed, 16 insertions(+), 173 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 4ada2cbde..a0fa6a854 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2104,19 +2104,6 @@ "replaceE": ".bottom-page" } }, - "s1.byrutor.com": { - "host": "s1.byrutor.com", - "url": "return (!fun.indexOF('do=search','s') && fun.isPager('r'))", - "blank": 3, - "pager": { - "nextL": ".paging-wrapper-bottom>span+a", - "pageE": "div[id^='entryID']", - "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" - } - }, "GBAtemp - 帖子内": { "host": "gbatemp.net", "url": "/^\\/threads\\//", @@ -2188,18 +2175,6 @@ "replaceE": ".pagination_wrap" } }, - "核桃影院": { - "host": ["123456.li","video.tf"], - "url": "/^\\/category-/", - "pager": { - "nextL": "a[title='下一页 ›']", - "pageE": ".wrapbox>ul>li", - "replaceE": "#pagenavi" - }, - "function": { - "bF": "return fun.src_bF(pageE)" - } - }, "厂长资源": { "host": ["czspp.com","www.czspp.com"], "url": "return fun.isPager()", @@ -2508,7 +2483,7 @@ } }, "MioBT/简单动漫": { - "host": ["miobt.com","www.36dm.club"], + "host": "miobt.com", "pager": { "nextL": "//a[@class='nextprev'][contains(text(), '〉') or contains(text(), '下一页') or contains(text(), '»')]", "pageE": "#data_list>tr", @@ -2696,7 +2671,7 @@ } }, "WebHD": { - "host": "webhd.cc", + "host": "webhd.top", "url": "return (fun.lp() == '/' || fun.indexOF('/list/new'))", "pager": { "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", @@ -2705,7 +2680,7 @@ } }, "WebHD - 搜索页": { - "host": "webhd.cc", + "host": "webhd.top", "url": "/\\/search/", "blank": 3, "pager": { @@ -2745,16 +2720,6 @@ "replaceE": ".hpaging" } }, - "A4k 字幕网": { - "host": "www.a4k.net", - "url": "return !fun.indexOF('/subtitle/')", - "blank": 3, - "pager": { - "nextL": "a.pager__item--next", - "pageE": "ul.list>li", - "replaceE": ".pagination" - } - }, "SubHD - 论坛": { "host": ["subhd.tv","subhdtw.com","subhd.la","subhd.cc","subhd.me"], "url": "/^\\/forum\\/(forum|ask)/", @@ -2876,7 +2841,7 @@ } }, "好漫 6": { - "host": ["www.haoman6.com","www.g-lens.com"], + "host": "www.haoman6.com", "url": "/\\/chapter\\//", "style": ".rd-guess, .rd-aside, .page-index__btn {display: none !important;} .rd-article__pic {display: initial !important;} .rd-article__pic>img {margin: 0 auto;display: block;height: auto;min-height: 200px;}", "history": true, @@ -2887,11 +2852,11 @@ "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'])}" + "bF": "return fun.src_bF(pageE)" } }, "好漫 6 - 分类/搜索页": { - "host": ["www.haoman6.com","www.g-lens.com"], + "host": "www.haoman6.com", "url": "if (fun.indexOF('/comic/')) {if (fun.getCSS('.chapter__more')) fun.getCSS('.chapter__more').click();} else if (fun.indexOF('/category/') || fun.indexOF('/search')) {return true}", "pager": { "nextL": "a.next", @@ -3060,7 +3025,7 @@ } }, "漫画DB - 分类页": { - "host": ["www.manhuadb.com","www.manhuacat.com","www.maofly.com","www.kanbook.net"], + "host": ["www.manhuadb.com","www.manhuacat.com"], "url": "/\\/(list|update|search)/", "blank": 3, "pager": { @@ -3215,37 +3180,6 @@ "scrollD": 500 } }, - "乐语漫画": { - "host": "www.leyuman.com", - "url": "/^\\/comic\\/\\d+\\/\\d+\\.html$/", - "style": ".mh_select, .mh_comicpic > p, mh_headpager {display: none !important;} .mh_comicpic > img{width: 100% !important; height: auto !important;}", - "history": true, - "pager": { - "nextL": "#xurl", - "pageE": "//body/script[not(@src)][contains(text(), 'z_img=')]", - "insertP": ["body",3], - "replaceE": ".mh_headpager, .mh_readtitle", - "scriptT": 2, - "interval": 3000, - "scrollD": 3000 - }, - "function": { - "aF": "let _img = ''; z_img = JSON.parse(z_img); for (let i=0;i`;} else {_img += ``;}}; document.querySelector('.mh_comicpic').insertAdjacentHTML('beforeend', _img);" - } - }, - "乐语漫画 - 分类页": { - "host": "www.leyuman.com", - "url": "if (fun.indexOF(/\\/comic\\/\\d+\\.html/)) {setTimeout(()=>{if (document.getElementById('read-more')) document.getElementById('read-more').click();}, 500);}else{return true;}", - "blank": 3, - "pager": { - "nextL": ".active.page-item+li>a", - "pageE": ".works_recommend.classification_works>ul", - "replaceE": ".paging" - }, - "function": { - "bF": "return fun.src_bF(pageE)" - } - }, "新新漫画": { "host": ["www.77mh.nl","www.77mh.xyz","www.77mh.me"], "url": "if (fun.indexOF(/\\/\\d+\\.html/)) {setTimeout(()=>{let _img = ''; for (let i = 0; i < arr.length; i++){_img += ``;}; document.getElementById('comicImg').innerHTML = _img;},500); return true;}", @@ -3309,7 +3243,7 @@ } }, "古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台 / 古漫画 / 前未漫画 / 下拉式漫画 / 漫画1234 - 分类页": { - "host": ["www.gufengmh.com","/^www\\.gufengmh\\d/","www.123gf.com","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.36man.cc","www.100fanwo.com","www.manmantai.com","www.izhegu.com","www.qianwee.com","www.xlsmh.com","www.gmh1234.com"], + "host": ["www.gufengmh.com","/^www\\.gufengmh\\d/","www.123gf.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.36man.cc","www.manmantai.com","www.xlsmh.com","www.gmh1234.com"], "url": "/^\\/(comic\\/)?(update|list|search)/", "blank": 3, "pager": { @@ -3319,8 +3253,8 @@ } }, "古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台 / 古漫画 / 前未漫画 / 下拉式漫画 / 漫画1234": { - "host": ["www.gufengmh.com","/^www\\.gufengmh\\d/","www.123gf.com","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.36man.cc","www.100fanwo.com","www.manmantai.com","www.izhegu.com","www.qianwee.com","www.xlsmh.com","www.gmh1234.com"], - "url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {if (/^www\\.(123gf|ykmh|izhegu|qianwee|manmantai)\\.com$/.test(location.hostname)|| location.hostname.indexOf('36man') != -1) {if (localStorage.getItem('chapterScroll') != '\"pagination\"') {localStorage.setItem('chapterScroll', '\"pagination\"'); location.reload();} else {setTimeout(()=>{let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|izhegu)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'||location.hostname=='www.gmh1234.com'){host+='/'}; if (location.hostname == 'www.qianwee.com' ||location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http')){host=''}; for (let i=0;i`;}; document.getElementById('images').innerHTML = _img;}, 500); return true;}} else if (localStorage.getItem('chapterScroll') != '\"scroll\"') {localStorage.setItem('chapterScroll', '\"scroll\"'); location.reload();}else{return true}}", + "host": ["www.gufengmh.com","/^www\\.gufengmh\\d/","www.123gf.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.36man.cc","www.manmantai.com","www.xlsmh.com","www.gmh1234.com"], + "url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {if (/^www\\.(123gf|ykmh|izhegu|qianwee|manmantai)\\.com$/.test(location.hostname)|| location.hostname.indexOf('36man') != -1) {if (localStorage.getItem('chapterScroll') != '\"pagination\"') {localStorage.setItem('chapterScroll', '\"pagination\"'); location.reload();} else {setTimeout(()=>{let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|izhegu)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'||location.hostname=='www.gmh1234.com'){host+='/'}; if (location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http')){host=''}; for (let i=0;i`;}; document.getElementById('images').innerHTML = _img;}, 500); return true;}} else if (localStorage.getItem('chapterScroll') != '\"scroll\"') {localStorage.setItem('chapterScroll', '\"scroll\"'); location.reload();}else{return true}}", "style": ".img_land_prev, .img_land_next, #sider-left, #sider-right, p.img_info, .tc, .chapter-view + .w996, .chapter-view>div[style]:not([id]):not([class]) {display: none !important;} #images{min-height: 6000px !important;} #images>img {display: inline-block !important;min-height: 400px;margin: 0 auto !important;border: none !important;padding: 0 !important;max-width: 99% !important;height: auto !important;}", "history": true, "pager": { @@ -3332,7 +3266,7 @@ "scrollD": 4000 }, "function": { - "aF": "let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|100fanwo|izhegu|xlsmh)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'||location.hostname=='www.gmh1234.com'){host+='/'}; if (location.hostname == 'www.qianwee.com' ||location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http') ||location.hostname == 'www.xlsmh.com'){host=''}; for (let i=0;i`;}; document.getElementById('images').insertAdjacentHTML('beforeend', _img);" + "aF": "let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|100fanwo|izhegu|xlsmh)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'||location.hostname=='www.gmh1234.com'){host+='/'}; if (location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http') ||location.hostname == 'www.xlsmh.com'){host=''}; for (let i=0;i`;}; document.getElementById('images').insertAdjacentHTML('beforeend', _img);" } }, "爱漫之家 / 733 动漫": { @@ -3352,19 +3286,6 @@ "aF": "let _img='',imgArr=base64_decode(qTcms_S_m_murl_e).split('$qingtiandy$'); for (let i=0;i`;}; fun.getCSS('#qTcms_Pic_middle td').insertAdjacentHTML('beforeend', _img);" } }, - "360 漫画 / 好看的漫画网 - 手机版": { - "host": ["m.100fanwo.com","m.cnanjie.com"], - "url": "/\\/\\d+(-\\d+)?\\.html$/", - "style": ".erPag img {padding: 0!important;border: none!important;display: block;min-width: 100%;max-width: 100%;height: 100%;margin: auto;margin-bottom: -1px;} body>*:not(.UnderPage), .UnderPage>*:not(.erPag):not(.Introduct_Sub):not(.title3):not(.control_bottom) {display: none !important;}", - "pager": { - "nextL": "id('action')//a[text()='下一页' or text()='下一章']", - "pageE": ".erPag", - "replaceE": "#action" - }, - "function": { - "bF": "pageE[0].innerHTML = pageE[0].innerHTML.replaceAll('mip-img','img');return pageE" - } - }, "二次元动漫": { "host": "www.2animx.com", "url": "if(fun.indexOF('/index-look-')){setTimeout(()=>{window.page=function(){return false}},2000);return true}", @@ -3552,27 +3473,6 @@ "replaceE": ".pre_next" } }, - "无错小说网": { - "host": "www.xineyby.com", - "url": "return (fun.indexOF('/read/'))", - "history": true, - "pager": { - "nextL": "id('footlink')/a[contains(text(), '下一页')]", - "pageE": "#contents", - "insertP": ["#contents",6], - "insertP6Br": true, - "replaceE": "#footlink, #amain dd h1" - } - }, - "无错小说网 - 分类/搜索页": { - "host": "www.xineyby.com", - "url": "return (fun.indexOF(/\\/(list|quanben|search)/))", - "pager": { - "nextL": "#pagelink a.next", - "pageE": "#content>dd tbody>tr:not(:first-child)", - "replaceE": "#pagelink" - } - }, "无弹窗小说网": { "host": "www.530p.com", "url": "return (fun.indexOF(/\\/\\d{4,}\\.htm/))", @@ -3866,19 +3766,6 @@ "replaceE": ".pagination" } }, - "MacWK": { - "host": ["macwk.com","www.macwk.com"], - "url": "fun.isUrlC(); return (fun.indexOF(/^\\/(soft|article)\\/.+\\/p\\d/))", - "style": ".app-content-bottom", - "history": true, - "pager": { - "nextL": "js; return fun.getNextUPN(/(?<=\\/p)\\d*$/, /p\\d*$/, 'p', '', '2', fun.getCSS('li.number:not(.active):last-of-type').textContent)", - "pageE": ".list-animation-leftIn" - }, - "function": { - "bF": "pageE.forEach(function (one) {if (fun.getCSS('.macwk-app__header--icon--content[style^=\"--img:\"] + img:not(src)', one)){fun.getCSS('.macwk-app__header--icon--content[style^=\"--img:\"] + img:not(src)', one).src = /(?<=\\().+(?=\\))/.exec(fun.getCSS('.macwk-app__header--icon--content[style^=\"--img:\"]', one).style.cssText)[0].replaceAll('\\\\','');}}); return pageE" - } - }, "轻狂志 - 文章评论": { "host": "www.flighty.cn", "url": "return (fun.indexOF(/\\/\\d+_\\d+\\.html/))", @@ -4026,15 +3913,6 @@ "replaceE": ".g-pages" } }, - "天翼小站": { - "host": "yun.hei521.cn", - "url": "return (!fun.indexOF('.html'))", - "pager": { - "nextL": "li.page-item.active+li.page-item>a, li.next>a", - "pageE": "article", - "replaceE": ".pagination, .page-navigator" - } - }, "发烧友绿软": { "host": "fsylr.com", "pager": { @@ -5084,7 +4962,7 @@ } }, "书签地球": { - "host": "www.bookmarkearth.com", + "host": "www.bookmarkearth.cn", "url": "return (fun.lp() == '/' || fun.lp() == '/page')", "history": true, "pager": { @@ -5094,7 +4972,7 @@ } }, "书签地球 - 搜索页": { - "host": "www.bookmarkearth.com", + "host": "www.bookmarkearth.cn", "url": "return (fun.lp() == '/s/search')", "history": true, "pager": { @@ -5122,17 +5000,6 @@ "replaceE": ".page" } }, - "必应壁纸": { - "host": "bing.ioliu.cn", - "url": "return (!fun.indexOF('/photo/') && !fun.indexOF('.html'))", - "style": ".progressive--not-loaded {filter: none !important;}", - "blank": 3, - "pager": { - "nextL": "//div[@class='page']/a[contains(text(), '下一页')]", - "pageE": "body>.container>div.item", - "replaceE": ".page" - } - }, "nastol": { "host": "www.nastol.com.ua", "blank": 3, @@ -5552,19 +5419,6 @@ "replaceE": ".pages" } }, - "ACG RW": { - "host": "www.acg.rw", - "url": "return (!fun.indexOF('.html'))", - "blank": 3, - "pager": { - "nextL": "a.next", - "pageE": ".uk-animation-slide-bottom-small", - "replaceE": ".nav-links" - }, - "function": { - "bF": "return fun.src_bF(pageE, [1,'div[data-xurl]','data-xurl'])" - } - }, "Latino Hentai": { "host": "latinohentai.com", "url": "return (!fun.indexOF('/ver/'))", @@ -5888,17 +5742,6 @@ "replaceE": "[id='pagenation']" } }, - "Sex Nori": { - "host": "www.sexnori19.me", - "url": "return (fun.lp() == '/bbs/board.php' && !fun.indexOF(/bo_table=(free|yasul|adv|notice)/,'s'))", - "style": ".gallery-item {position: static !important;float: left !important;}", - "blank": 3, - "pager": { - "nextL": "a.next", - "pageE": ".gallery-item", - "replaceE": ".eb-pagination" - } - }, "俺の3Dエロ動画": { "host": "oreno3d.com", "url": "return (!fun.indexOF('/movies/'))", @@ -6573,7 +6416,7 @@ } }, "爱美女": { - "host": ["www.2meinv.com","wap.2meinv.com"], + "host": "www.2meinv.com", "pager": { "nextL": "//div[@class='page-show' or contains(@class,'article-page')]/a[text()='下一页']", "pageE": ".pp.hh img, ul.detail-list, .arcmain li, #listcon>ul", @@ -6592,7 +6435,7 @@ } }, "凸凹吧/撸女吧": { - "host": ["www.tuao8.com","www.tuao8.xyz","www.tuaow.xyz","www.tuaom.cc","www.lunu.cc","www.97mm.cc"], + "host": ["www.tuao8.com","www.tuao8.xyz","www.tuaom.cc","www.lunu.cc","www.97mm.cc"], "url": "/^\\/(post|web)\\//", "style": "img[src$='.gif']", "pager": { @@ -6603,7 +6446,7 @@ } }, "仙女图": { - "host": ["www.xiannvtu.com","m.xiannvtu.com"], + "host": "www.xiannvtu.com", "url": "/^\\/v\\//", "pager": { "type": 3, From 6f76cd0a6821dd368ebd5c6645969114bbfd78e8 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 2 Sep 2024 16:41:12 +0800 Subject: [PATCH 050/424] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 930 +++++++++++++++++++------------------- 1 file changed, 465 insertions(+), 465 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index a0fa6a854..ced8bbc4a 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1,6 +1,6 @@ { "百度搜索": { - "host": ["www.baidu.com", "ipv6.baidu.com"], + "host": ["www.baidu.com","ipv6.baidu.com"], "url": "fun.isUrlC(); if (fun.isMobile()) {location.hostname = 'm.baidu.com';} else {return (fun.lp() == '/s')}", "style": ".new-pmd .c-img-border {position: initial !important;} .op-bk-polysemy-video__wrap.c-gap-bottom {display: none !important;}", "history": true, @@ -12,8 +12,8 @@ }, "百度搜索 - 手机版": { "host": "m.baidu.com", - "url": "return (location.pathname.slice(location.pathname.length - 2, location.pathname.length) == '/s')", - "style": "div.result[tpl='recommend_list'], #page-copyright, .hint-fold-results-box", + "url": "return (location.pathname.slice(location.pathname.length - 2,location.pathname.length) == '/s')", + "style": "div.result[tpl='recommend_list'],#page-copyright,.hint-fold-results-box", "history": true, "pager": { "nextL": "a[class^='new-nextpage']", @@ -33,45 +33,45 @@ }, "谷歌搜索 - 手机版": { "host": "/^www\\.google\\./", - "url": "return (fun.lp() == '/search' && (!fun.indexOF('tbm=', 's') || (fun.indexOF('tbm=nws', 's') || fun.indexOF('tbm=vid', 's') || fun.indexOF('tbm=bks', 's'))) && (fun.indexOF('sclient=mobile', 's') || fun.isMobile()))", + "url": "return (fun.lp() == '/search' && (!fun.indexOF('tbm=','s') || (fun.indexOF('tbm=nws','s') || fun.indexOF('tbm=vid','s') || fun.indexOF('tbm=bks','s'))) && (fun.indexOF('sclient=mobile','s') || fun.isMobile()))", "pager": { "nextL": "footer>div:first-child a[aria-label]", - "pageE": "id('main')/div[position()>1][position()1][position()div:first-child a[aria-label]", - "pageE": "id('search')/div | id('rso')/div | //style[not(contains(text(), 'table,div,span,p{display:none}'))] | //body/script[@nonce][not(@src)][starts-with(text(), '(function(){var s=') or starts-with(text(), '(function(){google.ldi')]", - "replaceE": "#navcnt, #rcnt div[role='navigation'], #botstuff div[role='navigation'], #main>footer>div:first-child", + "nextL": "#pnnext,footer>div:first-child a[aria-label]", + "pageE": "id('search')/div | id('rso')/div | //style[not(contains(text(),'table,div,span,p{display:none}'))] | //body/script[@nonce][not(@src)][starts-with(text(),'(function(){var s=') or starts-with(text(),'(function(){google.ldi')]", + "replaceE": "#navcnt,#rcnt div[role='navigation'],#botstuff div[role='navigation'],#main>footer>div:first-child", "scriptT": 2, "scrollD": 2500 }, "function": { - "bF": "fun.getAllCSS('#search img[id^=dimg],#search img[id^=rimg],#rso img[id^=dimg],#rso img[id^=rimg]').forEach(function (img) {img.id = 'old_'+img.id;}); if(!fun.indexOF('tbm=vid', 's') && fun.indexOF('tbm=', 's')){return pageE}else{pageE.forEach(function (img) {fun.getAllCSS('img[id^=dimg]:not([data-atf])', img).forEach(function (img1) {img1.setAttribute('data-atf', '1');})}); return pageE}" + "bF": "fun.getAllCSS('#search img[id^=dimg],#search img[id^=rimg],#rso img[id^=dimg],#rso img[id^=rimg]').forEach(function (img) {img.id = 'old_'+img.id;}); if(!fun.indexOF('tbm=vid','s') && fun.indexOF('tbm=','s')){return pageE}else{pageE.forEach(function (img) {fun.getAllCSS('img[id^=dimg]:not([data-atf])',img).forEach(function (img1) {img1.setAttribute('data-atf','1');})}); return pageE}" } }, "必应搜索 + 手机版": { "host": ["www.bing.com","cn.bing.com","www4.bing.com","global.bing.com"], "url": "if (fun.lp() == '/search') {if (fun.isMobile() && document.documentElement.lang != 'zh') {return false;} else {return true;}}", - "style": "#b_footer, .b_msg, #bnp_rich_div", + "style": "#b_footer,.b_msg,#bnp_rich_div", "history": true, "pager": { - "nextL": "a.sb_pagN, a.sb_halfnext, a.sb_fullnpl", + "nextL": "a.sb_pagN,a.sb_halfnext,a.sb_fullnpl", "pageE": "#b_results>li.b_algo", - "replaceE": "#b_results>.b_pag, #b_PagAboveFooter" + "replaceE": "#b_results>.b_pag,#b_PagAboveFooter" }, "function": { - "bF": "pageE.forEach(function (one) {fun.getAllCSS('div.rms_iac[data-src]', one).forEach(function (one1) {one1.outerHTML = ``; }) }); return pageE" + "bF": "pageE.forEach(function (one) {fun.getAllCSS('div.rms_iac[data-src]',one).forEach(function (one1) {one1.outerHTML = ``; }) }); return pageE" } }, "搜狗搜索": { @@ -118,7 +118,7 @@ "url": "return (fun.lp() == '/search/' || fun.isMobile())", "history": true, "pager": { - "nextL": "#page-bottom a[class*='containerRight_'], #page-bottom a[class*='container_']", + "nextL": "#page-bottom a[class*='containerRight_'],#page-bottom a[class*='container_']", "pageE": "#results>div", "replaceE": "#page-bottom" } @@ -128,12 +128,12 @@ "url": "/^\\/search/", "history": true, "pager": { - "nextL": "//div[contains(@class, '-pagination')]/a[string()='下一页']", + "nextL": "//div[contains(@class,'-pagination')]/a[string()='下一页']", "pageE": "div[class*='-result-list']>.result-content[data-i]", "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" + "bF": "if (fun.getXpath('//div[contains(@class,\"-header\") and string()=\"相关搜索\"]',pageE[pageE.length - 1])) {pageE[pageE.length - 1].style.display = 'none';}; return pageE" } }, "神马搜索": { @@ -155,7 +155,7 @@ "replaceE": "#page" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-isrc]','data-isrc'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-isrc]','data-isrc'])" } }, "360 搜索": { @@ -165,11 +165,11 @@ "history": true, "pager": { "nextL": "a#snext", - "pageE": "ul.result>li, style:not(src)", + "pageE": "ul.result>li,style:not(src)", "replaceE": "#page" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-isrc]','data-isrc'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-isrc]','data-isrc'])" } }, "DuckDuckGo 搜索": { @@ -182,7 +182,7 @@ "url": "/\\/search/", "history": false, "pager": { - "nextL": "js; return fun.getNextF('//div[contains(@class, \"pagination\")]/form[./button[@class=\"pagination__next-prev-button next\"]]')", + "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" } @@ -192,9 +192,9 @@ "url": "/^\\/search\\//", "history": true, "pager": { - "nextL": "a.Pager-Item_type_next, a.pager__item_kind_next", - "pageE": "#search-result, style", - "replaceE": ".Pager, .pager" + "nextL": "a.Pager-Item_type_next,a.pager__item_kind_next", + "pageE": "#search-result,style", + "replaceE": ".Pager,.pager" } }, "Yandex 搜索 - 视频": { @@ -238,7 +238,7 @@ }, "Qwant 搜索": { "host": "www.qwant.com", - "url": "fun.isUrlC(); return (fun.indexOF('q=', 's') && fun.indexOF('t=web', 's'))", + "url": "fun.isUrlC(); return (fun.indexOF('q=','s') && fun.indexOF('t=web','s'))", "pager": { "type": 2, "nextL": "button[data-testid='buttonShowMore']" @@ -268,7 +268,7 @@ "Presearch": { "host": "presearch.com", "url": "/^\\/search/", - "style": "[x-if^='state.results.pages']+div, .text-gray-300>[x-data]", + "style": "[x-if^='state.results.pages']+div,.text-gray-300>[x-data]", "pager": { "type": 6, "nextL": "a[\\:class*='${state.results.pages[state.results.pages.length-1]']", @@ -284,7 +284,7 @@ "history": true, "pager": { "nextL": "a.pagination__num--next", - "pageE": ".content-answers-top-wrap, .content-answers-top-wrap~div", + "pageE": ".content-answers-top-wrap,.content-answers-top-wrap~div", "replaceE": ".pagination" } }, @@ -302,11 +302,11 @@ "url": "if (location.hostname == 'jump2.bdimg.com') location.hostname = 'tieba.baidu.com'; return (fun.indexOF('/p/')) ", "iframe": true, "thread": true, - "style": ".d_sign_split, img.j_user_sign, .d_author .d_pb_icons, .save_face_bg, .save_face_bg_2, li.d_name a.icon_tbworld, .lzl_cnt a.icon_tbworld, .topic_list_box.topic-fixed {display: none !important;} a.p_author_face.j_frame_guide {background: none repeat scroll 0 0 #FFF !important;border: 1px solid #CCC !important;padding: inherit !important;} .red_text, .red-text, .vip_red, .vip-red, .vip_red:hover, .vip-red:hover, .vip_red:visited, .vip-red:visited {color: #2d64b3 !important;}", + "style": ".d_sign_split,img.j_user_sign,.d_author .d_pb_icons,.save_face_bg,.save_face_bg_2,li.d_name a.icon_tbworld,.lzl_cnt a.icon_tbworld,.topic_list_box.topic-fixed {display: none !important;} a.p_author_face.j_frame_guide {background: none repeat scroll 0 0 #FFF !important;border: 1px solid #CCC !important;padding: inherit !important;} .red_text,.red-text,.vip_red,.vip-red,.vip_red:hover,.vip-red:hover,.vip_red:visited,.vip-red:visited {color: #2d64b3 !important;}", "pager": { "type": 5, "nextL": "//li[contains(@class,'pb_list_pager')]/a[text()='下一页']", - "style": "ul.tbui_aside_float_bar, .core_title_wrap_bright.tbui_follow_fixed.core_title_absolute_bright {display: none !important;}" + "style": "ul.tbui_aside_float_bar,.core_title_wrap_bright.tbui_follow_fixed.core_title_absolute_bright {display: none !important;}" } }, "百度贴吧": { @@ -316,13 +316,13 @@ "history": false, "pager": { "nextL": "js; if (fun.getCSS('a.next.pagination-item')) return (fun.getCSS('a.next.pagination-item').href + '&pagelets=frs-list%2Fpagelet%2Fthread&pagelets_stamp=' + new Date().getTime())", - "pageE": "//script[contains(text(), 'Bigpipe.register(\"frs-list/pagelet/thread_list\", ')]", + "pageE": "//script[contains(text(),'Bigpipe.register(\"frs-list/pagelet/thread_list\", ')]", "insertP": ["#thread_list",3], "interval": 2000, "scrollD": 3000 }, "function": { - "bF": "let scriptText = pageE[0].textContent.replace('Bigpipe.register(\"frs-list/pagelet/thread_list\", ',''); scriptText = scriptText.slice(0, scriptText.indexOf(').')); let temp = document.createElement('div'); temp.innerHTML = JSON.parse(scriptText).content; fun.getCSS('#frs_list_pager').innerHTML = fun.getCSS('#frs_list_pager',temp).innerHTML; return fun.src_bF(fun.getAllCSS('#thread_list>li',temp))" + "bF": "let scriptText = pageE[0].textContent.replace('Bigpipe.register(\"frs-list/pagelet/thread_list\", ',''); scriptText = scriptText.slice(0,scriptText.indexOf(').')); let temp = document.createElement('div'); temp.innerHTML = JSON.parse(scriptText).content; fun.getCSS('#frs_list_pager').innerHTML = fun.getCSS('#frs_list_pager',temp).innerHTML; return fun.src_bF(fun.getAllCSS('#thread_list>li',temp))" } }, "豆瓣": { @@ -347,7 +347,7 @@ "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, .interest-list, .grid-view, .grid_view>ul>li, .poster-col3>li", + "pageE": ".grid_view,#comments,.review-list,.interest-list,.grid-view,.grid_view>ul>li,.poster-col3>li", "replaceE": ".paginator", "scrollD": 2500 } @@ -368,23 +368,23 @@ "url": "return (fun.indexOF(/^\\/(doulist|tag)\\//) || fun.lp() == '/group/explore' || ((fun.indexOF(/^\\/people\\/.+\\/status/) && fun.indexOF('tab=','s') && !fun.indexOF('tab=collect','s'))) || (fun.indexOF(/^\\/note\\/\\d+\\//) && fun.indexOF('type=','s')))", "pager": { "nextL": "link[rel='next']", - "pageE": ".doulist-item, .article>.mod:not([id='doulist-info']), .channel-item, .list", + "pageE": ".doulist-item,.article>.mod:not([id='doulist-info']),.channel-item,.list", "replaceE": ".paginator" } }, "豆瓣 - 小组/讨论区 - 帖子内": { - "host": ["www.douban.com", "movie.douban.com"], + "host": ["www.douban.com","movie.douban.com"], "url": "return (fun.indexOF('/group/topic/') || fun.indexOF(/^\\/subject\\/.+\\/discussion\\/\\d+/))", "thread": true, "pager": { "nextL": "link[rel='next']", - "pageE": ".comment-item, .list>ul>li", + "pageE": ".comment-item,.list>ul>li", "replaceE": ".paginator", "scrollD": 2500 } }, "豆瓣 - 小组/讨论区": { - "host": ["www.douban.com", "movie.douban.com"], + "host": ["www.douban.com","movie.douban.com"], "url": "/^\\/(group|subject)\\/.+\\/discussion/", "blank": 3, "pager": { @@ -411,12 +411,12 @@ "scrollD": 2500 }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[loadlate]','loadlate'])" + "bF": "return fun.src_bF(pageE,[0,'img[loadlate]','loadlate'])" } }, "The Movie Database": { "host": "www.themoviedb.org", - "url": "if (fun.indexOF('/search/')){return true;}else{setTimeout(()=>{document.querySelector('#pagination_page_1 a.load_more').click();}, 1000)}", + "url": "if (fun.indexOF('/search/')){return true;}else{setTimeout(()=>{document.querySelector('#pagination_page_1 a.load_more').click();},1000)}", "blank": 3, "pager": { "nextL": "a.next_page", @@ -457,9 +457,9 @@ "host": "bbs.tianya.cn", "url": "/\\/list/", "pager": { - "nextL": "//div[contains(@class, 'pages')]/div[@class='links']/a[text()='下一页']", + "nextL": "//div[contains(@class,'pages')]/div[@class='links']/a[text()='下一页']", "pageE": ".tab-bbs-list>tbody:not(:first-of-type)", - "replaceE": "//div[contains(@class, 'pages')]" + "replaceE": "//div[contains(@class,'pages')]" } }, "天涯社区 - 帖子内": { @@ -498,7 +498,7 @@ "gmxhr": true, "pager": { "nextL": "#pagebbtm a[title='下一页']", - "pageE": "#topicrows>tbody, #topicrows>script", + "pageE": "#topicrows>tbody,#topicrows>script", "replaceE": "div[name='pageball']", "scriptT": 2 }, @@ -516,7 +516,7 @@ "retry": 1000, "pager": { "nextL": "#pagebbtm a[title*='下一页']", - "pageE": "id('m_posts_c')/* | //script[contains(text(), 'commonui.userInfo.setAll')]", + "pageE": "id('m_posts_c')/* | //script[contains(text(),'commonui.userInfo.setAll')]", "replaceE": "div[name='pageball']", "scriptT": 2 } @@ -537,17 +537,17 @@ "blank": 3, "pager": { "nextL": ".page_current+a", - "pageE": ".cell.item, #notifications>div, #TopicsNode>div, #Main>.box>.dock_area,#Main>.box>.dock_area+.inner,#Main>.box>.dock_area+.cell:not([style]), table.data>tbody>tr:not(:first-child)", + "pageE": ".cell.item,#notifications>div,#TopicsNode>div,#Main>.box>.dock_area,#Main>.box>.dock_area+.inner,#Main>.box>.dock_area+.cell:not([style]), table.data>tbody>tr:not(:first-child)", "replaceE": "//a[@class='page_current']/../.." } }, "煎蛋网": { "host": "jandan.net", "url": "/^(\\/$|\\/page\\/)/", - "style": "#nav_prev, #nav_next, .post.f:not(.list-post)", + "style": "#nav_prev,#nav_next,.post.f:not(.list-post)", "history": false, "pager": { - "nextL": "//div[@class='wp-pagenavi']/a[contains(text(), '下一页') or contains(text(), '更多文章')]", + "nextL": "//div[@class='wp-pagenavi']/a[contains(text(),'下一页') or contains(text(),'更多文章')]", "pageE": "#content>.list-post", "replaceE": ".wp-pagenavi" }, @@ -567,15 +567,15 @@ "煎蛋网 - 吐槽": { "host": "jandan.net", "url": "/^\\/(qa|pic|ooxx|treehole)/", - "style": "#nav_prev, #nav_next, #tucao-gg {display: none !important;} .jandan-vote a.tucao-btn23:link {color: #c8c7cc !important;} .jandan-tucao {background-color: #fafaf9 !important;}", + "style": "#nav_prev,#nav_next,#tucao-gg {display: none !important;} .jandan-vote a.tucao-btn23:link {color: #c8c7cc !important;} .jandan-tucao {background-color: #fafaf9 !important;}", "pager": { "nextL": "a.previous-comment-page", - "pageE": "ol.commentlist>li[id^='comment-'], head>script:not([src])", + "pageE": "ol.commentlist>li[id^='comment-'],head>script:not([src])", "replaceE": ".cp-pagenavi", "scriptT": 2 }, "function": { - "bF": "fun.getAllCSS('a.tucao-btn, a.comment-like.like, a.comment-unlike.unlike').forEach(function (now) {now.className = now.className.replace('tucao-btn', 'tucao-btn23').replace('comment-unlike', 'comment-unlike23').replace('comment-like', 'comment-like23');}); return pageE" + "bF": "fun.getAllCSS('a.tucao-btn,a.comment-like.like,a.comment-unlike.unlike').forEach(function (now) {now.className = now.className.replace('tucao-btn','tucao-btn23').replace('comment-unlike','comment-unlike23').replace('comment-like','comment-like23');}); return pageE" } }, "龙的天空": { @@ -583,7 +583,7 @@ "url": "fun.isUrlC(); return (fun.indexOF('/forum/'))", "history": false, "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 '';", + "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']/../.. | //head/style[@data-emotion-css]", "replaceE": "ul.ant-pagination" } @@ -594,7 +594,7 @@ "thread": true, "history": false, "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 '';", + "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']/.. | //head/style[@data-emotion-css]", "replaceE": "ul.ant-pagination" } @@ -602,7 +602,7 @@ "水木社区": { "host": "www.newsmth.net", "url": "return (location.href.indexOf('board/') != -1)", - "style": "[id*='banner'], [class*='banner']", + "style": "[id*='banner'],[class*='banner']", "blank": 4, "pager": { "nextL": ".page-select+li.page-normal>a", @@ -614,7 +614,7 @@ "水木社区 - 帖子内": { "host": "www.newsmth.net", "url": "return (location.href.indexOf('article/') != -1)", - "style": "[id*='banner'], [class*='banner']", + "style": "[id*='banner'],[class*='banner']", "thread": true, "pager": { "nextL": ".page-select+li.page-normal>a", @@ -669,12 +669,12 @@ "replaceE": ".pagination>ul" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-normal]','data-normal'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-normal]','data-normal'])" } }, "2DFan - 评论": { "host": ["2dfan.com","www.2dfan.com","ddfan.org","/^ddfan\\.[a-z]+$/","/^galge\\.[a-z]+$/","/^fan2d\\.[a-z]+$/"], - "url": "if (fun.getCSS('#comments')&&fun.getCSS('.pagination')){[].slice.call(fun.getAllCSS('#comments>div')).reverse().forEach((e)=>{document.querySelector('#comments>.pagination').insertAdjacentElement('beforebegin', e);});return true}", + "url": "if (fun.getCSS('#comments')&&fun.getCSS('.pagination')){[].slice.call(fun.getAllCSS('#comments>div')).reverse().forEach((e)=>{document.querySelector('#comments>.pagination').insertAdjacentElement('beforebegin',e);});return true}", "history": false, "pager": { "nextL": "a[rel='prev']", @@ -703,11 +703,11 @@ "url": "fun.isUrlC(); return (fun.indexOF('/community/'))", "pager": { "nextL": "li.pagination-item.is-active+li>a", - "pageE": ".data-wrapper>section.community-card, style", - "replaceE": "//ul[./li[contains(@class, 'pagination-item')]]" + "pageE": ".data-wrapper>section.community-card,style", + "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" + "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" } }, "宽带山论坛": { @@ -726,14 +726,14 @@ "thread": true, "pager": { "nextL": "//div[@class='pages']/a[text()='>>']", - "pageE": "#reply_list_panel>*, script[src*='ui/js/kds.js']", + "pageE": "#reply_list_panel>*,script[src*='ui/js/kds.js']", "replaceE": ".pages", "scriptT": 2 } }, "篱笆网论坛": { "host": "www.libaclub.com", - "url": "fun.insStyle('li.ui-list-merchant-ad, .ui-nav-appImage {display: none !important;}'); return (fun.lp() == '/' || fun.indexOF('/date_'))", + "url": "fun.insStyle('li.ui-list-merchant-ad,.ui-nav-appImage {display: none !important;}'); return (fun.lp() == '/' || fun.indexOF('/date_'))", "pager": { "nextL": "//div[@class='ui-crumbs-more']/a[@class='fn-link'][1]", "pageE": "ul.ui-list>li:not(.ui-list-item-head):not(.ui-list-merchant-ad)", @@ -755,7 +755,7 @@ "thread": true, "pager": { "nextL": "a.ui-paging-next", - "pageE": ".ui-box-content>div.ui-topic, .ui-box-content>a[name]", + "pageE": ".ui-box-content>div.ui-topic,.ui-box-content>a[name]", "insertP": [".ui-box-content",3], "replaceE": "div.ui-paging" } @@ -774,7 +774,7 @@ "host": "www.libaclub.com", "url": "/\\/facade.php/", "pager": { - "nextL": "//div[@class='ui-page']/a[contains(text(), '下一页')]", + "nextL": "//div[@class='ui-page']/a[contains(text(),'下一页')]", "pageE": ".ui-box-main>ul.ui-list>li", "replaceE": "div.ui-page" } @@ -793,7 +793,7 @@ "host": "www.taoguba.com.cn", "url": "/\\/(bbs|zongban|dianzan|jinghua)\\//", "pager": { - "nextL": "js; let next = fun.getCSS('.next-page.pageDisabled'), next_ = '/'; if (next) {next = next.getAttribute('onclick').replace('gotoPage(','').replace(')','').split(','); if (fun.indexOF(/\\/dianzan|jinghua\\//)) next_ = '-'; if (parseInt(next[0]) <= parseInt(next[2])) {return (`${location.origin}/${location.pathname.split('/')[1]}/${next[0]}${next_}${next[1]}`)};}; return '';", + "nextL": "js; let next = fun.getCSS('.next-page.pageDisabled'),next_ = '/'; if (next) {next = next.getAttribute('onclick').replace('gotoPage(','').replace(')','').split(','); if (fun.indexOF(/\\/dianzan|jinghua\\//)) next_ = '-'; if (parseInt(next[0]) <= parseInt(next[2])) {return (`${location.origin}/${location.pathname.split('/')[1]}/${next[0]}${next_}${next[1]}`)};}; return '';", "pageE": ".items-comment-list", "replaceE": ".t_page" } @@ -802,7 +802,7 @@ "host": "www.taoguba.com.cn", "url": "/\\/shenghuoba\\//", "pager": { - "nextL": "js; let next = fun.getCSS('#N_go_pageBtn'), next_ = location.pathname.split('/')[2].split('-')[0]; if (next && (parseInt(next.dataset.now) + 1 <= parseInt(next.dataset.total))) {if (!next_) next_ = 'H'; return (`${location.origin}/shenghuoba/${next_}-${parseInt(next.dataset.now) + 1}`)}; return '';", + "nextL": "js; let next = fun.getCSS('#N_go_pageBtn'),next_ = location.pathname.split('/')[2].split('-')[0]; if (next && (parseInt(next.dataset.now) + 1 <= parseInt(next.dataset.total))) {if (!next_) next_ = 'H'; return (`${location.origin}/shenghuoba/${next_}-${parseInt(next.dataset.now) + 1}`)}; return '';", "pageE": ".lifeContent-topicList-item", "replaceE": ".N_sortPage " } @@ -812,7 +812,7 @@ "url": "/\\/Article\\//", "thread": true, "pager": { - "nextL": "js; let next = fun.getXpath('//div[contains(@class, \"t_page01\")]/a[contains(text(), \"下一页\")]');if (next) {next = next.getAttribute('onclick').replace('gotoPageTopic(','').replace(')','').split(','); if (parseInt(next[0]) <= parseInt(next[1])) {return (`${location.origin}/Article/${fun.getCSS(\"#looktopicID\").value}/${next[0]}`)}}; return '';", + "nextL": "js; let next = fun.getXpath('//div[contains(@class,\"t_page01\")]/a[contains(text(),\"下一页\")]');if (next) {next = next.getAttribute('onclick').replace('gotoPageTopic(','').replace(')','').split(','); if (parseInt(next[0]) <= parseInt(next[1])) {return (`${location.origin}/Article/${fun.getCSS(\"#looktopicID\").value}/${next[0]}`)}}; return '';", "pageE": ".list-reply:not([style*=display])>div[id]", "replaceE": ".t_page" }, @@ -824,12 +824,12 @@ "host": "bbs.lieyou888.com", "url": "/^\\/forum/", "pager": { - "nextL": "//div[contains(@class, '_pageNav')]/a[text()='下一页']", + "nextL": "//div[contains(@class,'_pageNav')]/a[text()='下一页']", "pageE": "ul.gb-bbs-list>li", "replaceE": "._pageNav" }, "function": { - "bF": "return fun.src_bF(pageE, [0, 'img[original]', 'original'])" + "bF": "return fun.src_bF(pageE,[0,'img[original]','original'])" } }, "汽车之家论坛": { @@ -855,7 +855,7 @@ }, "飞客网论坛": { "host": "www.flyert.com", - "url": "return (fun.indexOF('/forum-') || fun.indexOF('mod=forumdisplay', 's'))", + "url": "return (fun.indexOF('/forum-') || fun.indexOF('mod=forumdisplay','s'))", "pager": { "nextL": "a.nxt:not([href*='javascript'])", "pageE": "#threadlist table>tbody[id^='normalthread_']", @@ -865,7 +865,7 @@ }, "飞客网论坛 - 帖子内": { "host": "www.flyert.com", - "url": "return (fun.indexOF('/forum') || fun.indexOF('mod=viewthread', 's'))", + "url": "return (fun.indexOF('/forum') || fun.indexOF('mod=viewthread','s'))", "thread": true, "pager": { "nextL": "a.nxt:not([href*='javascript'])", @@ -968,7 +968,7 @@ }, "北+ - 用户页": { "host": ["/^((www|bbs)\\.)?(soul|snow|south|spring|summer|north|white|level|east)-plus\\.(net|org)$/","bbs.imoutolove.me"], - "url": "return (fun.lp() == '/u.php' && (fun.indexOF('action-topic-', 's') || fun.indexOF('action-post-', 's')))", + "url": "return (fun.lp() == '/u.php' && (fun.indexOF('action-topic-','s') || fun.indexOF('action-post-','s')))", "pager": { "nextL": "//div[@class='pages']/ul/li[./b]/following-sibling::li[1][not(@class)]/a[not(text()='»')]", "pageE": "#u-contentmain table tr", @@ -977,7 +977,7 @@ }, "纯美苹果园": { "host": "www.goddessfantasy.net", - "url": "return (fun.indexOF('board=', 's'))", + "url": "return (fun.indexOF('board=','s'))", "pager": { "nextL": "//div[contains(@class,'pagelinks')]/a[@class='navPages' and text()='»']", "pageE": ".table_grid>tbody>tr", @@ -986,7 +986,7 @@ }, "纯美苹果园 - 帖子内": { "host": "www.goddessfantasy.net", - "url": "return (fun.indexOF('topic=', 's'))", + "url": "return (fun.indexOF('topic=','s'))", "thread": true, "pager": { "nextL": "//div[contains(@class,'pagelinks')]/a[@class='navPages' and text()='»']", @@ -998,8 +998,8 @@ "host": ["adnmb3.com","www.tnmb.org","nimingban.xyz","nimingban.org","www.nmbxd.com","www.nmbxd1.com"], "url": "/\\/(m|Mobile)\\/(f|timeline)\\//", "pager": { - "nextL": "//li[contains(@class, 'pagination-next')]//a[text()='下一页']", - "pageE": ".h-middle>div[id^='threads_'], .h-middle>hr.h-middle>div[id^='threads_'], .h-middle>hr:nth-of-type(n+2), script[src$='/h.mobile.js']", + "nextL": "//li[contains(@class,'pagination-next')]//a[text()='下一页']", + "pageE": ".h-middle>div[id^='threads_'],.h-middle>hr.h-middle>div[id^='threads_'],.h-middle>hr:nth-of-type(n+2),script[src$='/h.mobile.js']", "insertP": ["#h-threads-pagination",1], "replaceE": "#h-threads-pagination", "scriptT": 2 @@ -1010,8 +1010,8 @@ "url": "/\\/m\\/t\\//", "thread": true, "pager": { - "nextL": "//li[contains(@class, 'pagination-next')]//a[text()='下一页']", - "pageE": ".h-threads-replylist>div, script[src$='/h.mobile.js']", + "nextL": "//li[contains(@class,'pagination-next')]//a[text()='下一页']", + "pageE": ".h-threads-replylist>div,script[src$='/h.mobile.js']", "replaceE": "#h-threads-pagination", "scriptT": 2 } @@ -1020,9 +1020,9 @@ "host": ["adnmb3.com","www.tnmb.org","nimingban.xyz","nimingban.org","www.nmbxd.com","www.nmbxd1.com"], "url": "/\\/(f|Forum)\\//", "pager": { - "nextL": "//ul[contains(@class, 'pagination')]//a[text()='下一页']", - "pageE": ".h-threads-list>*, script[src$='/h.desktop.js']", - "replaceE": "//ul[contains(@class, 'pagination')]", + "nextL": "//ul[contains(@class,'pagination')]//a[text()='下一页']", + "pageE": ".h-threads-list>*,script[src$='/h.desktop.js']", + "replaceE": "//ul[contains(@class,'pagination')]", "scriptT": 2 } }, @@ -1031,9 +1031,9 @@ "url": "/\\/t\\//", "thread": true, "pager": { - "nextL": "//ul[contains(@class, 'pagination')]//a[text()='下一页']", - "pageE": ".h-threads-list>.h-threads-item>.h-threads-item-replys, .h-threads-list>.h-threads-item>.h-threads-item-replies, script[src$='/h.desktop.js']", - "replaceE": "//ul[contains(@class, 'pagination')]", + "nextL": "//ul[contains(@class,'pagination')]//a[text()='下一页']", + "pageE": ".h-threads-list>.h-threads-item>.h-threads-item-replys,.h-threads-list>.h-threads-item>.h-threads-item-replies,script[src$='/h.desktop.js']", + "replaceE": "//ul[contains(@class,'pagination')]", "scriptT": 2 } }, @@ -1090,7 +1090,7 @@ "url": "/\\/(forum\\/\\d)|search/", "pager": { "nextL": "li.ipsPagination_next:not(.ipsPagination_inactive)>a", - "pageE": "ol.ipsDataList>li[data-rowid], ol.ipsStream>li", + "pageE": "ol.ipsDataList>li[data-rowid],ol.ipsStream>li", "replaceE": "ul.ipsPagination" } }, @@ -1156,7 +1156,7 @@ "host": "answers.microsoft.com", "url": "/\\/forum\\/all\\//", "pager": { - "nextL": "js; return fun.getNextEP('.pageNumberLayout.selectedPageNumber+span.pageNumberLayout>a', 'page=', /page=\\d+/)", + "nextL": "js; return fun.getNextEP('.pageNumberLayout.selectedPageNumber+span.pageNumberLayout>a','page=',/page=\\d+/)", "pageE": ".thread-message", "replaceE": ".pagingControl" } @@ -1166,14 +1166,14 @@ "url": "return fun.isPager()", "pager": { "nextL": "a.pager-next", - "pageE": "li.post-list-item, li.content-item", + "pageE": "li.post-list-item,li.content-item", "replaceE": ".nsk-pager" } }, "Pixiv - 分类页": { "host": "www.pixiv.net", - "url": "fun.isUrlC(); if (fun.isMobile()) {return false}; if (fun.lp() == '/') {fun.blank();} else if (fun.indexOF('/tags/')) {return true;} else if (fun.indexOF('/artworks/')) {setTimeout(()=>{fun.getXpath('//button[contains(string(), \"查看全部\") or contains(string(), \"See all\") or contains(string(), \"すべて見る\") or contains(string(), \"모두 보기\")]').click();},3000)}", - "style": "ul[class*='-1 ']>li {display: inline !important;} #root{margin-bottom: -175px;} ul>li>button[class^='sc-'], a[href^='/premium/lead/lp'] {display: none !important;}", + "url": "fun.isUrlC(); if (fun.isMobile()) {return false}; if (fun.lp() == '/') {fun.blank();} else if (fun.indexOF('/tags/')) {return true;} else if (fun.indexOF('/artworks/')) {setTimeout(()=>{fun.getXpath('//button[contains(string(),\"查看全部\") or contains(string(),\"See all\") or contains(string(),\"すべて見る\") or contains(string(),\"모두 보기\")]').click();},3000)}", + "style": "ul[class*='-1 ']>li {display: inline !important;} #root{margin-bottom: -175px;} ul>li>button[class^='sc-'],a[href^='/premium/lead/lp'] {display: none !important;}", "iframe": true, "pager": { "type": 5, @@ -1184,7 +1184,7 @@ "host": "www.pixiv.net", "url": "if (fun.isMobile()) {return false}; return (fun.indexOF('/users/') && fun.indexOF(/\\/(artworks|illustrations|manga)/))", "iframe": true, - "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;}", + "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" @@ -1193,7 +1193,7 @@ "Pixiv - 手机版 - 分类页": { "host": "www.pixiv.net", "url": "if (!fun.isMobile()) {return false}; if (fun.indexOF('/tags/')) {if (self != top) {fun.insStyle('.search-header {display: none !important;}')}; return true;} else if (fun.indexOF('/artworks/')) {setTimeout(()=>{fun.getCSS('.work-details-thumb-buttons>.button-link').click();},3000)}", - "style": ".banner-ad-footer-scale, footer", + "style": ".banner-ad-footer-scale,footer", "iframe": true, "pager": { "type": 5, @@ -1202,8 +1202,8 @@ }, "Pixiv - 手机版 - 用户作品页": { "host": "www.pixiv.net", - "url": "if (!fun.isMobile()) {return false}; if (fun.indexOF('/users/') && fun.indexOF(/\\/(artworks|illustrations|manga)/)) {if (self != top) {fun.insStyle('.masthead.cover-bg, .user-details {display: none !important;}')}; return true}", - "style": ".banner-ad-footer-scale, footer {display: none !important;} .user-details {margin-top: 0 !important;}", + "url": "if (!fun.isMobile()) {return false}; if (fun.indexOF('/users/') && fun.indexOF(/\\/(artworks|illustrations|manga)/)) {if (self != top) {fun.insStyle('.masthead.cover-bg,.user-details {display: none !important;}')}; return true}", + "style": ".banner-ad-footer-scale,footer {display: none !important;} .user-details {margin-top: 0 !important;}", "iframe": true, "pager": { "type": 5, @@ -1269,7 +1269,7 @@ "style": ".collects {display: block;}", "pager": { "nextL": ".tcdPageCode>span.current+a.tcdNumber", - "pageE": "//div[@class='content_list_box'] | //body/script[contains(text(), 'function loadcount()')]", + "pageE": "//div[@class='content_list_box'] | //body/script[contains(text(),'function loadcount()')]", "replaceE": ".tcdPageCode", "scriptT": 2 }, @@ -1323,11 +1323,11 @@ "千图网": { "host": "www.58pic.com", "url": "/\\/(c|tupian|piccate|pmulti|scene)\\//", - "style": ".qtw-card.place-box, .card-lazy, .is-line .is-back, .qtd-next-card, .login-model, .login-tip-page, .login-tip-header {display: none !important;} .pic-container.qtd-card-line-container>.qtd-card, .pic-container.qtd-card-mansory-container>.qtd-card {width: 316px;height: 428px;} .search-page-container {position: initial !important;}", + "style": ".qtw-card.place-box,.card-lazy,.is-line .is-back,.qtd-next-card,.login-model,.login-tip-page,.login-tip-header {display: none !important;} .pic-container.qtd-card-line-container>.qtd-card,.pic-container.qtd-card-mansory-container>.qtd-card {width: 316px;height: 428px;} .search-page-container {position: initial !important;}", "pager": { "type": 3, "nextL": "//div[contains(@class,'page-box')]//a[text()='下一页']", - "pageE": ".qtd-card-container>.qtd-card[data-id], .pic-container>.active, .pic-container>.qtd-card[data-id], .card-grid-box.is-new:not(.favorites-box)>div, .list-box>div", + "pageE": ".qtd-card-container>.qtd-card[data-id],.pic-container>.active,.pic-container>.qtd-card[data-id],.card-grid-box.is-new:not(.favorites-box)>div,.list-box>div", "replaceE": ".page-box" }, "function": { @@ -1336,11 +1336,11 @@ }, "千库网": { "host": "588ku.com", - "style": ".listlogin-box.listloginBox, .CLdialogV1, .editIndexEntry, .globalRSideB", + "style": ".listlogin-box.listloginBox,.CLdialogV1,.editIndexEntry,.globalRSideB", "pager": { - "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], + "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" }, "function": { @@ -1349,10 +1349,10 @@ }, "昵图网": { "host": ["www.nipic.com","soso.nipic.com"], - "style": "li.search-works-item, a.search-works-nextpage", + "style": "li.search-works-item,a.search-works-nextpage", "pager": { - "nextL": "//a[@title='下一页' or text()='下一页'][not(contains(@class, 'search-works-nextpage'))]", - "pageE": "li.new-search-works-item, li.new-works-box", + "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" }, "function": { @@ -1362,10 +1362,10 @@ "摄图网": { "host": ["699pic.com","xsj.699pic.com"], "url": "return fun.isPager('r')", - "style": ".lastNavItem, .yaoxinAct-rukou", + "style": ".lastNavItem,.yaoxinAct-rukou", "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", + "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 }, @@ -1388,10 +1388,10 @@ "我图网": { "host": ["www.ooopic.com","so.ooopic.com","weili.ooopic.com"], "url": "return (fun.lp() != '/' && !fun.indexOF('/weili_'))", - "style": ".overWidth.clearfix.masonry {height: auto !important;} .pic-list, .video-list {position: relative !important;float: left !important;top: auto !important;left: auto !important;}", + "style": ".overWidth.clearfix.masonry {height: auto !important;} .pic-list,.video-list {position: relative !important;float: left !important;top: auto !important;left: auto !important;}", "history": false, "pager": { - "nextL": "a.next_page, a.so-next", + "nextL": "a.next_page,a.so-next", "pageE": ".pic-item", "replaceE": ".page" }, @@ -1409,7 +1409,7 @@ "replaceE": ".pagelist" }, "function": { - "bF": "return fun.src_bF(pageE, [0, 'img[data-url]', 'data-url'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-url]','data-url'])" } }, "包图网 - 字体页": { @@ -1422,7 +1422,7 @@ "replaceE": ".pagelist" }, "function": { - "bF": "return fun.src_bF(pageE, [0, 'img[data-url]', 'data-url'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-url]','data-url'])" } }, "包图网": { @@ -1435,7 +1435,7 @@ "replaceE": ".pagelist" }, "function": { - "bF": "return fun.src_bF(pageE, [0, 'img[data-url]', 'data-url'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-url]','data-url'])" } }, "vcg.com": { @@ -1460,13 +1460,13 @@ "replaceE": "div>.paginator" }, "function": { - "bF": "return fun.src_bF(pageE, [0, 'img[data-lazy]', 'data-lazy'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-lazy]','data-lazy'])" } }, "Pngtree": { "host": ["pngtree.com","zh.pngtree.com"], "url": "return (!fun.indexOF('/freepng/') && !fun.indexOF('/freebackground/'))", - "style": "div[class*='-banner'], .COLLECT, .v2-footer, #v2-foot, .transform-login {display: none !important;} img[data-original] {opacity: 1 !important;}", + "style": "div[class*='-banner'],.COLLECT,.v2-footer,#v2-foot,.transform-login {display: none !important;} img[data-original] {opacity: 1 !important;}", "pager": { "type": 6, "nextL": ".nextPage", @@ -1490,7 +1490,7 @@ }, "Unsplash": { "host": "unsplash.com", - "url": "fun.isUrlC(); if(fun.indexOF('/s/photos/')){setTimeout((f=fun)=>{f.getXpath(\"//button[text()='Load more photos']\").click();}, 2000)}" + "url": "fun.isUrlC(); if(fun.indexOF('/s/photos/')){setTimeout((f=fun)=>{f.getXpath(\"//button[text()='Load more photos']\").click();},2000)}" }, "图行天下": { "host": "www.photophoto.cn", @@ -1530,11 +1530,11 @@ "host": "www.iconfont.cn", "url": "fun.isUrlC(); return (fun.indexOF(/^\\/(search|collections|illustrations|illustrations_3d|lotties)\\/index/))", "blank": 2, - "style": ".footer, header .bind-tips, .block-pagination-wrap, #magix_vf_main .block-sub-banner:not([p-id='96']), #J_block_sidebar", + "style": ".footer,header .bind-tips,.block-pagination-wrap,#magix_vf_main .block-sub-banner:not([p-id='96']),#J_block_sidebar", "iframe": true, "pager": { "type": 5, - "nextL": "js; return fun.getNextEP('li.active+li:not(.disabled)>a', 'page=', /page=\\d+/)", + "nextL": "js; return fun.getNextEP('li.active+li:not(.disabled)>a','page=',/page=\\d+/)", "scrollD": 1000 } }, @@ -1617,8 +1617,8 @@ "history": false, "pager": { "nextL": "a.nxt:not([href^='javascript']) ,a.next:not([href^='javascript'])", - "pageE": "id('threadlist')//table[./tbody[contains(@id, 'normalthread_')]]/tbody[not(@id='separatorline')]", - "replaceE": ".pg, .pages" + "pageE": "id('threadlist')//table[./tbody[contains(@id,'normalthread_')]]/tbody[not(@id='separatorline')]", + "replaceE": ".pg,.pages" } }, "学犀牛 - 帖子内": { @@ -1644,7 +1644,7 @@ "学犀牛 - 分类页": { "host": "www.xuexiniu.com", "pager": { - "nextL": "//a[@class='page-link' and contains(text(), '下一页')]", + "nextL": "//a[@class='page-link' and contains(text(),'下一页')]", "pageE": ".row>.col-sm-6", "replaceE": "ul.pagination" } @@ -1667,7 +1667,7 @@ "replaceE": ".pagination" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-url]','data-url'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-url]','data-url'])" } }, "下得乐": { @@ -1689,7 +1689,7 @@ "replaceE": "#pagination" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-url]','data-url'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-url]','data-url'])" } }, "建E室内设计网": { @@ -1698,7 +1698,7 @@ "pager": { "type": 6, "nextL": ".pagination li.active+li>a", - "pageE": "#ajax_ul_list>div, #caselist>li", + "pageE": "#ajax_ul_list>div,#caselist>li", "replaceE": ".pagination", "loadTime": 1500, "scrollD": 4000 @@ -1709,7 +1709,7 @@ "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", + "pageE": ".index-family ul:not(.page)>li:not(.head),script[src*='base.js'],.inform-list>ul>li", "replaceE": ".page", "scriptT": 2 } @@ -1771,7 +1771,7 @@ "pager": { "type": 3, "nextL": "li.next>a", - "pageE": ".news_warp_center>*, script[src*='common.js']", + "pageE": ".news_warp_center>*,script[src*='common.js']", "replaceE": ".pagewrap", "scrollE": ".pagewrap", "scriptT": 2, @@ -1782,8 +1782,8 @@ "host": "mod.3dmgame.com", "history": true, "pager": { - "nextL": "js; return fun.getNextEP('//li[@class=\"page-list active\"]/following-sibling::li[contains(@class, \"page-list\")]/a', 'Page=', /Page=\\d+/)", - "pageE": "//div[contains(@class, 'game-mod-list') or contains(@class, 'search-mod-list')] | //script[not(@src or @type)][contains(text(), '.game-mod-page') or contains(text(), '.search-mod-page')]", + "nextL": "js; return fun.getNextEP('//li[@class=\"page-list active\"]/following-sibling::li[contains(@class,\"page-list\")]/a','Page=',/Page=\\d+/)", + "pageE": "//div[contains(@class,'game-mod-list') or contains(@class,'search-mod-list')] | //script[not(@src or @type)][contains(text(),'.game-mod-page') or contains(text(),'.search-mod-page')]", "scriptT": 2 } }, @@ -1792,7 +1792,7 @@ "url": "/keyword=/", "pager": { "nextL": "span.curr+a", - "pageE": ".search_lis, .search_wrap>script[src='/p/js/pager.min.js'], .search_wrap>script:not([src])", + "pageE": ".search_lis,.search_wrap>script[src='/p/js/pager.min.js'],.search_wrap>script:not([src])", "scriptT": 2 }, "function": { @@ -1826,7 +1826,7 @@ "url": "/^\\/news/", "pager": { "nextL": "a.p_curpage+a:not(.p_redirect)", - "pageE": ".n_lone, .list-body-news-item", + "pageE": ".n_lone,.list-body-news-item", "replaceE": ".p_bar" } }, @@ -1854,7 +1854,7 @@ }, "游侠网 - 攻略页": { "host": "gl.ali213.net", - "style": ".n_show_b, a.morezjjump", + "style": ".n_show_b,a.morezjjump", "blank": 3, "pager": { "type": 3, @@ -1867,7 +1867,7 @@ }, "游侠网 - 图库": { "host": "pic.ali213.net", - "style": "a.prev, a.next", + "style": "a.prev,a.next", "pager": { "nextL": "a.next", "pageE": "#image-show>img", @@ -1882,7 +1882,7 @@ "type": 3, "nextL": "//div[@class='page_css']/a[text()='下一页']", "pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.page_css):not(.gs_ccs_solve):not(.post_ding)", - "insertP": [".Mid2L_con>.pagecss, .Mid2L_con>.page_css",1], + "insertP": [".Mid2L_con>.pagecss,.Mid2L_con>.page_css",1], "replaceE": ".page_css", "scrollE": ".page_css", "forceHTTPS": true, @@ -1897,7 +1897,7 @@ "url": "fun.isPager('p')", "pager": { "type": 6, - "nextL": "js; return fun.getNextEP('.cur-page+li', 'page=', /page=\\d+/)", + "nextL": "js; return fun.getNextEP('.cur-page+li','page=',/page=\\d+/)", "pageE": "ul.list-container>li", "replaceE": ".page-num-list", "loadTime": 300 @@ -1905,9 +1905,9 @@ }, "机核 GCORES": { "host": "www.gcores.com", - "url": "fun.isUrlC(); fun.getAllCSS('.navLayout_side, .gtabs, .loadingPlaceholder>.row').forEach(function (o) {o.innerHTML = o.innerHTML;}); return (fun.lp() != '/' && (fun.indexOF('/collections/') || !fun.indexOF(/\\/\\d+$/)))", + "url": "fun.isUrlC(); fun.getAllCSS('.navLayout_side,.gtabs,.loadingPlaceholder>.row').forEach(function (o) {o.innerHTML = o.innerHTML;}); return (fun.lp() != '/' && (fun.indexOF('/collections/') || !fun.indexOF(/\\/\\d+$/)))", "pager": { - "nextL": "li.pagination_item.is_active+li>a, li.pagination_item.active+li>a", + "nextL": "li.pagination_item.is_active+li>a,li.pagination_item.active+li>a", "pageE": ".loadingPlaceholder>.row>div", "replaceE": ".pagination" } @@ -1917,7 +1917,7 @@ "url": "fun.isUrlC(); return (fun.lp() == '/mods')", "blank": 4, "pager": { - "nextL": "js; let n = fun.getCSS('.page-number-container:not(.page-number)+.page-number-container>a'), m = fun.getSearch('m')||'20'; if (n && n.innerText){return fun.getNextSP((parseInt(n.innerText)-1)*parseInt(m), 'o=', /o=\\d+/);}", + "nextL": "js; let n = fun.getCSS('.page-number-container:not(.page-number)+.page-number-container>a'),m = fun.getSearch('m')||'20'; if (n && n.innerText){return fun.getNextSP((parseInt(n.innerText)-1)*parseInt(m),'o=',/o=\\d+/);}", "pageE": "article.project-card", "replaceE": ".paginates" } @@ -1926,7 +1926,7 @@ "host": "www.spigotmc.org", "url": "/\\/resources\\/(categories|authors)?/", "pager": { - "nextL": "//a[@class='text' and contains(text(), '>')]", + "nextL": "//a[@class='text' and contains(text(),'>')]", "pageE": "li.resourceListItem", "replaceE": ".PageNav" } @@ -1937,7 +1937,7 @@ "style": "[data-name='worldgen-list']+.common-comment-block", "pager": { "nextL": ".page-item.active+.page-item>a", - "pageE": ".modlist-list-frame>.modlist-block, .worldgen-list, .verify-list-list-table>tbody>tr, .history-list-frame, .search-result-list", + "pageE": ".modlist-list-frame>.modlist-block,.worldgen-list,.verify-list-list-table>tbody>tr,.history-list-frame,.search-result-list", "replaceE": ".pagination:not([data-name='comment-list'])" } }, @@ -1986,7 +1986,7 @@ "style": ".forum_paging_controls", "history": true, "pager": { - "nextL": "js; return fun.getNextUP('ctp=', /ctp=\\d+/, location.pathname, '2', fun.getCSS('span.commentthread_pagelinks>a:last-child').textContent)", + "nextL": "js; return fun.getNextUP('ctp=',/ctp=\\d+/,location.pathname,'2',fun.getCSS('span.commentthread_pagelinks>a:last-child').textContent)", "pageE": ".commentthread_comments>.commentthread_comment", "replaceE": ".forum_paging .forum_paging_summary", "scriptT": 1 @@ -1997,7 +1997,7 @@ "blank": 3, "pager": { "nextL": "//ul[@class='pager']//a[text()='下一页']", - "pageE": "//h2[contains(text(), '所有游戏') or contains(text(), '搜索结果')]/following-sibling::div[1]/div", + "pageE": "//h2[contains(text(),'所有游戏') or contains(text(),'搜索结果')]/following-sibling::div[1]/div", "replaceE": "ul.pager" } }, @@ -2041,7 +2041,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" + "replaceE": "#pagecontent >table:not(.tablebg),#pageheader p.gensmall" } }, "cs.rin.ru - 搜索页": { @@ -2050,7 +2050,7 @@ "blank": 3, "pager": { "nextL": "#wrapcentre>.nav strong~a", - "pageE": "#wrapcentre>form>table.tablebg>tbody>tr[class^='row'], #wrapcentre>form>table.tablebg>tbody>tr[valign]", + "pageE": "#wrapcentre>form>table.tablebg>tbody>tr[class^='row'],#wrapcentre>form>table.tablebg>tbody>tr[valign]", "replaceE": "#wrapcentre>div" } }, @@ -2065,17 +2065,17 @@ } }, "RuTracker - 帖子列表": { - "host": ["rutracker.org", "rutracker.net"], + "host": ["rutracker.org","rutracker.net"], "url": "/(viewforum|tracker)\\.php/", "blank": 4, "pager": { - "nextL": "#pagination b~a.pg, .nav b~a.pg", - "pageE": "tr[id^='tr-'], tr[id^='trs-']", - "replaceE": "#pagination, .bottom_info>.nav" + "nextL": "#pagination b~a.pg,.nav b~a.pg", + "pageE": "tr[id^='tr-'],tr[id^='trs-']", + "replaceE": "#pagination,.bottom_info>.nav" } }, "RuTracker - 帖子内": { - "host": ["rutracker.org", "rutracker.net"], + "host": ["rutracker.org","rutracker.net"], "url": "/viewtopic\\.php/", "thread": true, "pager": { @@ -2100,7 +2100,7 @@ "blank": 3, "pager": { "nextL": "//span[@class='pnext']/..", - "pageE": ".short_item, .comments-tree-item", + "pageE": ".short_item,.comments-tree-item", "replaceE": ".bottom-page" } }, @@ -2146,8 +2146,8 @@ "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+/)", - "pageE": ".video-list-item, .media-list>div, .video-list>div", + "nextL": "js; return fun.getNextEP('.vui_pagenation--btn-num.vui_button--active+button.vui_pagenation--btn-num','page=',/page=\\d+/)", + "pageE": ".video-list-item,.media-list>div,.video-list>div", "replaceE": ".vui_pagenation--btns", "loadTime": 600, "scrollD": 3000 @@ -2197,7 +2197,7 @@ "replaceE": ".mainPage" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-url]','data-url'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-url]','data-url'])" } }, "91 美剧网": { @@ -2218,7 +2218,7 @@ "url": "/^\\/vod_(type|show|search)/", "pager": { "nextL": "#page a[title='下一页']", - "pageE": "ul.search-result>a, ul.show-list>li", + "pageE": "ul.search-result>a,ul.show-list>li", "replaceE": "#page" }, "function": { @@ -2231,14 +2231,14 @@ "pager": { "nextL": ".pagego a", "pageE": ".list>ul>li", - "replaceE": ".newpages, .pagego, #float_show" + "replaceE": ".newpages,.pagego,#float_show" } }, "吐槽弹幕网 - 搜索页": { "host": "www.tucao.one", - "url": "return (fun.indexOF('search', 's'))", + "url": "return (fun.indexOF('search','s'))", "pager": { - "nextL": "//a[@class='a1'][contains(text(), '下一页')]", + "nextL": "//a[@class='a1'][contains(text(),'下一页')]", "pageE": ".search_list>*", "replaceE": ".pages" } @@ -2256,7 +2256,7 @@ "host": "www.nicotv.me", "url": "return (fun.indexOF('/search') || fun.indexOF('/type'))", "pager": { - "nextL": "//ul[contains(@class, 'pagination ')]//a[text()='»']", + "nextL": "//ul[contains(@class,'pagination ')]//a[text()='»']", "pageE": "ul.list-unstyled>li", "replaceE": "ul.pagination " }, @@ -2269,7 +2269,7 @@ "url": "return (fun.lp() != '/' && !fun.indexOF('/man'))", "blank": 3, "pager": { - "nextL": "//div[contains(@class, 'page')]/a[text()='>']", + "nextL": "//div[contains(@class,'page')]/a[text()='>']", "pageE": ".index-tj>ul>li", "replaceE": ".page" }, @@ -2308,7 +2308,7 @@ "history": false, "blank": 3, "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);}}", + "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", "scrollD": 800 } @@ -2318,7 +2318,7 @@ "url": "/^\\/[a-z]/", "pager": { "type": 2, - "nextL": "button.get-next-page:not([disabled]), .wpf-more-topics>a", + "nextL": "button.get-next-page:not([disabled]),.wpf-more-topics>a", "interval": 1000 } }, @@ -2359,7 +2359,7 @@ "磁力狗": { "host": ["clg.im","ciligou.top","clg00.site"], "url": "/^\\/search/", - "style": "body, html {overflow-x: initial !important;}", + "style": "body,html {overflow-x: initial !important;}", "blank": 3, "pager": { "nextL": ".pagination>li.active+li>a", @@ -2398,7 +2398,7 @@ "host": "gaoqing.fm", "pager": { "type": 2, - "nextL": ".col-md-12>a, #loadmore>a", + "nextL": ".col-md-12>a,#loadmore>a", "interval": 1500 } }, @@ -2415,7 +2415,7 @@ "host": ["dmhy.org","www.dmhy.org","share.dmhy.org","dmhy.anoneko.com"], "url": "return fun.isPager('r')", "pager": { - "nextL": "//div[@class='nav_title']/a[contains(text(), '下一')]", + "nextL": "//div[@class='nav_title']/a[contains(text(),'下一')]", "pageE": "#topic_list>tbody>tr", "replaceE": ".table.clear .nav_title" }, @@ -2427,7 +2427,7 @@ "host": "mikanani.me", "url": "/^\\/Home\\/Classic/", "pager": { - "nextL": "js; return fun.getNextEPN('.pagination>li.active+li:not([style]):not([class])>a', /\\/\\d+$/, '/')", + "nextL": "js; return fun.getNextEPN('.pagination>li.active+li:not([style]):not([class])>a',/\\/\\d+$/,'/')", "pageE": "//table/tbody/tr | //body/script[contains(text(),'.classic-view-pagination')]", "scriptT": 2 } @@ -2438,7 +2438,7 @@ "hiddenPN": true }, "扶她动漫": { - "host": ["futaacg.com", "www.futaacg.com"], + "host": ["futaacg.com","www.futaacg.com"], "pager": { "nextL": "ul.pagination a[rel='next']", "pageE": ".topic-list>div", @@ -2450,7 +2450,7 @@ "url": "return (fun.lp() == '/' || fun.lp() == '/index.php')", "pager": { "nextL": "a.disabled+a:not(.disabled)", - "pageE": ".full2, .full2+script", + "pageE": ".full2,.full2+script", "replaceE": ".full3.buttons", "scriptT": 2 } @@ -2469,7 +2469,7 @@ "host": "bangumi.moe", "url": "/^\\/lite/", "pager": { - "nextL": "//section/a[./span[contains(@class, 'next')]]", + "nextL": "//section/a[./span[contains(@class,'next')]]", "pageE": "li.torrent-li", "replaceE": ".page-btn-section" } @@ -2485,7 +2485,7 @@ "MioBT/简单动漫": { "host": "miobt.com", "pager": { - "nextL": "//a[@class='nextprev'][contains(text(), '〉') or contains(text(), '下一页') or contains(text(), '»')]", + "nextL": "//a[@class='nextprev'][contains(text(),'〉') or contains(text(),'下一页') or contains(text(),'»')]", "pageE": "#data_list>tr", "replaceE": ".pages" } @@ -2501,7 +2501,7 @@ }, "SkrBT / BT1207": { "host": ["/skrbt/","/bt1207/"], - "url": "return (fun.getCSS(\"link[href*='/skrbt/'], img[src*='/skrbt/'], img[src*='/bt1207/']\") && 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 '';}", @@ -2516,7 +2516,7 @@ "url": "return (fun.lp()=='/')", "blank": 3, "pager": { - "nextL": "a[rel='next'], li.next>a", + "nextL": "a[rel='next'],li.next>a", "pageE": "table.torrent-list>tbody>tr", "replaceE": "ul.pagination" } @@ -2526,7 +2526,7 @@ "url": "/^\\/browse-movies/", "blank": 3, "pager": { - "nextL": "//ul[contains(@class, 'tsc_pagination')]/li[./a[@class='current']]/following-sibling::li[1]/a", + "nextL": "//ul[contains(@class,'tsc_pagination')]/li[./a[@class='current']]/following-sibling::li[1]/a", "pageE": ".browse-movie-wrap", "replaceE": ".tsc_pagination" } @@ -2596,7 +2596,7 @@ "host": "/^idope\\..+/", "url": "/^\\/torrent-list\\//", "pager": { - "nextL": "js; return fun.getNextEP('.page[style]+.page','p=', /p=\\d+/)", + "nextL": "js; return fun.getNextEP('.page[style]+.page','p=',/p=\\d+/)", "pageE": ".resultdiv", "replaceE": "#div3" } @@ -2674,7 +2674,7 @@ "host": "webhd.top", "url": "return (fun.lp() == '/' || fun.indexOF('/list/new'))", "pager": { - "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", + "nextL": "//a[@class='page-link'][contains(text(),'下一页')]", "pageE": ".col-lg-9 .bg-white.shadow-sm.rounded-3>.row.gx-0", "replaceE": "ul.pagination" } @@ -2684,7 +2684,7 @@ "url": "/\\/search/", "blank": 3, "pager": { - "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", + "nextL": "//a[@class='page-link'][contains(text(),'下一页')]", "pageE": ".col-lg-9 .bg-white.shadow-sm.rounded-3", "insertP": ["nav[aria-label='pagination']",1], "replaceE": "ul.pagination" @@ -2744,7 +2744,7 @@ "url": "return (fun.lp() === '/sub/')", "history": true, "pager": { - "nextL": "js; return fun.getNextEP('#pl-current+a[href]:not([id])', 'page=', /page=\\d+/)", + "nextL": "js; return fun.getNextEP('#pl-current+a[href]:not([id])','page=',/page=\\d+/)", "pageE": ".resultcard>div:not(#top-banner):not(#bottom-banner):not(.pagelinkcard)", "insertP": [".pagelinkcard",1], "replaceE": ".pagelinkcard" @@ -2761,10 +2761,10 @@ }, "字幕库 zmk": { "host": ["zmk.pw","zimuku.org","zimuku.pw"], - "url": "if (!fun.indexOF('/detail/') && !fun.indexOF('/subs/')) {if (fun.lp() == '/') {fun.getCSS('.box>.table').insertAdjacentHTML('beforebegin', '
    ')}; return true;}", + "url": "if (!fun.indexOF('/detail/') && !fun.indexOF('/subs/')) {if (fun.lp() == '/') {fun.getCSS('.box>.table').insertAdjacentHTML('beforebegin','
    ')}; return true;}", "pager": { "nextL": "a.next", - "pageE": ".item, .box>.table>tbody>tr", + "pageE": ".item,.box>.table>tbody>tr", "replaceE": ".pagination" }, "function": { @@ -2826,7 +2826,7 @@ "漫本": { "host": "www.manben.com", "url": "if (fun.indexOF(/^\\/m\\d+/)) {if (fun.getCookie('showtype') != '2') {document.cookie='showtype=2; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/';location.reload();}else{return true;}}", - "style": ".main{height: auto !important;overflow-y: hidden !important;} #comicContain img {min-height: 300px;} .comic-contain li{margin: 0 !important;} img.imgFloat_1, img.imgFloat_2, span.comic-ft {display: none !important;}", + "style": ".main{height: auto !important;overflow-y: hidden !important;} #comicContain img {min-height: 300px;} .comic-contain li{margin: 0 !important;} img.imgFloat_1,img.imgFloat_2,span.comic-ft {display: none !important;}", "history": true, "pager": { "nextL": "#mainControlNext", @@ -2837,18 +2837,18 @@ "interval": 5000 }, "function": { - "aF": "let _img=''; for (let i=0;i`;}; document.getElementById('comicContain').insertAdjacentHTML('beforeend', _img);" + "aF": "let _img=''; for (let i=0;i`;}; document.getElementById('comicContain').insertAdjacentHTML('beforeend',_img);" } }, "好漫 6": { "host": "www.haoman6.com", "url": "/\\/chapter\\//", - "style": ".rd-guess, .rd-aside, .page-index__btn {display: none !important;} .rd-article__pic {display: initial !important;} .rd-article__pic>img {margin: 0 auto;display: block;height: auto;min-height: 200px;}", + "style": ".rd-guess,.rd-aside,.page-index__btn {display: none !important;} .rd-article__pic {display: initial !important;} .rd-article__pic>img {margin: 0 auto;display: block;height: auto;min-height: 200px;}", "history": true, "pager": { "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", + "replaceE": "a.last-crumb,.rd-aside", "interval": 2000 }, "function": { @@ -2869,8 +2869,8 @@ }, "好漫 8": { "host": "www.haoman8.com", - "url": "if (fun.indexOF(/^\\/comic\\/\\d+\\/\\d+$/)){if (fun.getCookie('pmode') != '2') {document.cookie='pmode=2; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/';location.reload();}else{fun.src_bF(fun.getAllCSS('img[data-echo]'), [0,'img[data-echo]','data-echo']); return true;}}", - "style": "#readerContainer {position: initial !important;overflow: hidden !important;} #js_pageInfoText, #js_pageProgress, #js_ftAutoBtn {display: none !important;}", + "url": "if (fun.indexOF(/^\\/comic\\/\\d+\\/\\d+$/)){if (fun.getCookie('pmode') != '2') {document.cookie='pmode=2; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/';location.reload();}else{fun.src_bF(fun.getAllCSS('img[data-echo]'),[0,'img[data-echo]','data-echo']); return true;}}", + "style": "#readerContainer {position: initial !important;overflow: hidden !important;} #js_pageInfoText,#js_pageProgress,#js_ftAutoBtn {display: none !important;}", "pager": { "nextL": "js;return (location.origin + fun.getCSS('#js_pageNextBtn').getAttribute('_href'))", "pageE": ".acgn-reader-chapter__item[id]", @@ -2878,7 +2878,7 @@ "interval": 4000 }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-echo]','data-echo'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-echo]','data-echo'])" } }, "好漫 8 - 分类/搜索页": { @@ -2898,14 +2898,14 @@ "pager": { "nextL": "js; let next=fun.getXpath(\"//a[@class='pages'][contains(text(),'下一頁')][not(starts-with(@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:first-child, body > table > tbody > tr:nth-child(4)", + "replaceE": "body > table > tbody > tr:first-child,body > table > tbody > tr:nth-child(4)", "interval": 0 } }, "动漫啦": { "host": "www.dongman.la", - "url": "if (fun.indexOF('/chapter/')) {fun.src_bF(fun.getAllCSS('img.mdui-img-fluid[data-srcset]:not([src])'), [0,'img[data-srcset]','data-srcset']); return true}", - "style": "button.prePic, button.nextPic, footer, header, #left-drawer {display: none !important;} body, #app {padding: 0 !important;} .slick-track {width: 100% !important;} .lazyBox {width: 100%; display: inline-block;}", + "url": "if (fun.indexOF('/chapter/')) {fun.src_bF(fun.getAllCSS('img.mdui-img-fluid[data-srcset]:not([src])'),[0,'img[data-srcset]','data-srcset']); return true}", + "style": "button.prePic,button.nextPic,footer,header,#left-drawer {display: none !important;} body,#app {padding: 0 !important;} .slick-track {width: 100% !important;} .lazyBox {width: 100%; display: inline-block;}", "history": true, "pager": { "nextL": "//footer//a[./label[text()='下一章']]", @@ -2916,7 +2916,7 @@ "scrollD": 3000 }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-srcset]','data-srcset'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-srcset]','data-srcset'])" } }, "动漫啦 - 分类页": { @@ -2969,21 +2969,21 @@ "nextL": "js; let next = fun.getXpath(\"//ul[@class='view-bottom-bar']//a[text()='下一章' and not(contains(@href,'-end'))]\"); if (next && next.href) {return (location.origin + next.href.split(\"'\")[1]);}", "pageE": "//body/script[starts-with(text(),'eval(')]", "insertP": ["body",3], - "replaceE": ".view-bottom-bar, .winnextchapter, .view-fix-bottom-bar", + "replaceE": ".view-bottom-bar,.winnextchapter,.view-fix-bottom-bar", "scriptT": 2, "interval": 4000 }, "function": { - "aF": "let _img=''; for (let i=0;i`;}; document.getElementById('cp_img').insertAdjacentHTML('beforeend', _img);" + "aF": "let _img=''; for (let i=0;i`;}; document.getElementById('cp_img').insertAdjacentHTML('beforeend',_img);" } }, "漫画柜": { "host": ["www.mhgui.com","tw.mhgui.com","www.manhuagui.com","tw.manhuagui.com"], - "url": "if (fun.indexOF(/\\/comic\\/\\d+\\/\\d+\\.html/)) {if (localStorage.getItem('pageFunc') != '0') {localStorage.setItem('pageFunc', '0'); location.reload();}; setTimeout(()=>{SMH.imgData = function(n) {imgDate = n;return}; fun.insScript('body > script:not([src])'); let _img = '', imgPath = `${location.protocol}//i.hamreus.com${imgDate.path}`; for (let i = 0; i < imgDate.files.length; i++) {_img += ``;}; document.getElementById('mangaBox').innerHTML = _img;},500); return true;}", - "style": ".sub-btn, .tc {display: none !important;} #mangaBox > img {min-height: 300px; width: auto !important;height: auto !important;display: block !important;margin: 0 auto !important;max-width: 99% !important;}", + "url": "if (fun.indexOF(/\\/comic\\/\\d+\\/\\d+\\.html/)) {if (localStorage.getItem('pageFunc') != '0') {localStorage.setItem('pageFunc','0'); location.reload();}; setTimeout(()=>{SMH.imgData = function(n) {imgDate = n;return}; fun.insScript('body > script:not([src])'); let _img = '',imgPath = `${location.protocol}//i.hamreus.com${imgDate.path}`; for (let i = 0; i < imgDate.files.length; i++) {_img += ``;}; document.getElementById('mangaBox').innerHTML = _img;},500); return true;}", + "style": ".sub-btn,.tc {display: none !important;} #mangaBox > img {min-height: 300px; width: auto !important;height: auto !important;display: block !important;margin: 0 auto !important;max-width: 99% !important;}", "history": true, "pager": { - "nextL": "js; let url = location.origin + location.pathname.replace(imgDate.cid.toString(), imgDate.nextId.toString()); if (imgDate.nextId && url != location.href) return url", + "nextL": "js; let url = location.origin + location.pathname.replace(imgDate.cid.toString(),imgDate.nextId.toString()); if (imgDate.nextId && url != location.href) return url", "pageE": "body>script:not([src])", "insertP": ["body",3], "scriptT": 2, @@ -2991,7 +2991,7 @@ "scrollD": 2500 }, "function": { - "aF": "let _img = '', imgPath = `${location.protocol}//i.hamreus.com${imgDate.path}`; for (let i = 0; i < imgDate.files.length; i++) {_img += ``;}; document.getElementById('mangaBox').insertAdjacentHTML('beforeend', _img);" + "aF": "let _img = '',imgPath = `${location.protocol}//i.hamreus.com${imgDate.path}`; for (let i = 0; i < imgDate.files.length; i++) {_img += ``;}; document.getElementById('mangaBox').insertAdjacentHTML('beforeend',_img);" } }, "漫画柜 - 分类页": { @@ -3000,7 +3000,7 @@ "blank": 3, "pager": { "nextL": ".current+a", - "pageE": ".book-list>ul, .book-result>ul", + "pageE": ".book-list>ul,.book-result>ul", "replaceE": ".pager" }, "function": { @@ -3009,19 +3009,19 @@ }, "漫画DB": { "host": "www.manhuadb.com", - "url": "if (fun.indexOF(/^\\/manhua\\/\\d+\\/.+\\.html/)) {if (fun.getCSS('img.img-fluid.show-pic')){fun.getCSS('img.img-fluid.show-pic').style.display = 'none';}; setTimeout(()=>{let _img = '', data = document.querySelector('.vg-r-data'), imgDate = JSON.parse(atob(img_data));for (let i = 0; i < imgDate.length; i++) {_img += ``;};document.querySelector('.pjax-container').insertAdjacentHTML('beforeend', _img);},500); return true;}", - "style": ".row.m-0.pt-3.ad_2_wrap, .row.m-0.ad_1_wrap, .pagination.justify-content-center, #left, #right {display: none !important;} .pjax-container>img {min-height: 300px;}", + "url": "if (fun.indexOF(/^\\/manhua\\/\\d+\\/.+\\.html/)) {if (fun.getCSS('img.img-fluid.show-pic')){fun.getCSS('img.img-fluid.show-pic').style.display = 'none';}; setTimeout(()=>{let _img = '',data = document.querySelector('.vg-r-data'),imgDate = JSON.parse(atob(img_data));for (let i = 0; i < imgDate.length; i++) {_img += ``;};document.querySelector('.pjax-container').insertAdjacentHTML('beforeend',_img);},500); return true;}", + "style": ".row.m-0.pt-3.ad_2_wrap,.row.m-0.ad_1_wrap,.pagination.justify-content-center,#left,#right {display: none !important;} .pjax-container>img {min-height: 300px;}", "history": true, "pager": { "nextL": "//ol[@class='links-of-books num_div']//a[@class='active ']/../following-sibling::li[1]/a", "pageE": "//body/script[starts-with(text(),'var img_data')]", "insertP": ["body",3], - "replaceE": ".vg-r-data, ol.links-of-books", + "replaceE": ".vg-r-data,ol.links-of-books", "scriptT": 2, "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)" + "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)" } }, "漫画DB - 分类页": { @@ -3029,7 +3029,7 @@ "url": "/\\/(list|update|search)/", "blank": 3, "pager": { - "nextL": "//div[contains(@class, 'pagination')]//a[contains(text(), '下一页') or contains(text(), '下页')]", + "nextL": "//div[contains(@class,'pagination')]//a[contains(text(),'下一页') or contains(text(),'下页')]", "pageE": ".comic-main-section", "replaceE": ".pagination" }, @@ -3039,8 +3039,8 @@ }, "快岸漫画": { "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;}", - "style": ".pagination.justify-content-center, #left, #right, p[id^='page_c_'] {display: none !important;} .content-wrapper>img {min-height: 300px;}", + "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;}", + "style": ".pagination.justify-content-center,#left,#right,p[id^='page_c_'] {display: none !important;} .content-wrapper>img {min-height: 300px;}", "history": true, "pager": { "nextL": "js; if (next_part != '' && next_part != location.pathname) return (location.origin + next_part)", @@ -3050,13 +3050,13 @@ "interval": 4000 }, "function": { - "aF": "let _img = '';for (let i = 0; i < imagesUrlArr.length; i++) {_img += ``;};fun.getCSS('.content-wrapper').insertAdjacentHTML('beforeend', _img);" + "aF": "let _img = '';for (let i = 0; i < imagesUrlArr.length; i++) {_img += ``;};fun.getCSS('.content-wrapper').insertAdjacentHTML('beforeend',_img);" } }, "动漫戏说": { "host": "comic.acgn.cc", "url": "if(fun.indexOF('/view-')){fun.getAllCSS('.pic[_src][id]').forEach(e => {e.outerHTML = `
    `;}); return true;}", - "style": ".img1 {cursor: initial !important;} .btn_wrap, #ss-toolbar {display: none !important;}", + "style": ".img1 {cursor: initial !important;} .btn_wrap,#ss-toolbar {display: none !important;}", "history": true, "pager": { "nextL": "#next_chapter", @@ -3103,20 +3103,20 @@ }, "漫画星球 / 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);}", - "style": ".imgFloat_1, .imgFloat_2, .main_control, span.comic-ft {display: none !important;} html, body, #mainView {height: auto !important;} body.view .main ul.comic-contain li{margin:0 auto !important;} .comic-contain .loaded{box-shadow: none !important;}", + "url": "if (fun.indexOF(/\\/\\d+\\.html/)) {return true;} else if (fun.indexOF(/\\/\\d+\\/$/)) {setTimeout(()=>{if (document.getElementById('zhankai')) document.getElementById('zhankai').click();},500);}", + "style": ".imgFloat_1,.imgFloat_2,.main_control,span.comic-ft {display: none !important;} html,body,#mainView {height: auto !important;} body.view .main ul.comic-contain li{margin:0 auto !important;} .comic-contain .loaded{box-shadow: none !important;}", "history": true, "pager": { "nextL": "#mainControlNext", "pageE": "//script[contains(text(),'eval')]", "insertP": ["body",3], - "replaceE": ".main_control, h1.chaptername_title, span.title-comicHeading", + "replaceE": ".main_control,h1.chaptername_title,span.title-comicHeading", "scriptT": 2, "interval": 4000, "scrollD": 3000 }, "function": { - "aF": "let _img = ''; for (let i=0;i
    `;}; document.getElementById('comicContain').insertAdjacentHTML('beforeend', _img);" + "aF": "let _img = ''; for (let i=0;i
    `;}; document.getElementById('comicContain').insertAdjacentHTML('beforeend',_img);" } }, "漫画星球 - 分类页": { @@ -3143,13 +3143,13 @@ "interval": 4000 }, "function": { - "aF": "let _img = ''; for (let i=0;i
    `;}; document.getElementById('mainView_img').insertAdjacentHTML('beforeend', _img);" + "aF": "let _img = ''; for (let i=0;i`;}; document.getElementById('mainView_img').insertAdjacentHTML('beforeend',_img);" } }, "风之动漫": { "host": ["www.fffdm.com","manhua.fffdm.com"], "url": "fun.isUrlC();return (location.pathname.split('/').length >= 4)", - "style": "#header, footer {display: none !important;} #mhpic {display: block !important;margin: 0 auto !important;}", + "style": "#header,footer {display: none !important;} #mhpic {display: block !important;margin: 0 auto !important;}", "history": true, "pager": { "type": 6, @@ -3162,12 +3162,12 @@ "包子漫画": { "host": ["www.czmanga.com","cn.czmanga.com","www.webmota.com","cn.webmota.com","cn.baozimh.com","www.twmanga.com","www.kukuc.co","cn.kukuc.co"], "url": "if (fun.indexOF('/chapter/')) {return true;} else if (fun.indexOF('/comic/')) {if (fun.getCSS('#button_show_all_chatper')) {fun.getCSS('#button_show_all_chatper').click();}}", - "style": "#footer, #header {display: none !important;} .header, .bottom-bar {opacity: 0.3;}", + "style": "#footer,#header {display: none !important;} .header,.bottom-bar {opacity: 0.3;}", "history": true, "pager": { "nextL": ".comic-chapter>.next_chapter>a", "pageE": ".comic-contain>div", - "replaceE": ".comic-chapter>.next_chapter, .bottom-bar, .header .title" + "replaceE": ".comic-chapter>.next_chapter,.bottom-bar,.header .title" } }, "包子漫画org": { @@ -3183,25 +3183,25 @@ "新新漫画": { "host": ["www.77mh.nl","www.77mh.xyz","www.77mh.me"], "url": "if (fun.indexOF(/\\/\\d+\\.html/)) {setTimeout(()=>{let _img = ''; for (let i = 0; i < arr.length; i++){_img += ``;}; document.getElementById('comicImg').innerHTML = _img;},500); return true;}", - "style": ".page_num, #bdtopbot {display: none !important;} #comicImg > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}", + "style": ".page_num,#bdtopbot {display: none !important;} #comicImg > img {display: block !important;margin: 0 auto !important; border: none !important; padding: 0 !important; max-width: 99% !important; height: auto !important;}", "pager": { "nextL": "js; if (nextLink_b != '' && nextLink_b != location.pathname) return (location.origin + nextLink_b)", - "pageE": "//script[not(@src)][contains(text(), 'eval(')]|//script[contains(@src,'ct.js')]", + "pageE": "//script[not(@src)][contains(text(),'eval(')]|//script[contains(@src,'ct.js')]", "insertP": ["body",3], "scriptT": 2, "interval": 4000, "scrollD": 5000 }, "function": { - "aF": "setTimeout(()=>{let _img = ''; msg = msg.split('|'); for (let i = 0; i < msg.length; i++){_img += ``;}; document.getElementById('comicImg').insertAdjacentHTML('beforeend', _img);},1000)" + "aF": "setTimeout(()=>{let _img = ''; msg = msg.split('|'); for (let i = 0; i < msg.length; i++){_img += ``;}; document.getElementById('comicImg').insertAdjacentHTML('beforeend',_img);},1000)" } }, "新新漫画 - 分类页": { "host": ["www.77mh.nl","so.77mh.nl","www.77mh.xyz","so.77mh.xyz","www.77mh.me","so.77mh.me"], - "url": "if (fun.indexOF('/colist_')) {setTimeout(()=>{if (document.getElementById('listmore1')) document.getElementById('listmore1').click();}, 500)}else{return true;}", + "url": "if (fun.indexOF('/colist_')) {setTimeout(()=>{if (document.getElementById('listmore1')) document.getElementById('listmore1').click();},500)}else{return true;}", "blank": 3, "pager": { - "nextL": "a.current+a, a.next", + "nextL": "a.current+a,a.next", "pageE": ".ar_list_co>ul", "replaceE": ".pages_s" } @@ -3215,7 +3215,7 @@ "replaceE": "#pagelink" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[_src]','_src'])" + "bF": "return fun.src_bF(pageE,[0,'img[_src]','_src'])" } }, "笔屋漫画": { @@ -3238,8 +3238,8 @@ "pager": { "type": 3, "nextL": "li.thisclass+li>a", - "pageE": ".article-content img, #newsArticle img, .listl>ul, ul.news_list_1", - "replaceE": ".pagination, .pages, .page" + "pageE": ".article-content img,#newsArticle img,.listl>ul,ul.news_list_1", + "replaceE": ".pagination,.pages,.page" } }, "古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台 / 古漫画 / 前未漫画 / 下拉式漫画 / 漫画1234 - 分类页": { @@ -3248,14 +3248,14 @@ "blank": 3, "pager": { "nextL": "li.next>a", - "pageE": "li.item-lg, .list-comic", + "pageE": "li.item-lg,.list-comic", "replaceE": "ul.pagination" } }, "古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台 / 古漫画 / 前未漫画 / 下拉式漫画 / 漫画1234": { "host": ["www.gufengmh.com","/^www\\.gufengmh\\d/","www.123gf.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.36man.cc","www.manmantai.com","www.xlsmh.com","www.gmh1234.com"], - "url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {if (/^www\\.(123gf|ykmh|izhegu|qianwee|manmantai)\\.com$/.test(location.hostname)|| location.hostname.indexOf('36man') != -1) {if (localStorage.getItem('chapterScroll') != '\"pagination\"') {localStorage.setItem('chapterScroll', '\"pagination\"'); location.reload();} else {setTimeout(()=>{let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|izhegu)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'||location.hostname=='www.gmh1234.com'){host+='/'}; if (location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http')){host=''}; for (let i=0;i`;}; document.getElementById('images').innerHTML = _img;}, 500); return true;}} else if (localStorage.getItem('chapterScroll') != '\"scroll\"') {localStorage.setItem('chapterScroll', '\"scroll\"'); location.reload();}else{return true}}", - "style": ".img_land_prev, .img_land_next, #sider-left, #sider-right, p.img_info, .tc, .chapter-view + .w996, .chapter-view>div[style]:not([id]):not([class]) {display: none !important;} #images{min-height: 6000px !important;} #images>img {display: inline-block !important;min-height: 400px;margin: 0 auto !important;border: none !important;padding: 0 !important;max-width: 99% !important;height: auto !important;}", + "url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {if (/^www\\.(123gf|ykmh|izhegu|qianwee|manmantai)\\.com$/.test(location.hostname)|| location.hostname.indexOf('36man') != -1) {if (localStorage.getItem('chapterScroll') != '\"pagination\"') {localStorage.setItem('chapterScroll','\"pagination\"'); location.reload();} else {setTimeout(()=>{let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|izhegu)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'||location.hostname=='www.gmh1234.com'){host+='/'}; if (location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http')){host=''}; for (let i=0;i`;}; document.getElementById('images').innerHTML = _img;},500); return true;}} else if (localStorage.getItem('chapterScroll') != '\"scroll\"') {localStorage.setItem('chapterScroll','\"scroll\"'); location.reload();}else{return true}}", + "style": ".img_land_prev,.img_land_next,#sider-left,#sider-right,p.img_info,.tc,.chapter-view + .w996,.chapter-view>div[style]:not([id]):not([class]) {display: none !important;} #images{min-height: 6000px !important;} #images>img {display: inline-block !important;min-height: 400px;margin: 0 auto !important;border: none !important;padding: 0 !important;max-width: 99% !important;height: auto !important;}", "history": true, "pager": { "nextL": "js; let url = comicUrl.replace('.html','/') + nextChapterData.id + '.html'; if (nextChapterData.id != null && url && url != '.html' && url != location.href) return url", @@ -3266,13 +3266,13 @@ "scrollD": 4000 }, "function": { - "aF": "let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|100fanwo|izhegu|xlsmh)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'||location.hostname=='www.gmh1234.com'){host+='/'}; if (location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http') ||location.hostname == 'www.xlsmh.com'){host=''}; for (let i=0;i`;}; document.getElementById('images').insertAdjacentHTML('beforeend', _img);" + "aF": "let _img = '',host = SinMH.getResHostDomain(); if (/^www\\.(ykmh|100fanwo|izhegu|xlsmh)\\.com$/.test(location.hostname)) {chapterPath=''}else if (location.hostname.indexOf('36man') == -1||location.hostname=='www.123gf.com'||location.hostname=='www.gmh1234.com'){host+='/'}; if (location.hostname == 'www.36man.cc' ||(location.hostname == 'www.manmantai.com' && chapterImages[0].slice(0,4) == 'http') ||location.hostname == 'www.xlsmh.com'){host=''}; for (let i=0;i`;}; document.getElementById('images').insertAdjacentHTML('beforeend',_img);" } }, "爱漫之家 / 733 动漫": { "host": ["www.52fuman.xyz","www.733.so"], "url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {let _img='',imgArr=qTcms_S_m_murl.split('$qingtiandy$'); for (let i=0;i`;}; fun.getCSS('#qTcms_Pic_middle td').innerHTML=_img; return true}", - "style": "#sider-left, #sider-right, .tc.w996 {display: none !important;} #images{min-height: 6000px !important;} #qTcms_Pic_middle img {display: inline-block !important;min-height: 400px;margin: 0 auto !important;border: none !important;padding: 0 !important;max-width: 99% !important;height: auto !important;}", + "style": "#sider-left,#sider-right,.tc.w996 {display: none !important;} #images{min-height: 6000px !important;} #qTcms_Pic_middle img {display: inline-block !important;min-height: 400px;margin: 0 auto !important;border: none !important;padding: 0 !important;max-width: 99% !important;height: auto !important;}", "history": true, "pager": { "nextL": "js; if (qTcms_Pic_nextArr.slice(0,10) != 'javascript') return location.origin + qTcms_Pic_nextArr", @@ -3283,7 +3283,7 @@ "scrollD": 4000 }, "function": { - "aF": "let _img='',imgArr=base64_decode(qTcms_S_m_murl_e).split('$qingtiandy$'); for (let i=0;i`;}; fun.getCSS('#qTcms_Pic_middle td').insertAdjacentHTML('beforeend', _img);" + "aF": "let _img='',imgArr=base64_decode(qTcms_S_m_murl_e).split('$qingtiandy$'); for (let i=0;i`;}; fun.getCSS('#qTcms_Pic_middle td').insertAdjacentHTML('beforeend',_img);" } }, "二次元动漫": { @@ -3305,7 +3305,7 @@ "pager": { "nextL": "//div[@class='fanye'][1]/a[@href][text()='下一页' or text()='下一话']", "pageE": ".comicpage", - "replaceE": ".fanye, h1.title", + "replaceE": ".fanye,h1.title", "interval": 1000 }, "function": { @@ -3324,13 +3324,13 @@ }, "COLAMANGA 漫画": { "host": "www.colamanga.com", - "url": "if (fun.indexOF('.html')){if (!(fun.getCookie('mh_readmode') === '' || fun.getCookie('mh_readmode') === '3')) {document.cookie='mh_readmode=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/'; location.reload();}; return true;} else if (fun.indexOF(/\\/\\d+\\/$/)) {setTimeout(()=>{if (document.querySelector('a.website-display-all')) document.querySelector('a.website-display-all').click();}, 500);}", - "style": ".mh_readend, .mh_footpager, .mh_readmode, .fed-foot-info", + "url": "if (fun.indexOF('.html')){if (!(fun.getCookie('mh_readmode') === '' || fun.getCookie('mh_readmode') === '3')) {document.cookie='mh_readmode=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/'; location.reload();}; return true;} else if (fun.indexOF(/\\/\\d+\\/$/)) {setTimeout(()=>{if (document.querySelector('a.website-display-all')) document.querySelector('a.website-display-all').click();},500);}", + "style": ".mh_readend,.mh_footpager,.mh_readmode,.fed-foot-info", "iframe": true, "history": true, "pager": { "type": 5, - "nextL": "//a[contains(@class, 'read_page_link') and contains(string(), '下一章')][not(contains(@href, 'javascript'))]", + "nextL": "//a[contains(@class,'read_page_link') and contains(string(),'下一章')][not(contains(@href,'javascript'))]", "interval": 4000, "scrollD": 500 } @@ -3340,12 +3340,12 @@ "url": "return (fun.lp() == '/show' || fun.lp() == '/search')", "blank": 4, "pager": { - "nextL": "js; return fun.getNextEP('.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\\d+/)", - "pageE": "ul.fed-list-info > li, dl.fed-deta-info", + "nextL": "js; return fun.getNextEP('.fed-page-info a.fed-btns-green+a[onclick]','page=',/page=\\d+/)", + "pageE": "ul.fed-list-info > li,dl.fed-deta-info", "replaceE": ".fed-page-info" }, "function": { - "bF": "return fun.src_bF(pageE, [1,'a[data-original]','data-original'])" + "bF": "return fun.src_bF(pageE,[1,'a[data-original]','data-original'])" } }, "flamescans 漫画": { @@ -3406,7 +3406,7 @@ "style": ".readbg.mt10", "history": true, "pager": { - "nextL": "//div[contains(@class, 'articlebtn')]/a[contains(text(), '下一页') or contains(text(), '下一章')]", + "nextL": "//div[contains(@class,'articlebtn')]/a[contains(text(),'下一页') or contains(text(),'下一章')]", "pageE": "#BookText", "insertP": ["#BookText",6], "replaceE": ".articlebtn" @@ -3417,15 +3417,15 @@ "url": "/^\\/(lists|all)\\//", "blank": 3, "pager": { - "nextL": "id('pager')//a[contains(text(), '下一页')]", - "pageE": "ul.search-list, .books-list", + "nextL": "id('pager')//a[contains(text(),'下一页')]", + "pageE": "ul.search-list,.books-list", "replaceE": "#pager" } }, "御书网 - 手机版": { "host": "m.yushubo.com", "url": "/^\\/read_/", - "style": ".member, iframe, [data-url], article[id^='article'], [style*='position:']", + "style": ".member,iframe,[data-url],article[id^='article'],[style*='position:']", "history": true, "pager": { "nextL": "//a[@class='btn-next'][text()='下一页' or text()='下一章']", @@ -3436,18 +3436,18 @@ }, "搜小说": { "host": "www.soxscc.org", - "url": "if (fun.indexOF(/\\/\\d{4,}.html/)) {fun.xs_bF(fun.getAllCSS('.content'), [/(
    )?( )+您可以在百度.+?最新章节!/, '']); return true}", - "style": ".content>p, img", + "url": "if (fun.indexOF(/\\/\\d{4,}.html/)) {fun.xs_bF(fun.getAllCSS('.content'),[/(
    )?( )+您可以在百度.+?最新章节!/,'']); return true}", + "style": ".content>p,img", "history": true, "pager": { - "nextL": "//font[contains(text(), '下一章')]/following-sibling::a[1]", + "nextL": "//font[contains(text(),'下一章')]/following-sibling::a[1]", "pageE": ".content", "insertP": [".content",6], "insertP6Br": true, "replaceE": ".pagego" }, "function": { - "bF": "return fun.xs_bF(pageE, [/(
    )?( )+您可以在百度.+?最新章节!/, ''])" + "bF": "return fun.xs_bF(pageE,[/(
    )?( )+您可以在百度.+?最新章节!/,''])" } }, "和图书": { @@ -3467,7 +3467,7 @@ "url": "/^\\/owllook_content/", "history": true, "pager": { - "nextL": "//div[@class='pre_next']/a[contains(text(), '下一')]", + "nextL": "//div[@class='pre_next']/a[contains(text(),'下一')]", "pageE": "#chaptercontent", "insertP": ["#chaptercontent",6], "replaceE": ".pre_next" @@ -3486,8 +3486,8 @@ }, "读书族小说网": { "host": "m.xiaoshuo77.net", - "url": "if (fun.indexOF('.html')) {fun.xs_bF(fun.getAllCSS('#novelcontent'), [/(
    )?( )+内容未完,下一页.*$|【本章阅读.*$/, '
    ']); return true}", - "style": "#novelcontent>p, img", + "url": "if (fun.indexOF('.html')) {fun.xs_bF(fun.getAllCSS('#novelcontent'),[/(
    )?( )+内容未完,下一页.*$|【本章阅读.*$/,'
    ']); return true}", + "style": "#novelcontent>p,img", "history": true, "pager": { "nextL": ".page_chapter a.p4", @@ -3496,7 +3496,7 @@ "replaceE": ".page_chapter" }, "function": { - "bF": "return fun.xs_bF(pageE, [/(
    )?( )+内容未完,下一页.*$|【本章阅读.*$/, '
    '])" + "bF": "return fun.xs_bF(pageE,[/(
    )?( )+内容未完,下一页.*$|【本章阅读.*$/,'
    '])" } }, "笔趣阁 - cnhxfilm.com": { @@ -3512,16 +3512,16 @@ }, "铅笔小说": { "host": ["www.23qb.com","www.23qb.net","m.x23qb.com"], - "url": "if (fun.indexOF(/\\/book\\/\\d+\\/.+\\.html/)) {fun.xs_bF(fun.getAllCSS('#mlfy_main_text>*'), [/(继续下一页).+|铅笔小说.+/, '']); return true}", + "url": "if (fun.indexOF(/\\/book\\/\\d+\\/.+\\.html/)) {fun.xs_bF(fun.getAllCSS('#mlfy_main_text>*'),[/(继续下一页).+|铅笔小说.+/,'']); return true}", "history": true, "pager": { "nextL": "js; if (ReadParams.url_next.slice(ReadParams.url_next.length-5) === '.html') return (location.origin + ReadParams.url_next)", - "pageE": "id('TextContent')/p | //script[contains(text(), 'ReadParams')]", + "pageE": "id('TextContent')/p | //script[contains(text(),'ReadParams')]", "replaceE": ".chepnav", "scriptT": 2 }, "function": { - "bF": "return fun.xs_bF(pageE, [/.*继续下一页.*|.*铅笔小说.*/, ''])" + "bF": "return fun.xs_bF(pageE,[/.*继续下一页.*|.*铅笔小说.*/,''])" } }, "铅笔小说 - 分类页": { @@ -3529,12 +3529,12 @@ "url": "return (fun.lp() != '/' && !fun.indexOF(/\\/book\\/\\d+\\//))", "blank": 3, "pager": { - "nextL": ".pages a.next, .pages>strong+a", + "nextL": ".pages a.next,.pages>strong+a", "pageE": "#sitebox>dl", "replaceE": ".pages" }, "function": { - "bF": "return fun.src_bF(pageE, [0, 'img[_src]', '_src'])" + "bF": "return fun.src_bF(pageE,[0,'img[_src]','_src'])" } }, "7017k小说网": { @@ -3551,14 +3551,14 @@ }, "柒六八文学小说网": { "host": ["www.778668.com","m.778668.com"], - "url": "if(fun.indexOF(/^\\/.+\\/\\d+_\\d+\\.html$/)){fun.xs_bF(fun.getAllCSS('.pt-read-text>p,#pt-pop>a>font>p'), [/(^微信小程序.+|本章未完,请点击.+页$)/, '']); return true}", + "url": "if(fun.indexOF(/^\\/.+\\/\\d+_\\d+\\.html$/)){fun.xs_bF(fun.getAllCSS('.pt-read-text>p,#pt-pop>a>font>p'),[/(^微信小程序.+|本章未完,请点击.+页$)/,'']); return true}", "retry": 3000, "pager": { "nextL": "a.pt-nextchapter[href$='.html'],.pt-nextchapter>a[href$='.html']", "pageE": ".pt-read-text>p,#pt-pop>a>font>p" }, "function": { - "bF": "return fun.xs_bF(pageE, [/(^微信小程序.+|本章未完,请点击.+页$)/, ''])" + "bF": "return fun.xs_bF(pageE,[/(^微信小程序.+|本章未完,请点击.+页$)/,''])" } }, "皇帝之家": { @@ -3566,7 +3566,7 @@ "url": "/chapter-\\d+\\.html/", "history": true, "pager": { - "nextL": "//div[contains(@class, 'tag-view-type')]//a[text()='下一章']", + "nextL": "//div[contains(@class,'tag-view-type')]//a[text()='下一章']", "pageE": ".tagCol>p", "insertP": [".tagCol>p",6], "replaceE": ".tag-view-type" @@ -3586,7 +3586,7 @@ "url": "if (fun.indexOF(/\\/book\\/\\d+\\/.+\\.html/)) {fun.insStyle('.reward-section {display: none !important;}');} else if (fun.indexOF('/cat/')) {return true;}", "history": true, "pager": { - "nextL": "//ul[@class='pagination']/li/a[contains(text(), '下一页')]", + "nextL": "//ul[@class='pagination']/li/a[contains(text(),'下一页')]", "pageE": ".rank-book-list>div", "replaceE": "ul.pagination" } @@ -3594,10 +3594,10 @@ "话本小说网": { "host": "www.ihuaben.com", "url": "return (fun.indexOF(/\\/\\d{4,}.html/))", - "style": ".discription>p>i, img, #container, #BDBannerBottom_PC, iframe, .navFooter {display: none !important;} .discription>p {font-size: 16px; min-height: 24px; padding-bottom: 24px;}", + "style": ".discription>p>i,img,#container,#BDBannerBottom_PC,iframe,.navFooter {display: none !important;} .discription>p {font-size: 16px; min-height: 24px; padding-bottom: 24px;}", "history": true, "pager": { - "nextL": "id('preAndNextBar')/a[contains(text(), '下一章')]", + "nextL": "id('preAndNextBar')/a[contains(text(),'下一章')]", "pageE": "#contentsource>p", "insertP": [".discription",3], "replaceE": "#preAndNextBar" @@ -3609,7 +3609,7 @@ "history": true, "pager": { "nextL": "//div[@class='mlfy_page']/a[contains(text(),'下一页') or contains(text(),'下一章')]", - "pageE": "#TextContent>*:not(div), head>style", + "pageE": "#TextContent>*:not(div),head>style", "replaceE": ".mlfy_page" }, "function": { @@ -3647,7 +3647,7 @@ "history": true, "pager": { "nextL": "js; if (ReadParams.url_next.slice(ReadParams.url_next.length-5) === '.html') return (location.origin + ReadParams.url_next)", - "pageE": "id('acontentz')/*[name()='p' or name()='img' or name()='br'] | //body/script[contains(text(), 'var ReadParams')] | //body/script[contains(@src, '/readtools.js')] | //head/style", + "pageE": "id('acontentz')/*[name()='p' or name()='img' or name()='br'] | //body/script[contains(text(),'var ReadParams')] | //body/script[contains(@src,'/readtools.js')] | //head/style", "scriptT": 2 }, "function": { @@ -3704,7 +3704,7 @@ "pager": { "nextL": "li.chapter.next a", "pageE": "#workskin>div", - "replaceE": "#main ul.navigation, #feedback>ul.actions" + "replaceE": "#main ul.navigation,#feedback>ul.actions" } }, "红袖招": { @@ -3753,7 +3753,7 @@ "url": "/^\\/.+/", "pager": { "nextL": "a.page-next", - "pageE": ".app-item-content, .article-item-content", + "pageE": ".app-item-content,.article-item-content", "replaceE": ".pagination-content" } }, @@ -3864,7 +3864,7 @@ "url": "return (fun.indexOF('/special'))", "pager": { "nextL": "#pageGroup>span+a", - "pageE": ".special>.item, .articleWrapper>div", + "pageE": ".special>.item,.articleWrapper>div", "replaceE": "#pageGroup", "forceHTTPS": true } @@ -3900,8 +3900,8 @@ "host": "www.423down.com", "pager": { "nextL": "//span[@class='current']/following-sibling::a[1] | //span[@class='page-numbers current']/preceding-sibling::a[1]", - "pageE": ".content>.excerpt, .commentlist>li", - "replaceE": ".paging, .pagenav" + "pageE": ".content>.excerpt,.commentlist>li", + "replaceE": ".paging,.pagenav" } }, "华军软件园": { @@ -3909,7 +3909,7 @@ "url": "/^\\/(sort\\/.+|search)/", "pager": { "nextL": ".g-pages a.z-cur+a", - "pageE": ".m-list, .m-list2", + "pageE": ".m-list,.m-list2", "replaceE": ".g-pages" } }, @@ -3935,7 +3935,7 @@ "pager": { "nextL": ".pagenavi a[title='下一页']", "pageE": "#postlist>div.entry", - "replaceE": ".pagenavi-button, .pagenavi" + "replaceE": ".pagenavi-button,.pagenavi" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -3960,7 +3960,7 @@ }, "老殁 | 殁漂遥 - 搜索页/分类页": { "host": "www.mpyit.com", - "url": "return (fun.indexOF('/category/') || fun.indexOF('?s=', 's'))", + "url": "return (fun.indexOF('/category/') || fun.indexOF('?s=','s'))", "pager": { "nextL": "a.page-numbers[title='下一页']", "pageE": "#content>div[class^='entry_box']", @@ -3969,9 +3969,9 @@ }, "腾龙工作室": { "host": "www.tenlonstudio.com", - "url": "return (fun.lp() !== '/' && !fun.indexOF('.html') && fun.getXpath('//div[@class=\"btn-pager\"]/a[contains(text(), \"❯\")]'))", + "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(), '❯')]", + "nextL": "//div[@class='btn-pager']/a[contains(text(),'❯')]", "pageE": "li.post-list-item", "replaceE": ".ajax-pager" } @@ -3981,14 +3981,14 @@ "url": "return (fun.lp() !== '/' && !fun.indexOF('.html'))", "history": true, "pager": { - "nextL": "js; return fun.getNextUPN(/(?<=\\/page\\/)\\d+/, /\\/page\\/\\d+/, '/page/', '', '2', fun.getCSS('.btn-group>button:last-of-type').textContent)", + "nextL": "js; return fun.getNextUPN(/(?<=\\/page\\/)\\d+/,/\\/page\\/\\d+/,'/page/','','2',fun.getCSS('.btn-group>button:last-of-type').textContent)", "pageE": "li.post-list-item" } }, "异星软件空间": { "host": "www.yxssp.com", "pager": { - "nextL": "//div[contains(@class, 'page-nav')]/a[last()]", + "nextL": "//div[contains(@class,'page-nav')]/a[last()]", "pageE": ".td-modules-container.td-module-number4>div", "replaceE": ".page-nav.td-pb-padding-side" } @@ -4011,7 +4011,7 @@ "replaceE": "#pagination" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-lazy-src]','data-lazy-src'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-lazy-src]','data-lazy-src'])" } }, "小鱼儿 yr 系统 - 搜索页": { @@ -4032,7 +4032,7 @@ "replaceE": ".jz_pagenation_wrap" }, "function": { - "bF": "return fun.src_bF(pageE, [1, 'a[data-original]', 'data-original'])" + "bF": "return fun.src_bF(pageE,[1,'a[data-original]','data-original'])" } }, "sordum": { @@ -4061,12 +4061,12 @@ "replaceE": ".page_nav" }, "function": { - "bF": "pageE.forEach(function (one) {let now = one.querySelector('.slideUp, .elementFade'); if (now) {now.className = now.className.replace('slideUp','slideUpRun').replace('elementFade','elementFadeRun');};}); return pageE" + "bF": "pageE.forEach(function (one) {let now = one.querySelector('.slideUp,.elementFade'); if (now) {now.className = now.className.replace('slideUp','slideUpRun').replace('elementFade','elementFadeRun');};}); return pageE" } }, "dlandroid": { "host": "dlandroid.com", - "url": "return (fun.indexOF('/cat/') || (fun.lp() === '/' && fun.indexOF('?s=', 's')))", + "url": "return (fun.indexOF('/cat/') || (fun.lp() === '/' && fun.indexOF('?s=','s')))", "pager": { "nextL": "a.next.page-numbers", "pageE": "div.post", @@ -4083,7 +4083,7 @@ "pager": { "type": 3, "nextL": "a.nextpostslink", - "pageE": "[role='main'] .listWidget>div:not([class]), #primary .listWidget>div:not([class])", + "pageE": "[role='main'] .listWidget>div:not([class]),#primary .listWidget>div:not([class])", "replaceE": ".pagination" } }, @@ -4098,7 +4098,7 @@ "windowslatest": { "host": "www.windowslatest.com", "pager": { - "nextL": "//div[contains(@class, 'page-nav')]/a[last()]", + "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" } @@ -4130,14 +4130,14 @@ "history": true, "pager": { "nextL": "//div[@class='paginator']//span/strong/../../following-sibling::td[1]//a", - "pageE": "#tablelibgen>tbody>tr, .paginator+script:not([src])", + "pageE": "#tablelibgen>tbody>tr,.paginator+script:not([src])", "replaceE": ".paginator", "scriptT": 2 } }, "ScienceDirect": { "host": "www.sciencedirect.com", - "url": "fun.isUrlC(); if (fun.lp() == '/search') {setTimeout(()=>{fun.insStyle('html, body {height: ' + (document.documentElement.scrollHeight || document.body.scrollHeight) + 'px;}')}, 2000); return true}", + "url": "fun.isUrlC(); if (fun.lp() == '/search') {setTimeout(()=>{fun.insStyle('html,body {height: ' + (document.documentElement.scrollHeight || document.body.scrollHeight) + 'px;}')},2000); return true}", "style": "footer", "blank": 3, "iframe": true, @@ -4153,7 +4153,7 @@ "history": true, "pager": { "nextL": "//div[@class='paginator ' or @class='paginator']//span/strong/../../following-sibling::td[1]//a", - "pageE": "//*[@id='searchResultBox'] | //script[contains(string(), 'pagerOptions')]", + "pageE": "//*[@id='searchResultBox'] | //script[contains(string(),'pagerOptions')]", "replaceE": ".paginator", "scriptT": 2 }, @@ -4184,9 +4184,9 @@ "url": "return (fun.indexOF('/search/q') || fun.indexOF('/paper/'))", "history": true, "pager": { - "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], + "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" } }, @@ -4226,7 +4226,7 @@ "url": "return (fun.indexOF('/f-') || fun.indexOF('search.php'))", "style": "tr.forum_head", "pager": { - "nextL": "//div[contains(@class, 'xmc_Pages')]//a[text()='下一页']", + "nextL": "//div[contains(@class,'xmc_Pages')]//a[text()='下一页']", "pageE": ".forum_body table>tbody", "replaceE": ".xmc_Pages" } @@ -4237,7 +4237,7 @@ "style": "tr.forum_head", "thread": true, "pager": { - "nextL": "//div[contains(@class, 'xmc_Pages')]//a[text()='下一页']", + "nextL": "//div[contains(@class,'xmc_Pages')]//a[text()='下一页']", "pageE": "#maincontent>table>tbody:not(.header)", "replaceE": ".xmc_Pages" } @@ -4246,7 +4246,7 @@ "host": "muchong.com", "url": "return (fun.lp() == '/bbs/kaoyan.php')", "pager": { - "nextL": "//div[contains(@class, 'xmc_Pages')]//a[text()='下一页']", + "nextL": "//div[contains(@class,'xmc_Pages')]//a[text()='下一页']", "pageE": ".forum_body_manage", "replaceE": ".xmc_Pages" } @@ -4294,10 +4294,10 @@ } }, "谷歌学术": { - "host": ["/^scholar\\.google\\./", "xs2.dailyheadlines.cc","xueshu.dailyheadlines.cc","sc.panda321.com","scholar.lanfanshu.cn","scholar.mirrors.pw"], + "host": ["/^scholar\\.google\\./","xs2.dailyheadlines.cc","xueshu.dailyheadlines.cc","sc.panda321.com","scholar.lanfanshu.cn","scholar.mirrors.pw"], "history": true, "pager": { - "nextL": "//a[./span[contains(@class, 'next')]]", + "nextL": "//a[./span[contains(@class,'next')]]", "pageE": "#gs_res_ccl_mid>*", "replaceE": "#gs_n", "scriptT": 1 @@ -4330,7 +4330,7 @@ "blank": 3, "pager": { "nextL": "a[rel='next']", - "pageE": "#questions>div, .js-search-results>div:first-child>div, #tags-browser>div, #user-browser>div:first-child>div", + "pageE": "#questions>div,.js-search-results>div:first-child>div,#tags-browser>div,#user-browser>div:first-child>div", "replaceE": ".pager" } }, @@ -4339,19 +4339,19 @@ "url": "fun.isUrlC(); return (fun.lp() == '/search' || fun.indexOF('/questions'))", "pager": { "nextL": "//a[@class='page-link'][text()='下一页']", - "pageE": "ul.list-group>li, li.list-group-item", + "pageE": "ul.list-group>li,li.list-group-item", "replaceE": "ul.pagination" } }, "w3cschool.cn": { "host": "www.w3cschool.cn", "url": "return (location.pathname.split('/').length>2)", - "style": ".widget-body, #rfbanner", + "style": ".widget-body,#rfbanner", "history": true, "pager": { "nextL": ".next-link>a", - "pageE": "#pro-mian-header, .content-bg", - "replaceE": ".content-links, .splitter-sidebar" + "pageE": "#pro-mian-header,.content-bg", + "replaceE": ".content-links,.splitter-sidebar" } }, "w3school.com.cn": { @@ -4363,9 +4363,9 @@ "type": 3, "nextL": "js; let next = fun.getCSS('li.next>a[href]'); if (next && next.href.indexOf('/index.') === -1) return next.href", "pageE": "#maincontent>*:not([class*='prenextnav']):not(#bpn):not(#tpn)", - "insertP": ["id('bpn') | //div[contains(@class, 'prenextnav')][last()]",1], - "replaceE": "ul.prenext, #navsecond", - "scrollE": "id('bpn') | //div[contains(@class, 'prenextnav')][last()]", + "insertP": ["id('bpn') | //div[contains(@class,'prenextnav')][last()]",1], + "replaceE": "ul.prenext,#navsecond", + "scrollE": "id('bpn') | //div[contains(@class,'prenextnav')][last()]", "forceHTTPS": true, "scrollD": 800 } @@ -4386,7 +4386,7 @@ "history": true, "pager": { "nextL": "//ul[@class='membership']/li[not(a)]/following-sibling::li[1]/a", - "pageE": ".article-heading, .article-body", + "pageE": ".article-heading,.article-body", "replaceE": ".right-column ul.membership", "forceHTTPS": true } @@ -4394,13 +4394,13 @@ "菜鸟教程": { "host": "www.runoob.com", "url": "return (location.pathname.split('/').length>2 && fun.getCSS('#leftcolumn'))", - "style": "#comments, #postcomments, #respond, #footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;} .middle-column {min-height: 1000px;}", + "style": "#comments,#postcomments,#respond,#footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;} .middle-column {min-height: 1000px;}", "history": true, "pager": { "type": 3, "nextL": "js; let next = fun.getCSS('#leftcolumn>a[style]~a[href]'); if (next && next.href.split('/').length === location.href.split('/').length && next.href.split('/')[3] === location.href.split('/')[3]) {return next.href;}; next.href = location.href; return ''", - "pageE": "#content>*, script[src*='assets/js/main.min.js']", - "replaceE": ".previous-next-links, #leftcolumn", + "pageE": "#content>*,script[src*='assets/js/main.min.js']", + "replaceE": ".previous-next-links,#leftcolumn", "scrollE": ".article>.sidebar-box", "scriptT": 2, "forceHTTPS": true, @@ -4411,17 +4411,17 @@ "host": "www.cnblogs.com", "url": "return fun.isPager('p')", "pager": { - "nextL": "//div[@class='pager']//a[contains(text(), '>')]", + "nextL": "//div[@class='pager']//a[contains(text(),'>')]", "pageE": "#post_list>article", "replaceE": ".pager" } }, "博客园 - 文章列表 - 个人": { "host": "www.cnblogs.com", - "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}", + "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(), '下一页')]", + "nextL": "//div[@class='topicListFooter']//a[contains(text(),'下一页')]", "pageE": "div.day", "replaceE": ".topicListFooter" } @@ -4429,7 +4429,7 @@ "博客园 - 搜索页": { "host": "zzk.cnblogs.com", "pager": { - "nextL": "//div[@class='pager']//a[contains(text(), '>')]", + "nextL": "//div[@class='pager']//a[contains(text(),'>')]", "pageE": "div.searchItem", "replaceE": ".pager" } @@ -4437,7 +4437,7 @@ "力扣": { "host": "leetcode-cn.com", "url": "return (fun.lp() == '/')", - "style": "html, body {height: 100%; overflow: unset !important;}", + "style": "html,body {height: 100%; overflow: unset !important;}", "pager": { "type": 2, "nextL": "button[class*='-LoadMoreButton']" @@ -4457,7 +4457,7 @@ "url": "return (fun.lp() == '/' || fun.indexOF(/^\\/(go|topics|articles|projects|resources)/))", "pager": { "nextL": "li.next>a", - "pageE": ".cell.item, .topic, .article, .resources", + "pageE": ".cell.item,.topic,.article,.resources", "replaceE": ".pagination" } }, @@ -4466,7 +4466,7 @@ "url": "fun.isUrlC(); return (fun.lp() == '/' || fun.lp() == '/jobs' || fun.lp() == '/search' || (fun.indexOF('/topics') && !fun.indexOF(/^\\/topics\\/\\d+/)))", "pager": { "nextL": "li.next>a", - "pageE": ".item-list, .result", + "pageE": ".item-list,.result", "replaceE": ".pagination" } }, @@ -4475,7 +4475,7 @@ "url": "/^\\/docs\\//", "style": "#TableOfContents", "pager": { - "nextL": ".bd-sidenav-active+li>a, .bd-toc-item.active+.bd-toc-item>a", + "nextL": ".bd-sidenav-active+li>a,.bd-toc-item.active+.bd-toc-item>a", "pageE": "main>*", "replaceE": ".bd-links" } @@ -4502,7 +4502,7 @@ "url": "return (fun.indexOF(/^\\/(nav|topic)/) || (fun.indexOF(/^\\/u_\\d+/) && !fun.indexOF(/^\\/u_\\d+\\/\\d+/)))", "pager": { "nextL": "li.next>a", - "pageE": ".date-list, #common-article-listbox-1, ul.search-artical", + "pageE": ".date-list,#common-article-listbox-1,ul.search-artical", "replaceE": ".pagination" } }, @@ -4514,7 +4514,7 @@ "pager": { "nextL": "//main//a[@class='navigation-tree__link' and @data-state='active']/following-sibling::a[@class='navigation-tree__link'][not(@target='_blank')] | //main//a[@class='navigation-tree__link' and @data-state='active']/following-sibling::div[@class='navigation-tree__nested']/a[@class='navigation-tree__link'][not(@target='_blank')] | //main//a[@class='navigation-tree__link' and @data-state='active']/../following-sibling::div[@class='navigation-tree__nested']/a[@class='navigation-tree__link'][not(@target='_blank')]", "pageE": "main article>*", - "replaceE": "main navigation-tree, main .scrollbar" + "replaceE": "main navigation-tree,main .scrollbar" } }, "pypi.org": { @@ -4531,7 +4531,7 @@ "url": "return (fun.indexOF('/explore/') || fun.indexOF(/\\/(issues|pulls|releases|tags)$/))", "pager": { "nextL": "a[rel='next']", - "pageE": ".items>.item, .issue-wrapper, .pull-request__wrapper, .release-tag-item, .tag-item", + "pageE": ".items>.item,.issue-wrapper,.pull-request__wrapper,.release-tag-item,.tag-item", "replaceE": ".pagination", "scrollD": 2500 } @@ -4558,7 +4558,7 @@ "url": "/(tab=(stars|repositories)|\\/network\\/dependents|^\\/notifications\\/subscriptions(\\?|$))/", "pager": { "nextL": ".paginate-container>div>:last-child", - "pageE": "#user-starred-repos div[class^='col-']:first-of-type>div:not(.position-relative):not(.paginate-container), #user-repositories-list>ul>li, .Box>[data-test-id='dg-repo-pkg-dependent'], #threads-unsubscribe-form>ul>li", + "pageE": "#user-starred-repos div[class^='col-']:first-of-type>div:not(.position-relative):not(.paginate-container),#user-repositories-list>ul>li,.Box>[data-test-id='dg-repo-pkg-dependent'],#threads-unsubscribe-form>ul>li", "replaceE": ".paginate-container", "scrollD": 2500 } @@ -4568,7 +4568,7 @@ "url": "return (fun.indexOF(/\\/(issues|pulls|discussions|releases)$/) || fun.indexOF('/discussions/categories') || fun.indexOF(/\\/actions($|\\/workflows)/) || fun.indexOF(/^\\/orgs\\/.+\\/repositories/))", "pager": { "nextL": "a.next_page", - "pageE": "div[id^='issue_'], ul[aria-labelledby='discussions-list']>li, #release_page_title+div[data-pjax]>section, div[id^='check_suite_'], #org-repositories li.Box-row", + "pageE": "div[id^='issue_'],ul[aria-labelledby='discussions-list']>li,#release_page_title+div[data-pjax]>section,div[id^='check_suite_'],#org-repositories li.Box-row", "replaceE": ".pagination", "scrollD": 2500 } @@ -4589,7 +4589,7 @@ "pager": { "nextL": "nav.paginate-container>a[aria-label='Next']", "pageE": "li.notifications-list-item", - "replaceE": "nav.paginate-container, .js-notifications-list-paginator-counts", + "replaceE": "nav.paginate-container,.js-notifications-list-paginator-counts", "scrollD": 2500 } }, @@ -4597,9 +4597,9 @@ "host": "github.com", "url": "/\\/search\\?/", "pager": { - "nextL": "js; if (fun.getCSS('a[aria-current=page]')) {return fun.getNextEP('a[aria-current=page]+a', 'p=', /p=\\d+/)} else {return fun.getCSS('a.next_page').href}", - "pageE": "[data-testid=results-list]>div, .repo-list>li, .code-list-item, #commit_search_results>div, .issue-list-item, .discussion-list-item, #package_search_results>div, #marketplace_search_results>div:first-child>div, .topic-list-item, #wiki_search_results>div:first-child>div, #user_search_results>div:first-child>div", - "replaceE": "nav[class^='Pagination__PaginationContainer'], .pagination" + "nextL": "js; if (fun.getCSS('a[aria-current=page]')) {return fun.getNextEP('a[aria-current=page]+a','p=',/p=\\d+/)} else {return fun.getCSS('a.next_page').href}", + "pageE": "[data-testid=results-list]>div,.repo-list>li,.code-list-item,#commit_search_results>div,.issue-list-item,.discussion-list-item,#package_search_results>div,#marketplace_search_results>div:first-child>div,.topic-list-item,#wiki_search_results>div:first-child>div,#user_search_results>div:first-child>div", + "replaceE": "nav[class^='Pagination__PaginationContainer'],.pagination" } }, "Github - Gist - Search/discover": { @@ -4614,7 +4614,7 @@ }, "OI-Wiki": { "host": "oi-wiki.org", - "style": "blockquote.page-copyright, h2#__comments, form#gitalk-form", + "style": "blockquote.page-copyright,h2#__comments,form#gitalk-form", "history": true, "pager": { "nextL": "li.md-nav__item.md-nav__item--active.md-nav__item--nested li.md-nav__item--active+li a", @@ -4630,8 +4630,8 @@ "history": true, "pager": { "nextL": "a.hvr-bounce-to-left", - "pageE": "#main>.mt-4 >div>.mb-4, #article_body", - "replaceE": ".col-12.font-title, #sidebar" + "pageE": "#main>.mt-4 >div>.mb-4,#article_body", + "replaceE": ".col-12.font-title,#sidebar" } }, "果壳网": { @@ -4648,7 +4648,7 @@ "style": ".pagination", "history": true, "pager": { - "nextL": "js; return fun.getNextUPN(/(?<=\\/page\\/)\\d+/, /\\/page\\/\\d+/, '/page/', '', '2', fun.getCSS('.pagination>button.end').textContent)", + "nextL": "js; return fun.getNextUPN(/(?<=\\/page\\/)\\d+/,/\\/page\\/\\d+/,'/page/','','2',fun.getCSS('.pagination>button.end').textContent)", "pageE": ".content li.color-border" } }, @@ -4709,7 +4709,7 @@ "url": "/\\/list_/", "history": true, "pager": { - "nextL": "js; return fun.getNextUPN(/(?<=\\/list_)\\d+(?=\\.shtml)/, /\\/list_.+/, '/list_', '.shtml', '2', fun.getXpath('id(\"Pagination\")/*[contains(@class,\"next\")]/preceding-sibling::*[1]').textContent)", + "nextL": "js; return fun.getNextUPN(/(?<=\\/list_)\\d+(?=\\.shtml)/,/\\/list_.+/,'/list_','.shtml','2',fun.getXpath('id(\"Pagination\")/*[contains(@class,\"next\")]/preceding-sibling::*[1]').textContent)", "pageE": ".column-list>li" } }, @@ -4719,7 +4719,7 @@ "pager": { "nextL": "//li[@class='next-page']/a | //div[@class='btn-pager']/a[text()='❯']", "pageE": "#post-list>ul>li", - "replaceE": ".pagination, .b2-pagenav.post-nav" + "replaceE": ".pagination,.b2-pagenav.post-nav" } }, "致美化 - 分类页": { @@ -4760,7 +4760,7 @@ "style": ".pager-wrap", "history": true, "pager": { - "nextL": "js; return fun.getNextUP('page=', /page=\\d+/)", + "nextL": "js; return fun.getNextUP('page=',/page=\\d+/)", "pageE": "#res_list>div" } }, @@ -4770,7 +4770,7 @@ "blank": 3, "pager": { "nextL": "a.btn:not([href])+a.btn.btn-line", - "pageE": ".search-item, .forum-topic-item", + "pageE": ".search-item,.forum-topic-item", "replaceE": ".page-num-box" } }, @@ -4786,7 +4786,7 @@ }, "wikihow - 搜索页": { "host": ["www.wikihow.com","zh.wikihow.com"], - "url": "return (fun.indexOF('/wikiHowTo') && fun.indexOF('?search=', 's'))", + "url": "return (fun.indexOF('/wikiHowTo') && fun.indexOF('?search=','s'))", "pager": { "nextL": "#searchresults_footer>a.buttonright", "pageE": "#searchresults_list>a", @@ -4816,7 +4816,7 @@ "blank": 3, "pager": { "nextL": "a.next_page", - "pageE": "ol#browse-script-list>li, .script-discussion-list, .discussion-list>div", + "pageE": "ol#browse-script-list>li,.script-discussion-list,.discussion-list>div", "replaceE": ".pagination" } }, @@ -4826,7 +4826,7 @@ "blank": 3, "pager": { "nextL": "li.active+li>a", - "pageE": ".panel>table>tbody>tr.tr-link, .panel>.table-responsive>table>tbody>tr.tr-link, [id^='comment-']", + "pageE": ".panel>table>tbody>tr.tr-link,.panel>.table-responsive>table>tbody>tr.tr-link,[id^='comment-']", "replaceE": ".pagination" } }, @@ -4856,7 +4856,7 @@ "blank": 3, "pager": { "nextL": "//a[@class='page-link' and text()='下一页']", - "pageE": "table.table >tbody>tr:not(:first-child), .result-item, .question-item, script[src^='/js/site.js']", + "pageE": "table.table >tbody>tr:not(:first-child),.result-item,.question-item,script[src^='/js/site.js']", "replaceE": "ul.pagination", "scriptT": 2 } @@ -4904,7 +4904,7 @@ "host": ["www.smzdm.com","search.smzdm.com"], "url": "return (location.hostname === 'search.smzdm.com' || fun.indexOF('/fenlei/') || fun.indexOF(/\\/mall\\/.+\\/.+/))", "pager": { - "nextL": "//ul[@class='pagenation-list']//a[contains(text() ,'下一页')] | //ul[@class='pagenation-list']/li[contains(@class, 'next-page')]/a", + "nextL": "//ul[@class='pagenation-list']//a[contains(text() ,'下一页')] | //ul[@class='pagenation-list']/li[contains(@class,'next-page')]/a", "pageE": "#feed-main-list>li", "replaceE": "ul.pagenation-list" } @@ -4933,7 +4933,7 @@ "blank": 3, "pager": { "type": 6, - "nextL": "js; return fun.getNextEP('li.ant-pagination-item-active+li.ant-pagination-item>a', 'page=', /page=\\d+/)", + "nextL": "js; return fun.getNextEP('li.ant-pagination-item-active+li.ant-pagination-item>a','page=',/page=\\d+/)", "pageE": ".pull-right .p-list>.item", "replaceE": ".ant-pagination", "loadTime": 500, @@ -4955,8 +4955,8 @@ "host": "search.kongfz.com", "url": "/^\\/item_result\\//", "pager": { - "nextL": "js;return fun.getNextEP('.item-page.active+a.item-page', 'pagenum=', /pagenum=\\d+/)", - "pageE": "#listBox>div, script[src*=Isbn_item-result_item-result_page]", + "nextL": "js;return fun.getNextEP('.item-page.active+a.item-page','pagenum=',/pagenum=\\d+/)", + "pageE": "#listBox>div,script[src*=Isbn_item-result_item-result_page]", "replaceE": ".pager", "scriptT": 2 } @@ -4966,7 +4966,7 @@ "url": "return (fun.lp() == '/' || fun.lp() == '/page')", "history": true, "pager": { - "nextL": "js; return fun.getNextUP('currentPage=', /currentPage=\\d+/, '/page', '2', fun.getCSS('ul.pager').dataset.totalpage)", + "nextL": "js; return fun.getNextUP('currentPage=',/currentPage=\\d+/,'/page','2',fun.getCSS('ul.pager').dataset.totalpage)", "pageE": ".document-piece", "replaceE": "ul.pager" } @@ -4976,7 +4976,7 @@ "url": "return (fun.lp() == '/s/search')", "history": true, "pager": { - "nextL": "js; return fun.getNextEP('a.cut-page-item.active+a.cut-page-item', 'currentPage=', /currentPage=\\d+/)", + "nextL": "js; return fun.getNextEP('a.cut-page-item.active+a.cut-page-item','currentPage=',/currentPage=\\d+/)", "pageE": ".document-piece", "replaceE": ".cut-page" } @@ -4996,7 +4996,7 @@ "style": "li.nextpage {display: none !important;} .alist>ul {height: auto !important;} .alist>ul>li {position: static !important; float: left !important; height: 550px !important;}", "pager": { "nextL": "//div[@class='page']/a[contains(text(),'下一页')]", - "pageE": ".slist>ul>li:not(.nextpage), .alist>ul>li", + "pageE": ".slist>ul>li:not(.nextpage),.alist>ul>li", "replaceE": ".page" } }, @@ -5034,7 +5034,7 @@ "blank": 3, "pager": { "nextL": ".active+a", - "pageE": ".posts_block, .image_body, table.all_tags, table.scores, table#comments", + "pageE": ".posts_block,.image_body,table.all_tags,table.scores,table#comments", "replaceE": ".numeric_pages" } }, @@ -5044,12 +5044,12 @@ "style": ".lazy-img {opacity: 1 !important;}", "pager": { "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], + "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" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[_src]','_src'])" + "bF": "return fun.src_bF(pageE,[0,'img[_src]','_src'])" } }, "UrleBird": { @@ -5057,7 +5057,7 @@ "url": "/^\\/(trending|user|hash|song)\\//", "pager": { "type": 2, - "nextL": "#btn_more_videos:not([disabled]), #load_more:not([disabled]), #hash_load_more:not([disabled]), #song_load_more:not([disabled])" + "nextL": "#btn_more_videos:not([disabled]),#load_more:not([disabled]),#hash_load_more:not([disabled]),#song_load_more:not([disabled])" } }, "UrleBird - videos": { @@ -5146,7 +5146,7 @@ "host": ["www.gushiwen.cn","so.gushiwen.cn","m.gushiwen.cn","shiwens.com"], "pager": { "nextL": "a.amore", - "pageE": ".left .sons:not([id]), .sonspic", + "pageE": ".left .sons:not([id]),.sonspic", "replaceE": ".pagesright" } }, @@ -5185,7 +5185,7 @@ "url": "/^\\/(xuexiao|data|shijuan)\\/($|\\?|p)/", "pager": { "nextL": ".fy>strong+a", - "pageE": ".xxlb>.sk, .m1_z>.lbk, .m1_z>.m2_lb", + "pageE": ".xxlb>.sk,.m1_z>.lbk,.m1_z>.m2_lb", "replaceE": ".fy" } }, @@ -5193,9 +5193,9 @@ "host": "tech.meituan.com", "url": "/^\\/($|page|tags)/", "pager": { - "nextL": "a[aria-label='Next'], a.home-browser-more-btn", + "nextL": "a[aria-label='Next'],a.home-browser-more-btn", "pageE": ".post-container-wrapper", - "replaceE": ".pagination, .home-more-container" + "replaceE": ".pagination,.home-more-container" } }, "CocoaControls": { @@ -5233,7 +5233,7 @@ "replaceE": ".pagination" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-url]','data-url'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-url]','data-url'])" } }, "Xvideos": { @@ -5241,7 +5241,7 @@ "url": "return fun.isPager('p,r')", "blank": 3, "pager": { - "nextL": "a.next-page, a.next", + "nextL": "a.next-page,a.next", "pageE": ".mozaique>*", "replaceE": ".pagination" }, @@ -5253,11 +5253,11 @@ "PornHub": { "host": "/\\.pornhub\\.com$/", "url": "/^\\/video/", - "style": ".footerContentWrapper, .pre-footer", + "style": ".footerContentWrapper,.pre-footer", "blank": 3, "pager": { "nextL": "li.page_next>a", - "pageE": "#videoSearchResult>li.pcVideoListItem, #videoCategory>li.pcVideoListItem", + "pageE": "#videoSearchResult>li.pcVideoListItem,#videoCategory>li.pcVideoListItem", "replaceE": ".pagination3" }, "function": { @@ -5283,7 +5283,7 @@ "blank": 3, "pager": { "nextL": "#wp_navNext", - "pageE": ".videoblock_list:not([id*='_vid_']):not([id*='_premium_']), .content_limit>ul>li.channel-box", + "pageE": ".videoblock_list:not([id*='_vid_']):not([id*='_premium_']),.content_limit>ul>li.channel-box", "replaceE": "#w_pagination" }, "function": { @@ -5297,11 +5297,11 @@ "blank": 3, "pager": { "nextL": "#pagination_next", - "pageE": "#category_video_list .video_box, #result_container>.video_box, .sectionWrapper .video_box", + "pageE": "#category_video_list .video_box,#result_container>.video_box,.sectionWrapper .video_box", "replaceE": "#pagination" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-thumb]','data-thumb'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-thumb]','data-thumb'])" } }, "Thumbzilla": { @@ -5339,11 +5339,11 @@ "EPORNER": { "host": "www.eporner.com", "url": "return (!fun.indexOF('/video-'))", - "style": "#mainBlogPosts, .footer-text, footer", + "style": "#mainBlogPosts,.footer-text,footer", "blank": 3, "pager": { "nextL": ".nmnext", - "pageE": "#vidresults>[id], script[src*='/ajax']", + "pageE": "#vidresults>[id],script[src*='/ajax']", "replaceE": ".numlist2", "scriptT": 2 }, @@ -5358,7 +5358,7 @@ "pager": { "nextL": ".pagination-next", "pageE": ".video-thumb", - "replaceE": ".pagination, .mobilePager" + "replaceE": ".pagination,.mobilePager" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -5404,7 +5404,7 @@ "url": "/^\\/thread/", "pager": { "nextL": "//div[@class='pages']/a[text()='下一頁']", - "pageE": "#tbody>tr, .list.t_one, .list.t_one+.line", + "pageE": "#tbody>tr,.list.t_one,.list.t_one+.line", "replaceE": ".pages" } }, @@ -5415,7 +5415,7 @@ "thread": true, "pager": { "nextL": "//div[@class='pages']/a[text()='下一頁']", - "pageE": "#main>.t.t2, #main>a[name],#main>form>.t.t2, #main>form>a[name], #main>div[style*='overflow:hidden'], #main>.line", + "pageE": "#main>.t.t2,#main>a[name],#main>form>.t.t2,#main>form>a[name],#main>div[style*='overflow:hidden'],#main>.line", "replaceE": ".pages" } }, @@ -5444,9 +5444,9 @@ "url": "return (!fun.indexOF(/^\\/archives\\/\\d/))", "blank": 3, "pager": { - "nextL": "li.active_page+li>a, .navigation>.floatleft>a", - "pageE": "#index-news>.posts-default, #archive-posts>.posts-default", - "replaceE": "#wp_page_numbers, .navigation" + "nextL": "li.active_page+li>a,.navigation>.floatleft>a", + "pageE": "#index-news>.posts-default,#archive-posts>.posts-default", + "replaceE": "#wp_page_numbers,.navigation" } }, "H 次元": { @@ -5479,7 +5479,7 @@ "blank": 3, "pager": { "nextL": "a.pagination-next", - "pageE": ".movie-list, #videos, #makers, #series, #actors>div", + "pageE": ".movie-list,#videos,#makers,#series,#actors>div", "replaceE": ".pagination" } }, @@ -5489,7 +5489,7 @@ "style": "#waterfall>.item {position: static !important; float: left !important; height: 400px !important;}", "blank": 3, "pager": { - "nextL": "#next, .pagination>.active+li>a", + "nextL": "#next,.pagination>.active+li>a", "pageE": "#waterfall>.item", "replaceE": ".pagination" } @@ -5500,7 +5500,7 @@ "blank": 3, "pager": { "nextL": ".pagination>li.active+li>a", - "pageE": "ul.videos, ul.playlists, div.models", + "pageE": "ul.videos,ul.playlists,div.models", "replaceE": ".pagination" } }, @@ -5551,7 +5551,7 @@ "replaceE": ".pages" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[img]','img'])" + "bF": "return fun.src_bF(pageE,[0,'img[img]','img'])" } }, "porn78.info": { @@ -5570,7 +5570,7 @@ "blank": 3, "pager": { "type": 6, - "nextL": "js; return fun.getNextEP('a.active.item+a.item:not(.icon)', 'page=', /page=\\d+/)", + "nextL": "js; return fun.getNextEP('a.active.item+a.item:not(.icon)','page=',/page=\\d+/)", "pageE": ".grid_cell", "replaceE": ".pagination", "loadTime": 1200, @@ -5593,7 +5593,7 @@ "blank": 3, "pager": { "nextL": ".pager>a:last-child[href]", - "pageE": ".item.columns:not(.native_ads), .columns.model_chunk", + "pageE": ".item.columns:not(.native_ads),.columns.model_chunk", "replaceE": ".pager" } }, @@ -5650,7 +5650,7 @@ "blank": 3, "pager": { "nextL": "a.pagination-next", - "pageE": "body>.container>.card, body>.container>.columns", + "pageE": "body>.container>.card,body>.container>.columns", "replaceE": ".pagination" } }, @@ -5660,7 +5660,7 @@ "blank": 3, "pager": { "nextL": "span.pageback>a", - "pageE": ".Po_topic, .Po_u_topic", + "pageE": ".Po_topic,.Po_u_topic", "replaceE": ".PageBar" } }, @@ -5670,7 +5670,7 @@ "blank": 3, "pager": { "nextL": "a.next", - "pageE": ".video, table.pubgroup>tbody>tr:not(#header), table.post", + "pageE": ".video,table.pubgroup>tbody>tr:not(#header),table.post", "replaceE": ".page_selector" } }, @@ -5680,8 +5680,8 @@ "blank": 3, "pager": { "nextL": "a.gonext", - "pageE": ".movie-list, .articles-list, .actress-list", - "replaceE": "//a[contains(@class, 'gonext')]/..", + "pageE": ".movie-list,.articles-list,.actress-list", + "replaceE": "//a[contains(@class,'gonext')]/..", "scrollD": 2500 } }, @@ -5704,7 +5704,7 @@ "nextL": "section.active li.active+li.wave-effect>a", "pageE": "section.model-items-container:first-of-type>ul", "insertP": ["section.active>ul",5], - "replaceE": "section.active .pagination, section.model-items-container:not([style='display: none;']):first-of-type .pagination" + "replaceE": "section.active .pagination,section.model-items-container:not([style='display: none;']):first-of-type .pagination" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -5727,7 +5727,7 @@ "url": "return fun.isPager()", "pager": { "nextL": "li[class*=pfhover]+li>a", - "pageE": "tr.dtr, head>style", + "pageE": "tr.dtr,head>style", "replaceE": "div[class^=pages]", "scriptT": 1 } @@ -5738,7 +5738,7 @@ "blank": 3, "pager": { "nextL": "a.next_page", - "pageE": ".image-list>.card, .prof-list>.prof-card", + "pageE": ".image-list>.card,.prof-list>.prof-card", "replaceE": "[id='pagenation']" } }, @@ -5783,7 +5783,7 @@ "replaceE": ".pagination-row" }, "function": { - "aF": "document.body.appendChild(document.createElement('script')).textContent = 'window.document.dispatchEvent(new Event(\"DOMContentLoaded\", {bubbles: true,cancelable: true}));'" + "aF": "document.body.appendChild(document.createElement('script')).textContent = 'window.document.dispatchEvent(new Event(\"DOMContentLoaded\",{bubbles: true,cancelable: true}));'" } }, "7mmtv - 漫画": { @@ -5867,7 +5867,7 @@ "scrollD": 2500 }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-srcset]','data-srcset'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-srcset]','data-srcset'])" } }, "hanime1 - 漫画": { @@ -5881,27 +5881,27 @@ } }, "污污漫画": { - "host": "www.comicbox.xyz", - "url": "/^\\/chapter\\/\\d+/", - "style": ".global-navbar", - "pager": { - "type": 6, - "nextL": "//div[@class='fanye']/a[text()='下一章']", - "pageE": ".comicpage>div", - "replaceE": ".fanye", - "loadTime": 1000, - "scrollD": 4000 - } - }, + "host": "www.comicbox.xyz", + "url": "/^\\/chapter\\/\\d+/", + "style": ".global-navbar", + "pager": { + "type": 6, + "nextL": "//div[@class='fanye']/a[text()='下一章']", + "pageE": ".comicpage>div", + "replaceE": ".fanye", + "loadTime": 1000, + "scrollD": 4000 + } + }, "禁漫天堂": { "host": ["18comic.vip","18comic.org","/^jm-?comic[0-9]?\\.[a-z]+$/"], - "url": "if (fun.indexOF(/^\\/photo\\//)){fun.src_bF(fun.getAllCSS('.scramble-page'), [0,'img[data-original]:not(.lazy-loaded)','data-original']); setTimeout(()=>{document.body.appendChild(document.createElement('script')).textContent = `var old_onImageLoaded = onImageLoaded; onImageLoaded = function(e){aid = parseInt(/photos\\\\/\\\\d+/.exec(e.src)[0].replace('photos/','')); if(aid>scramble_id){old_onImageLoaded(e);}}`}, 3000); return true}", - "style": "[data-group], div[data-page], .thumb-overlay-albums>*:not(.scramble-page):not(.scramble-page1) {display: none !important;} #Comic_Top_Nav[style*='display: block'] {opacity: 0.3;}", + "url": "if (fun.indexOF(/^\\/photo\\//)){fun.src_bF(fun.getAllCSS('.scramble-page'),[0,'img[data-original]:not(.lazy-loaded)','data-original']); setTimeout(()=>{document.body.appendChild(document.createElement('script')).textContent = `var old_onImageLoaded = onImageLoaded; onImageLoaded = function(e){aid = parseInt(/photos\\\\/\\\\d+/.exec(e.src)[0].replace('photos/','')); if(aid>scramble_id){old_onImageLoaded(e);}}`},3000); return true}", + "style": "[data-group],div[data-page],.thumb-overlay-albums>*:not(.scramble-page):not(.scramble-page1) {display: none !important;} #Comic_Top_Nav[style*='display: block'] {opacity: 0.3;}", "history": true, "pager": { "nextL": "#next_series>a[href]", "pageE": ".scramble-page,.scramble-page1", - "replaceE": ".menu-bolock-ul, #next_series", + "replaceE": ".menu-bolock-ul,#next_series", "interval": 5000, "scrollD": 3000 }, @@ -5912,7 +5912,7 @@ "禁漫天堂 - 分类页": { "host": ["18comic.vip","18comic.org","/^jm-?comic[0-9]?\\.[a-z]+$/"], "url": "/^\\/(albums|search|blogs|videos|movies)/", - "style": ".row>[style='z-index: 0;'], .col-lg-3.col-md-3.col-sm-3.col-xs-6", + "style": ".row>[style='z-index: 0;'],.col-lg-3.col-md-3.col-sm-3.col-xs-6", "blank": 3, "pager": { "nextL": "#wrapper>.container>div:not(.row)>.pagination .prevnext", @@ -5933,7 +5933,7 @@ "scrollD": 3000 }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-lazy-src]','data-lazy-src'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-lazy-src]','data-lazy-src'])" } }, "18 禁漫": { @@ -5943,10 +5943,10 @@ "pager": { "nextL": "//div[@class='c']/a[text()='下一頁' or text()='下一章'][not(@class='n fanye')]", "pageE": ".e>img:not([style='display:none;'])", - "replaceE": ".c, .b" + "replaceE": ".c,.b" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-url]','data-url'])" + "bF": "return fun.src_bF(pageE,[0,'img[data-url]','data-url'])" } }, "ACG漫画网": { @@ -5955,7 +5955,7 @@ "style": ".pre_picture,.next_picture", "pager": { "nextL": ".page>span+a:not(.a1)", - "pageE": ".manga-picture>picture, #list>li", + "pageE": ".manga-picture>picture,#list>li", "replaceE": ".page" } }, @@ -5966,8 +5966,8 @@ "blank": 3, "pager": { "nextL": "//table[@class='ptt']//a[string()='>'] | id('next') | id('unext')", - "pageE": ".itg>div, .itg>tbody>tr:not(:first-of-type), #gdt>div:not(.c), #img", - "replaceE": ".ptt, .ptb, .sn, .searchnav" + "pageE": ".itg>div,.itg>tbody>tr:not(:first-of-type),#gdt>div:not(.c),#img", + "replaceE": ".ptt,.ptb,.sn,.searchnav" } }, "nhentai": { @@ -5976,9 +5976,9 @@ "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, #image-container img", - "replaceE": ".pagination, .reader-pagination" + "nextL": "a.next,.current+a.page", + "pageE": ".container>.gallery,#image-container img", + "replaceE": ".pagination,.reader-pagination" }, "function": { "bF": "if (fun.getCSS('.container>.gallery') && typeof _n_app !== 'undefined' && _n_app.options.blacklisted_tags != null && _n_app.options.blacklisted_tags.length != 0) {pageE.forEach(function (one) {let tags = one.dataset.tags.split(' ');for (let i=0; i < tags.length; i++){for (let ii=0; ii < _n_app.options.blacklisted_tags.length; ii++){if (tags[i] == _n_app.options.blacklisted_tags[ii]) {one.classList.add('blacklisted');};};};});}; return fun.src_bF(pageE)" @@ -6003,10 +6003,10 @@ }, "hitomi": { "host": "hitomi.la", - "url": "if(fun.indexOF('/reader/')){setTimeout(()=>{let _img='
    ';for (let i=0;i<2;i++){_img += ``;};document.getElementById('comicImages').outerHTML = _img+'
    ';window.imgIndex = 1;},500);return true;}", + "url": "if(fun.indexOF('/reader/')){setTimeout(()=>{let _img='
    ';for (let i=0;i<2;i++){_img += ``;};document.getElementById('comicImages').outerHTML = _img+'
    ';window.imgIndex = 1;},500);return true;}", "style": "body {height: auto !important; overflow: auto !important;} #comicImages.fitVertical img {margin: 0 auto;display: block;max-height: calc(1000px - 41px);} .navbar-static-top {display: none;}", "pager": { - "nextL": "js;if(window.imgIndex +1 >= our_galleryinfo.length){return}; document.getElementById('comicImages').insertAdjacentHTML('beforeend', ``); window.imgIndex+=1;", + "nextL": "js;if(window.imgIndex +1 >= our_galleryinfo.length){return}; document.getElementById('comicImages').insertAdjacentHTML('beforeend',``); window.imgIndex+=1;", "scrollD": 1000 } }, @@ -6015,7 +6015,7 @@ "url": "/^\\/\\d+\\/\\d+\\//", "pager": { "nextL": "js; return (location.origin+fun.getCSS('ul.chapter_select option[selected]').previousElementSibling.value)", - "pageE": ".chapter-content>img, .chapter-content>br", + "pageE": ".chapter-content>img,.chapter-content>br", "replaceE": ".chapter_select", "interval": 2000 }, @@ -6030,16 +6030,16 @@ "pager": { "nextL": "//a[text()='»']", "pageE": ".thumb-item-flow", - "replaceE": ".pagination, .col-md-8>.btn-group:first-child" + "replaceE": ".pagination,.col-md-8>.btn-group:first-child" }, "function": { - "bF": "return fun.src_bF(pageE, [1,'[data-bg]','data-bg'])" + "bF": "return fun.src_bF(pageE,[1,'[data-bg]','data-bg'])" } }, "yande": { "host": ["konachan.net","konachan.com","yande.re"], "url": "return (fun.lp() == '/post')", - "style": ".javascript-hide {display: inline-block !important;} ul#post-list-posts img, ul#post-list-posts .inner{width: auto !important; height: auto !important;} ul#post-list-posts li {width: 33% !important;} a.directlink {margin: 0 !important;}", + "style": ".javascript-hide {display: inline-block !important;} ul#post-list-posts img,ul#post-list-posts .inner{width: auto !important; height: auto !important;} ul#post-list-posts li {width: 33% !important;} a.directlink {margin: 0 !important;}", "blank": 3, "pager": { "nextL": "a.next_page", @@ -6053,7 +6053,7 @@ "blank": 3, "pager": { "nextL": "a[alt='next']", - "pageE": ".thumbnail-container, span.thumb", + "pageE": ".thumbnail-container,span.thumb", "replaceE": "#paginator" } }, @@ -6092,9 +6092,9 @@ "url": "return (fun.lp() == '/' || fun.indexOF(/^\\/(tag|page|hentai-images)\\//))", "blank": 3, "pager": { - "nextL": "a.next, .current+.minithumb>a", - "pageE": ".thumb, #doujin>a", - "replaceE": ".navigation, #miniThumbContainer" + "nextL": "a.next,.current+.minithumb>a", + "pageE": ".thumb,#doujin>a", + "replaceE": ".navigation,#miniThumbContainer" } }, "LoLHentai": { @@ -6110,12 +6110,12 @@ "Hentai Cosplays - 图片页": { "host": ["/hentai-cosplays\\.com$/","/porn-images-xxx\\.com$/","/hentai-img\\.com$/"], "url": "/^\\/image\\//", - "style": ".icon-good-thumbnail, .icon-bad-thumbnail {display: none !important;} .icon-overlay img {min-height: 200px;}", + "style": ".icon-good-thumbnail,.icon-bad-thumbnail {display: none !important;} .icon-overlay img {min-height: 200px;}", "pager": { "type": 3, - "nextL": "id('paginator')//a[contains(text(), '>')] | //a[@rel='next']", - "pageE": "#detail_list, #display_image_detail>.icon-overlay", - "replaceE": "#paginator, .paginator_area" + "nextL": "id('paginator')//a[contains(text(),'>')] | //a[@rel='next']", + "pageE": "#detail_list,#display_image_detail>.icon-overlay", + "replaceE": "#paginator,.paginator_area" } }, "Hentai Cosplays - 分类页": { @@ -6124,9 +6124,9 @@ "blank": 3, "pager": { "type": 3, - "nextL": "a.nextpostslink, a.paginator_page[rel='next']", - "pageE": "#center>#display_area_image>#image-list, #page>#right_sidebar>#entry_list", - "replaceE": ".wp-pagenavi, #page>#page_nation" + "nextL": "a.nextpostslink,a.paginator_page[rel='next']", + "pageE": "#center>#display_area_image>#image-list,#page>#right_sidebar>#entry_list", + "replaceE": ".wp-pagenavi,#page>#page_nation" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -6134,17 +6134,17 @@ }, "绅士仓库": { "host": "/^cangku\\./", - "url": "if (document.title.indexOf('绅士') == -1){return}; fun.isUrlC(); if (fun.lp() != '/rank'){setTimeout(`let a='.mr-auto,.navbar-brand.active,.simple-navbar';if(location.pathname.indexOf('/search/')!=-1){a='.mr-auto,.navbar-brand.active'};document.querySelectorAll(a).forEach(function (o) {o.innerHTML = o.innerHTML;})`, 1500);} return (fun.lp() == '/' || fun.indexOF('/category/') || fun.indexOF('/user/'))", + "url": "if (document.title.indexOf('绅士') == -1){return}; fun.isUrlC(); if (fun.lp() != '/rank'){setTimeout(`let a='.mr-auto,.navbar-brand.active,.simple-navbar';if(location.pathname.indexOf('/search/')!=-1){a='.mr-auto,.navbar-brand.active'};document.querySelectorAll(a).forEach(function (o) {o.innerHTML = o.innerHTML;})`,1500);} return (fun.lp() == '/' || fun.indexOF('/category/') || fun.indexOF('/user/'))", "history": true, "pager": { "type": 6, - "nextL": "js; return fun.getNextEP('li.number.active+li.number', 'page=', /page=\\d+/)", - "pageE": ".post-list>.row, .category-post>.row, #user-post>.row, #user-favorite>.row, #user-comment .comment-list", + "nextL": "js; return fun.getNextEP('li.number.active+li.number','page=',/page=\\d+/)", + "pageE": ".post-list>.row,.category-post>.row,#user-post>.row,#user-favorite>.row,#user-comment .comment-list", "replaceE": ".el-pager", "loadTime": 1500 }, "function": { - "bF": "return fun.src_bF(pageE, [1,'div[data-src]','data-src'])" + "bF": "return fun.src_bF(pageE,[1,'div[data-src]','data-src'])" } }, "绅士仓库 - 排行/作者墙": { @@ -6190,7 +6190,7 @@ "pager": { "type": 3, "nextL": "a[rel=next]", - "pageE": "img.my-1, #main>.grid>div", + "pageE": "img.my-1,#main>.grid>div", "replaceE": "nav[role=navigation]" } }, @@ -6201,9 +6201,9 @@ "pager": { "type": 3, "nextL": "//a[@class='pagination-link is-current']/../following-sibling::*[1]/a", - "pageE": ".article-fulltext>p, .main-body>.blog.columns", + "pageE": ".article-fulltext>p,.main-body>.blog.columns", "replaceE": ".pagination", - "scrollE": ".article-fulltext+hr, .pagination.is-small" + "scrollE": ".article-fulltext+hr,.pagination.is-small" } }, "秀人集": { @@ -6211,7 +6211,7 @@ "url": "return (fun.isPager() && fun.lp() != '/' && !fun.indexOF('/search/'))", "pager": { "nextL": ".current+a", - "pageE": ".content>p, .update_area li.i_list", + "pageE": ".content>p,.update_area li.i_list", "replaceE": ".page" } }, @@ -6220,7 +6220,7 @@ "url": "return (fun.lp() != '/' && !fun.indexOF('/search/'))", "pager": { "nextL": ".current+a", - "pageE": ".article-content>p, body.home .related_posts>ul", + "pageE": ".article-content>p,body.home .related_posts>ul", "replaceE": ".pagination" } }, @@ -6238,14 +6238,14 @@ "host": ["www.mmm131.com","m.mmm131.com"], "url": "return (fun.lp() != '/')", "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" + "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" } }, "mm131_m": { "host": "m.mmm131.com", - "style": ".bannert, .bannerb, bannert_ios, .bannerb_ios", + "style": ".bannert,.bannerb,bannert_ios,.bannerb_ios", "pager": { "type": 2, "nextL": "#webpage>span[onclick]", @@ -6264,8 +6264,8 @@ "host": "mrcong.com", "pager": { "nextL": ".current+a", - "pageE": "#fukie2>p>img, article.item-list", - "replaceE": ".page-link, .pagination", + "pageE": "#fukie2>p>img,article.item-list", + "replaceE": ".page-link,.pagination", "scrollD": 3000 } }, @@ -6274,9 +6274,9 @@ "pager": { "type": 3, "nextL": "//a[@class='pagination-next']|//a[@class='pagination-link is-current']/../following-sibling::span[1]/a", - "pageE": ".article-fulltext, .main-body>.blog.columns", + "pageE": ".article-fulltext,.main-body>.blog.columns", "replaceE": ".pagination", - "scrollE": ".pagination[role='navigation'], .article-fulltext~.pagination" + "scrollE": ".pagination[role='navigation'],.article-fulltext~.pagination" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -6290,7 +6290,7 @@ "pager": { "type": 3, "nextL": ".page-item.active+li.page-none>a", - "pageE": ".content img, header+.list>ul>li", + "pageE": ".content img,header+.list>ul>li", "replaceE": ".page" }, "function": { @@ -6320,9 +6320,9 @@ "url": "/^\\/(g|gallery|tag)\\//", "pager": { "type": 3, - "nextL": "#pages>span +a:not(.a1), a.cur+a", - "pageE": "#hgallery>img, #listdiv>ul>li", - "replaceE": "#pages, .pagesYY" + "nextL": "#pages>span +a:not(.a1),a.cur+a", + "pageE": "#hgallery>img,#listdiv>ul>li", + "replaceE": "#pages,.pagesYY" }, "function": { "bF": "return fun.src_bF(pageE)" @@ -6344,7 +6344,7 @@ "pager": { "type": 3, "nextL": "a.current+a", - "pageE": ".content_left>p, .update_area ul.update_area_lists>li", + "pageE": ".content_left>p,.update_area ul.update_area_lists>li", "replaceE": ".page" } }, @@ -6354,7 +6354,7 @@ "pager": { "type": 3, "nextL": "a.current+a", - "pageE": ".content_left img, .update_area ul.update_area_lists>li", + "pageE": ".content_left img,.update_area ul.update_area_lists>li", "replaceE": ".page" } }, @@ -6364,7 +6364,7 @@ "style": "img[onload] {min-height: 500px;}", "pager": { "nextL": ".current+a", - "pageE": "img[onload], article.excerpt", + "pageE": "img[onload],article.excerpt", "replaceE": ".pagination1", "scrollD": 3000 } @@ -6372,12 +6372,12 @@ "ku+taotu": { "host": ["/^www\\.ku\\d+\\./","/^www\\.taotu\\d+\\./"], "url": "return fun.isPager()", - "style": ".content img {min-height: 500px;} .Title9, .dibu1, .dibu2 {display: none !important;}", + "style": ".content img {min-height: 500px;} .Title9,.dibu1,.dibu2 {display: none !important;}", "pager": { "type": 3, - "nextL": ".thisclass+li>a, .this-page+a:not(.no-page)", - "pageE": ".content, .TypeList, .m-list.ml1, .slider-c>.row>div", - "replaceE": ".NewPages, .page" + "nextL": ".thisclass+li>a,.this-page+a:not(.no-page)", + "pageE": ".content,.TypeList,.m-list.ml1,.slider-c>.row>div", + "replaceE": ".NewPages,.page" } }, "kingdom": { @@ -6386,9 +6386,9 @@ "style": ".pic_center img {min-height: 300px;}", "pager": { "type": 3, - "nextL": ".page_nowindex+a, a.page_next", - "pageE": ".pic_center, .channel_list3", - "replaceE": ".pages2, .article_page, .pages" + "nextL": ".page_nowindex+a,a.page_next", + "pageE": ".pic_center,.channel_list3", + "replaceE": ".pages2,.article_page,.pages" } }, "kissgoddess": { @@ -6398,7 +6398,7 @@ "pager": { "type": 3, "nextL": "a.a1:last-of-type", - "pageE": ".td-gallery-content>img, .td-category-span", + "pageE": ".td-gallery-content>img,.td-category-span", "replaceE": "#pages" }, "function": { @@ -6419,8 +6419,8 @@ "host": "www.2meinv.com", "pager": { "nextL": "//div[@class='page-show' or contains(@class,'article-page')]/a[text()='下一页']", - "pageE": ".pp.hh img, ul.detail-list, .arcmain li, #listcon>ul", - "replaceE": ".page-show, .article-page" + "pageE": ".pp.hh img,ul.detail-list,.arcmain li,#listcon>ul", + "replaceE": ".page-show,.article-page" } }, "娱乐吧": { @@ -6430,7 +6430,7 @@ "pager": { "type": 3, "nextL": "//div[@class='paging']/a[text()='下一页']", - "pageE": ".b_img:not(:nth-child(7))>ul, .a_img>.main>p", + "pageE": ".b_img:not(:nth-child(7))>ul,.a_img>.main>p", "replaceE": ".paging" } }, @@ -6441,7 +6441,7 @@ "pager": { "type": 3, "nextL": "li.next-page>a", - "pageE": ".entry img, .article-content img", + "pageE": ".entry img,.article-content img", "replaceE": "#dm-fy" } }, @@ -6451,8 +6451,8 @@ "pager": { "type": 3, "nextL": "//div[@class='page' or @class='fenye']//a[text()='下一页']", - "pageE": ".picbox img, #content>.post>.post-content img", - "replaceE": ".page, .fenye" + "pageE": ".picbox img,#content>.post>.post-content img", + "replaceE": ".page,.fenye" } }, "imn5_net": { @@ -6471,7 +6471,7 @@ "style": ".moreR {display: none;} #content img {width: auto; max-width: 99%; height: auto; display: block; margin: 0 auto;}", "pager": { "nextL": "li.p_current+li>a", - "pageE": "#content img, #dlNews>tbody>tr, .summary", + "pageE": "#content img,#dlNews>tbody>tr,.summary", "replaceE": ".pager", "scrollD": 3500 } @@ -6479,7 +6479,7 @@ "遛无写真": { "host": "www.6evu.com", "url": "/^\\/\\d+\\.html/", - "style": "#post_content>.code-block, .single-ad, .single-adphone", + "style": "#post_content>.code-block,.single-ad,.single-adphone", "pager": { "type": 3, "nextL": ".pagelist>span+a", @@ -6497,20 +6497,20 @@ } }, "推图网 - 图片页": { - "host": ["www.tuiimg.com", "m.tuiimg.com"], + "host": ["www.tuiimg.com","m.tuiimg.com"], "url": "if (fun.indexOF(/\\/\\d+\\/$/)) {let _img=''; for (_pd[2]=1;_pd[2]<=_pd[3];_pd[2]++){_img += ``;}; document.getElementById('content').innerHTML = _img; return true;}", - "style": "#page, #tips", + "style": "#page,#tips", "hiddenPN": true }, "推图网 - 分类页": { - "host": ["www.tuiimg.com", "m.tuiimg.com"], + "host": ["www.tuiimg.com","m.tuiimg.com"], "pager": { - "nextL": ".page>.now+a, .page>em+a", - "pageE": "#main>li, .beauty>ul>li", + "nextL": ".page>.now+a,.page>em+a", + "pageE": "#main>li,.beauty>ul>li", "replaceE": ".page" }, "function": { - "bF": "return fun.src_bF(pageE, [0,'img[realsrc]','realsrc'])" + "bF": "return fun.src_bF(pageE,[0,'img[realsrc]','realsrc'])" } }, "Hit-x-Hot": { @@ -6530,7 +6530,7 @@ "pager": { "type": 3, "nextL": "li.thisclass+li>a", - "pageE": ".bodyintroduce, .picbox>img", + "pageE": ".bodyintroduce,.picbox>img", "replaceE": ".pageart>ul" } }, @@ -6547,7 +6547,7 @@ "微图坊": { "host": "/^www\\.v2ph\\.[a-z]+$/", "url": "/^\\/album\\//", - "style": ".album-photo, .photos-list img {opacity: 1 !important; position: unset !important; padding: 0 !important;}", + "style": ".album-photo,.photos-list img {opacity: 1 !important; position: unset !important; padding: 0 !important;}", "pager": { "nextL": ".active.page-item+li>a", "pageE": ".album-photo", @@ -6574,7 +6574,7 @@ "type": 3, "nextL": ".current+a", "pageE": ".content>img", - "replaceE": ".page-list, .pages" + "replaceE": ".page-list,.pages" } }, "爱看图吧": { @@ -6592,8 +6592,8 @@ "host": ["www.2avtt.com","m.2avtt.com"], "url": "/\\/\\d+(_\\d+)?\\.html$/", "pager": { - "nextL": ".thisclass+li>a, .wallpaper-container>a:last-of-type", - "pageE": "#photoMain, .wallpaper-container>a", + "nextL": ".thisclass+li>a,.wallpaper-container>a:last-of-type", + "pageE": "#photoMain,.wallpaper-container>a", "replaceE": ".page" } }, @@ -6603,8 +6603,8 @@ "blank": 3, "pager": { "nextL": "id('d_list_page')/a[text()='下一页'] | //table//a[text()='下一页']", - "pageE": "#d_list>ul, table.dc_bar2", - "replaceE": "#d_list_page, #d_list_foot, table.dc_bar" + "pageE": "#d_list>ul,table.dc_bar2", + "replaceE": "#d_list_page,#d_list_foot,table.dc_bar" } }, "taotuxp.com": { From d39b1abe37d6eaa8c3fc1ed186130fc83d03cf7c Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 2 Sep 2024 16:49:55 +0800 Subject: [PATCH 051/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=A1=86=E5=86=85=E6=98=BE=E7=A4=BA=E7=9A=84=E9=83=A8=E5=88=86?= =?UTF-8?q?=20HTML=20=E6=A0=87=E7=AD=BE=E8=A2=AB=E8=AF=AD=E4=B9=89?= =?UTF-8?q?=E5=8C=96=E7=9A=84=E9=97=AE=E9=A2=98;=20=E4=BC=98=E5=8C=96=20?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=B8=AD=20=E6=89=80=E6=9C=89=E8=A7=84?= =?UTF-8?q?=E5=88=99=20=E5=92=8C=20=E8=87=AA=E5=AE=9A=E4=B9=89=E7=BF=BB?= =?UTF-8?q?=E9=A1=B5=E8=A7=84=E5=88=99=20=E6=98=BE=E7=A4=BA=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F(=E5=B0=86=20`[]`=20=E5=86=85=E7=9A=84=E5=85=83?= =?UTF-8?q?=E7=B4=A0=E4=BB=8E=E9=BB=98=E8=AE=A4=E7=9A=84=20=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C=E6=98=BE=E7=A4=BA=20=E6=A0=BC=E5=BC=8F=E5=8C=96?= =?UTF-8?q?=E4=B8=BA=20=E4=B8=80=E8=A1=8C=E6=98=BE=E7=A4=BA)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index d2b4bbaef..3eb757234 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.29 +// @version 6.6.30 // @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...) 等網站~ @@ -2697,7 +2697,7 @@ function: { function customRules() { if (getCSS('#Autopage_customRules')) return - let customRules = JSON.stringify(GM_getValue('menu_customRules', {}), null, 4); + let customRules = customStringify(GM_getValue('menu_customRules', {})) if (customRules == '{}') customRules = '{\n \n}'; // 引导用户插入规则的位置 let _html = `

    # 自定义翻页规则(优先级最高,会覆盖同名的外置翻页规则)-【将规则插入默认的 { } 中间】

    @@ -2780,14 +2780,15 @@ function: {
    「 点击展开 查看所有规则 」(可按 Ctrl+F 搜索规则,脚本内置的通用规则因格式限制无法列出)
     
    - +
    ` document.documentElement.insertAdjacentHTML('beforeend', `
    `); let Autopage_customRules = getCSS('#Autopage_customRules'), shadowRoot = Autopage_customRules.attachShadow({ mode: 'open' }); // 创建一个 Shadow DOM 避免网页样式影响自定义翻页规则元素 shadowRoot.innerHTML = _html; // 插入元素 document.documentElement.style.overflow = document.body.style.overflow = 'hidden'; // 避免网页本身滚动 - getCSS('#Autopage_customRules_all', shadowRoot).textContent = JSON.stringify(DBSite2, null, 4); // 单独插入全部规则列表,避免被 insertAdjacentHTML 语义化 HTML 标签 + getCSS('#Autopage_customRules_textarea', shadowRoot).textContent = customRules; // 单独插入自定义规则,避免被 insertAdjacentHTML 语义化 HTML 标签 + getCSS('#Autopage_customRules_all', shadowRoot).textContent = customStringify(DBSite2); // 单独插入全部规则列表,避免被 insertAdjacentHTML 语义化 HTML 标签 //let b=Object.entries(DBSite2) //for (var i = 0; i < b.length; i++) {console.log(b[i][0], b[i][1].host);} // 点击事件 @@ -2807,6 +2808,15 @@ function: { } getCSS('#Autopage_customRules_cancel', shadowRoot).onclick = function () {document.documentElement.style.overflow = document.body.style.overflow = ''; getCSS('#Autopage_customRules').remove();} } + + // 自定义的 stringify 函数,将 [ ] 内的元素从默认的 换行显示 格式化为 一行显示,用于显示自定义翻页规则等给用户看的场景 + function customStringify(obj) { + return JSON.stringify(obj, null, 4) + .replace(/(: \[)([\s\S]*?)(\],?\n)/g, (match, p1, p2, p3) => { + return p1 + p2.replace(/\n/g, '').replace(/\s{4}/g, '') + p3; + }); + } + // 显示页码 function pageNumber(type) { if (curSite.SiteTypeID === 0 || curSite.hiddenPN || (curSite.pager && curSite.pager.type == 5 && self != top)) {if (getCSS('#Autopage_number') && getCSS('#Autopage_number').shadowRoot) {getCSS('#Autopage_number_button', getCSS('#Autopage_number').shadowRoot).style.display = 'none';}; return} From 834eda7ffc1916b537cc12a60e2126755e655062 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:15:45 +0800 Subject: [PATCH 052/424] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20[=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E6=8C=87=E5=AE=9A=E5=9F=9F=E5=90=8D]=20=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E6=83=85=E5=86=B5=E4=B8=8B=E5=87=BA=E7=8E=B0=E6=BC=8F?= =?UTF-8?q?=E7=BD=91=E4=B9=8B=E9=B1=BC=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DuckDuckGo-Enhanced.user.js | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/DuckDuckGo-Enhanced.user.js b/DuckDuckGo-Enhanced.user.js index 70842cd6c..35ca42564 100644 --- a/DuckDuckGo-Enhanced.user.js +++ b/DuckDuckGo-Enhanced.user.js @@ -3,12 +3,12 @@ // @name:zh-CN DuckDuckGo 增强 // @name:zh-TW DuckDuckGo 增強 // @name:en DuckDuckGo Enhancements -// @version 1.0.3 +// @version 1.0.4 // @author X.I.U -// @description 屏蔽指定域名、修复图标加载、链接不携来源、快捷回到顶部(右键两侧空白处) -// @description:zh-CN 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式) -// @description:zh-TW 屏蔽指定域名、修復圖標加載、鏈接不攜來源、快捷回到頂部(右鍵兩側空白處) -// @description:en Block the specified domain name, fix icon loading, link without source, and quickly return to the top (the blank space on both sides of the right button)... +// @description 屏蔽指定域名、链接不携来源、快捷回到顶部(右键两侧空白处) +// @description:zh-CN 屏蔽指定域名、链接不携来源、快捷回到顶部(右键两侧空白处) +// @description:zh-TW 屏蔽指定域名、鏈接不攜來源、快捷回到頂部(右鍵兩側空白處) +// @description:en Block the specified domain name, link without source, and quickly return to the top (the blank space on both sides of the right button)... // @match https://duckduckgo.com/* // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAHAElEQVR4nJ2XX2xT9xXHP7/r6z/YceKQuihhLHZh0Ugn1a3DhjSJhE2qFDSkVEklAhXwMCL2MEEbHqpJG0Sd1D6UFjZpMHgBNAqVyJo21UB9adKHtip489YQ1mzgmzESwIQYnNiOc31/e7j2tR07QHeero/v73y/5/zOvyt4Qol1dfhyroddNkS7lIRQCCDxASBIYKBJQVQiR22Z2qHg0EjiSeyKxwJv2xhA6vukIndbgE8gEk4p2AeC57/U/i8Csa4OHyseHpRS7C/oXOvDuDd0sKI1jOpvRHF7ATBSSbLaBAuTE6Quj5C5FikSEeKIktYHgkPRxBMTiG3bGJAsfgoEAGo2baW+Zw+qv+lRzliix6eYvXCSuc+GCypNYN9cLRoVBGLbN4SkYXwABFR/E6v638bR3GJ5+uDiOTLjEfT4NHp8CgDF48XR3IK7rQNPW7tFVI9PMf3G3sJ7mlCUl4LvXY4uS6DUc++mrazc9RqK24sen2L+lobT4cRIJZm/PEoqMoIxn6wagZr2rdR3mxEzUknixwZIXRmpGokyAje2hWNAwN3Wwar+twF4cPEcDz/9EN8rryIam3HUrcThcKDHp5g5807BcIUobi++nj7qOnsBuHd8gOTosEkik3u+kBMWgVjvC+9KKfar/iZWv3UWxe1ldvAEiQsnilZdHhzb9/PUpi04nU4A5kY/ZnbwhHUdS8XX00d9dx9GKsmt13egx6eQQhxZe+7KqxaBfOhjAGt+9xGqv4kHF89x/8xhy5BjcxcNL/8CV31DVaASDytk5c5+6jp7yU5OcOv17ZjA9mDw/JeaAmCweBDMbFf9TejxKRKDRc8dnTto/PmvlgU3QV5btkoSF8wIOZpbqNm0FQBDLu4HUGK7Qz4BuwHqe/YAMDt4sphg9U+zavsv+fqft/nks2+YSy1UAPx7coYvxmdY7OyrSsBIJYkfH6AUQyjsinWFfGouo3QpmE2m4P1cSShtP/wpqqri8Th5sbW6h+uaG1jX3ICRauDmoLdqdWTGIxipJKq/CVdrmMx4xJdz2bsUgWgHcG/oAGD+ymjZQfuadRbIXGqB2/HqpfeHM5/zxfg9XOvDVf8HePCXcwC420wsG0a7KgQhJDjzzaairFwe67H/t8PUrHAy0P8iNW5n2WufRzQAvu9vXJZAoUWvaDVJSiFCKvl26wiYBLKTE2WHFkvK68fhAEAFOMCfjprZPXthDADFBTXPwoo1EL8ERgb0+DQAqkVSBtTChLMGy5L705MPreed3W3FP3JJmPkYUuWEvd/5Bm8fqLV5r2+a4ECxdeexkPjUCleWym2NbDaLw+Eo14/vgGxl81HtYBgmcHIM5q4+2ryKIIHEZ6SSKG6vVQkFEdOTpNPpcgLpCQs8fRPufmh6qdaCkS16vFRKx7dpnIQCaAD63aX3k5fpGAsPZst1jkawmcZsLlDyKaE/XB4csKZqVitcm9BUJH8HQulrERyBFlzrw2TGI2UHU9evwncDRYXNCy1/hBsHcPinWLMHsvFycLUOsnfhzlBRVyj1hXyiCymjioEcgWL51W3prWBujH2FruvlSncL/OAjdE8fyauANEHVOpNIcszM/lLxtLVTigVyVLW5jCG5YHs3Mx7x6fGp0k5lHRTTGvPz89TV1VWQS45B4mKFukJK54xlO2MMKcFT0YSE02DOAAD/3oMoHm/xdOwqmcRMVcP2JQPoX402/tuglOkUj7dszgAIOBUciiYUAEXmjgDMjQ6T1SZQ/U3Ud5cPlvSNawDMLSb5+v7fmNfnAHC1vsCMVyHlFPz5R3Z+3+ngUqi8uuu7+6rMmdwAgAoQPB/VrveGjwrJvjvvHGD1W2ep7ezFmE8ymx/LxthXpDf+hEu3hjkdOwbAs3XPcTdzm/jLToycgVAEAsoiUN/dZ9pKJZl+Yy8AUnL0mfejGoD1puLMHQK0wqoF5jbTsLMfxeNFTGtkMuU19o+Zv3I7le8ZAnJ6DoD7NQLF46VhZz++HjOS8WMD1nK69v3Ifgu38BA8FU0IcpsBbW50mDuHD2CkktR29rL6zbPUrHmG9OwMa2u/h5TSjIphYNft2HU7gf8sEL6WoeZempX2p1j95lnL8/jx0qU0t7nUiceu5Y2/Pl5cs3WdjEzzyic/w2Ov5UDoNzz/9AYAa3es3dJrdbzs5AR3Dh8oWctzLwXfi0YfSQAgti0UkNiKHyYlazaYiVhj91Y7ahKNTzE7eLJ0sdEEuc3B8+a9P5ZAQa73ho8Iyb7Cb1drGHdbB87mFhyBlrLert+dJn0tQurKSFkPkZKjykLu0Lf6NCuVfDQOAbse926J1YQ0OK2I3JFqXn8rAhaRrpAv51K6FEQHQjwHsvzzHKEJKaI5cqO2jDG0nMdL5X/1IiQsOjJcBQAAAABJRU5ErkJggg== // @grant GM_registerMenuCommand @@ -58,9 +58,9 @@ document.documentElement.appendChild(document.createElement('style')).textContent = ` .blockDomainBtn {padding: 0 6px !important; font-size: 12px !important; line-height: normal !important; margin-left: 6px !important; border-radius: 3px !important; vertical-align: top !important; opacity: 0.4 !important; top: 3px; cursor: cell;} -.result.result--sep--hr {display: none;} +li[data-layout=organic]>div[arial-label] {display: none;} a[data-testid="result-title-a"]{display: inline-block}` - mutationObserver(); // 屏蔽指定域名 + 修复图标加载 + 链接不携来源 + mutationObserver(); // 屏蔽指定域名 链接不携来源 setTimeout(backToTop, 500); // 快捷回到顶部 @@ -79,22 +79,18 @@ a[data-testid="result-title-a"]{display: inline-block}` } - // 屏蔽指定域名 + 修复图标加载 + 链接不携来源 + // 屏蔽指定域名 链接不携来源 function mutationObserver() { const callback = (mutationsList, observer) => { for (const mutation of mutationsList) { for (const target of mutation.addedNodes) { if (target.nodeType != 1) break - //console.log(target) // 屏蔽指定域名 if (target.tagName == 'LI' && target.dataset.layout == 'organic') { Process(target) } else if (target.tagName == 'OL' && target.className == 'react-results--main') { target.childNodes.forEach(li=>{Process(li)}) } - // 修复图标加载 - //let img = target.querySelector('img.result__icon__img[data-src]'); // 寻找图标元素 - //if (img && !img.src) img.src = img.dataset.src } } }; @@ -104,7 +100,7 @@ a[data-testid="result-title-a"]{display: inline-block}` function Process(target) { const a = target.querySelector('h2>a,a[data-testid="result-title-a]"') if (a && checkDomain(a.href.split('/')[2])) { - target.remove(); + target.hidden = true } else { // 链接不携来源 addRel(target); @@ -135,7 +131,6 @@ a[data-testid="result-title-a"]{display: inline-block}` // 添加屏蔽按钮 function addBlockDomainBtn(doc, toElement, domain) { if (!GM_getValue('menu_blockDomainBtn')) return - //let toElement = doc.querySelector('a.result__url'); if (toElement) { toElement.insertAdjacentHTML('afterend', ``); doc.querySelector('button.blockDomainBtn').addEventListener('click', function(e) { @@ -156,7 +151,6 @@ a[data-testid="result-title-a"]{display: inline-block}` if (!GM_getValue('menu_backToTop')) return document.querySelectorAll('#react-layout>div, #react-layout>div>div, section[data-testid=sidebar]').forEach(ele => { ele.oncontextmenu = function(e) { - //console.log(e.target, this) if (e.target == this) { e.preventDefault(); window.scrollTo(0,0); From deb53236d61d72144e779c86df1e5b81b12da8d5 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:55:28 +0800 Subject: [PATCH 053/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[rule34comic]=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 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index ced8bbc4a..a9eb05bf5 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5959,6 +5959,32 @@ "replaceE": ".page" } }, + "rule34comic.party": { + "host": "rule34comic.party", + "url": "return fun.isPager()", + "blank": 3, + "pager": { + "nextL": ".item.pager.next>a", + "pageE": ".item.thumb ", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE)" + } + }, + "rule34comic.party - read": { + "host": "rule34comic.party", + "url": "if(fun.indexOF(/^\\/read\\/.*\\/\\d+/)){document.querySelector('img[data-original]').src=document.querySelector('img[data-original]').dataset.original;setTimeout(()=>{fun.src_bF(fun.getAllCSS('img.hidden[data-src]'));},2000);document.body.appendChild(document.createElement('script')).textContent = 'document.querySelector(\\'.thumbs-gallery-read\\').addEventListener(\\'error\\', function(event) {if (event.target.tagName === \\'IMG\\') {const img = event.target;console.log(`重试加载图片: ${img.src} 尝试 ${img.dataset.attempts}`);img.src = img.src;}}, true);';return true;}", + "style": ".video_container img.hidden{display: block !important;} .read-comic-prev,.read-comic-next,#scrollToFixed{display: none !important;}", + "pager": { + "nextL": "a.read-comic-next", + "pageE": ".thumbs-gallery-read>img", + "replaceE": "a.read-comic-next" + }, + "function": { + "bF": "return fun.src_bF(pageE)" + } + }, "E-Hentai": { "host": ["e-hentai.org","exhentai.org"], "url": "if(fun.getCSS('.itg,#gdt,#img')){setTimeout(()=>{window.nl=()=>{return false}},2000);return true}", From 1497602560ed4719195d34124b7a8e8c7f92430d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 5 Sep 2024 20:26:06 +0800 Subject: [PATCH 054/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=8F=B3?= =?UTF-8?q?=E9=94=AE=E6=BB=9A=E5=8A=A8=E6=9D=A1=E5=9B=9E=E5=88=B0=E9=A1=B6?= =?UTF-8?q?=E9=83=A8]=20=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +- RightClick_ScrollBar_BackToTop.user.js | 64 ++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 RightClick_ScrollBar_BackToTop.user.js diff --git a/README.md b/README.md index 2d531a6f6..fe7a3bc96 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,8 @@ | [](https://hostloc.com) | **全球主机交流论坛 增强 \*** | **自动访问空间(22积分)、屏蔽用户**、屏蔽关键词、自动翻... | **[安装](https://greasyfork.org/zh-CN/scripts/414005)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/Hostloc-Enhanced.user.js)** | | [](https://store.steampowered.com) | **Steam 创意工坊大图 修复** | 修复 Steam 创意工坊预览大图无法显示的问题 | **[安装](https://bitbucket.org/xiu2/userscript/raw/master/SteamWorkshopImageRepair.user.js)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/SteamWorkshopImageRepair.user.js)** | | [](https://github.com/XIU2) | **HTML5 视频音频默认音量** | 避免被 100% 音量**吓一跳**!且支持各网站分别记住音量... | **[安装](https://greasyfork.org/zh-CN/scripts/438400)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/HTML5Volume.user.js)** | -| [](https://github.com/XIU2) | **新标签页打开链接 \*** | 将网页中所有链接改为新标签页打开(可能存在兼容问题 | **[安装](https://greasyfork.org/zh-CN/scripts/429714)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/TargetBlank.user.js)** | +| [](https://github.com/XIU2) | **右键滚动条回到顶部 \*** | 鼠标**右键**网页右侧的**滚动条**即可**回到顶部** | **[安装](https://greasyfork.org/zh-CN/scripts/429714)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/RightClick_ScrollBar_BackToTop.user.js)** | +| [](https://github.com/XIU2) | **新标签页打开链接 \*** | 将网页中所有链接改为**新标签页打开**(可能存在兼容问题 | **[安装](https://greasyfork.org/zh-CN/scripts/429714)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/TargetBlank.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://bitbucket.org/xiu2/userscript/raw/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://bitbucket.org/xiu2/userscript/raw/master/Zhiyoo-Enhanced.user.js)**_~~ | diff --git a/RightClick_ScrollBar_BackToTop.user.js b/RightClick_ScrollBar_BackToTop.user.js new file mode 100644 index 000000000..23a753be2 --- /dev/null +++ b/RightClick_ScrollBar_BackToTop.user.js @@ -0,0 +1,64 @@ +// ==UserScript== +// @name Right click scroll bar back to top +// @name:zh-CN 右键滚动条回到顶部 +// @name:zh-TW 右鍵滾動條回到頂部 +// @name:en Right click scroll bar back to top +// @version 1.0.0 +// @author X.I.U +// @description Right-click the scroll bar on the right side of the webpage to return to the top +// @description:zh-CN 鼠标右键网页右侧的滚动条即可回到顶部 +// @description:zh-TW 鼠標右鍵網頁右側的滾動條即可回到頂部 +// @description:en Right-click the scroll bar on the right side of the webpage to return to the top +// @match *://*/* +// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAALfElEQVRYhX2Xe3Bd1XXGf3vvc859X+nq6nUlW5Yly7JlI2xsYzAwtnk4ATpAxkNTHm0mnaTT/gHTTvrIBDLTpp1JUoZppqHQls5AKTR2INOWJJQSXF4x2BhsJCRZ8kuWZckPSVf3/Trn7N3RVTFpQrNn1l97n7O/vda31reWMKMPcmUJA9U8vrwHGdqCHn4HPzePaIxhVSoYbYRXrn7BeMVbCUduF6kVUXHwvQP+6amDaqDnoIompmQytaBnTmB8H5lowrjgFss48SBeI/hUEEZeudLi1ywhJEIJdL6Q8rzal/1a5SGC4XZrYBvWwEZobMdLdH6RH+z/Io1taEeh52fe8tOZbysl/ouWFvANYP7fSz4DgAEBBIL4xiS8ubmnVcTZK68aRK29Dtm8dgnZJydRW+/E2nrnp19nz+7U77+60zt0qMz07J/KxuQTwrIw4rMBCDP6wC+FIIcO34eudDdXf/7jD52Opi772lugY3AZr++hp06gz48j+waRqTWYmVHcS+chEMFeuw1hBzBzY7g/fQE9fmqBYPzBQKrpVa/R4OkCAnXlSvXnX9sIllk220BE4Z8OdHoj54YCK6Od1i2/iUmuRyDRk6NUn3+M0pv/hnf0AE40jEjEqP3oe6Rf/CGOWUTNjFKby2MP7EBtugURFWFxfOhB4+o4yfhrGAdZsxHaqZt6dNce9KXYFSPfGWS68JFqTXSqO7+MCaTqETGTwxSeeoRCOoPT2YUIhFC2jbQF/uwUatU6rPbVUM5T+OfHUO3dWKv6kSsGUIOD6PEPr+fswnanpecFZYVQhFAyjPS9Tj4xw2rcU+pJApEutWsvRjaBW8NUShilkE1JIqlUPfi6VMLNFTBVr+7KYKqJ8uEjlM+dJrR5K0L7eB+9hTd2CFrWYt33h0jH3O5Nj37TBGtgZUBkUN/6q4dQ7UmsnlW450//gU5PPRq460uQXAu+j//i99A/+UdUMoXqbMNkz2OnUkixlF4u9spe/HMTULyEaA7jXkoT2fEbQIXi838DJ4cRDXHkEjc2b0MPHdptZubGpBUbM0UfKQpBRDmKWRSD3tTMk87gddA2WGe4+dkzMD0CyQ5qP/4XVDCAvfkaLMvHamzEClpQzGDF46iuJOH1CaKr2tDZRfzhQ0Ru24NYsYrCM4/jDb+FiHdi3XU/0s3vr7WsGKxcfyPSy+bxi0UqJ8f/IriiE2vrnuWsLefQk8NoO4AMBBB9/XjDI6hQCjdTxq9WCaQ6ULaDFrIeKr3oIlv70Olz2K1xlAVaSUQojD786nKi9e5A3LBHMHn0W+LUUaS1FI9q+iZZWLhHdq/FxFbWSSfsIDIQwVw4g/GK2OuuhloNMzaCaF+DNBJtQfX8LFYigElX0OkQtZKHVy3jqwDlqWncCzPI3nU4t+2FWrH+OLHzHpRl3109memTOhqDi9NfkefHEKvWLTO+VKD68Qf4G27CueFWhJ/Df+0lVFcXJOJYnobm1ZjsJUxuFjyDjK/GNK2gND4ESuDPXcCOSaI7thPqX0ft8OtUn/oTKOQgkET39KJU4RbpZXOtNRW717p+FyRSdYT+v36H4u/fQXbfc3iRDkT3FsTGjWAWEU0OZKfAU9CyEdXVD2lQPduplmo4jkBEbMzK1VgDu5EVTe3gm1RHx6Bcxpz6YLkEO0lMYeFGi6z7eVMqhkT/ZrCb0LNT+NMTRH/nt/BLRdy3X8Nv68Lu6cZEHURjE6K3hirYeLRhDWyA4jxzH40RXJwkeuM29MpN+JcziEsz+Avz6GgcW1pYbUlEQCyHwYpSyxS7rGo+v8man4ZMATrAHf+QSt7FTkWR4QbsjlbIX8IMH0VuuAqj4piGAbhmEPPzI/injnNxMUPuwOtseOIxKKTJ7/8BTBxDdXcjO9sJdTeg01VqH4wg3CDB9bshHMKORbGolVOmeRW09dVdUxkbp3ruNM7GXnS1hK5OYSoSbBDZBcxCBtF3DcUzk6hkhGA0RmtHKx1rOkE04lbzWC1tqMRt1CZHUafPIs8H6/JsNTcgN+9YFq1qgbBUFUvnK9qrVghXCvWN8MBmivueJDtylqaeBKWJaXR4JZEtNyBWrkGt6AJboCZO4J49Rc64xGIhcgtZgm6egKhgtUQQto17WeHOLqCNj5Vowbr7q4j+Lcs1JhhEphcXLTebd0jPwpkx6Lwa++bbCR95ALecp5a6BrvrJoLdHajmMOTnKb3+BrVMntjARpzeFbz8jcfpa22gGm+kMJlm95Zu9M9+iI5G0G3d6EgIUSnjzs/gv/Icgd6rqcvz0IeYWnXc8pEtYnEe8gtXNL7xz74LehHSE3DqNP7EIdx3p5DSh7JNJePiBE/gN3Uz8NWHae5sRJYXqKQvU+raQPg7L6L3/QNMHcfp6EREGjC5LDp9GaOs5VQ/NQI93YctOxFPlwniDh/C3n47JHvrQPTBl3DHjiIDQUQ4jGhOYcqaQFuE0Nl53OnLRHfsZV33KsTxd6GlHeaP477zMl5uAWv7dkyLg6kZREsb+vgCcvPOuoaYuWNQWERs3jAuQ6nooXK6TH566cXnrjQK7uwFaoseWA3oJf2WEhEJUjm/gMgXCfdvQlFFv/R3uCND6FIRv7MfMnOIiaPoI/8NEb2kWAhfoLbdjLr2jmUv/8f+pVbkHRGNnZHum2/udxxtCn4j/vgEIjNTD4O9upfIprUYoxBKo9Z14jumTq7YYD9WayvuR++hs1lkshmha4iuNeDYiIAFMoCevIi+cJHaa29gmvsRTUn0R29g9u1D7bxxv+jrRnpD56cCkdjfV9NzpA+8A5VlLojWAczlGVTAYKXimIU8MlsjtKEXgiF0aRGdm8cEYnXm+O+/gdAGuWsP3shhTHoOEYqCCEF2DsrF5f+e/xiikUldrT6l3z+GevSaTahaZdRY6uFqxRXR1sRyzU/21Gu6OTOMfzmPd6kI8TgiX8B4imouj1QCKmVUNITJ59AnR1F77kH4ZaRnQFroMyeRW3egdt6DwIX391Gshv+4LK2jtcuLqK9t7ALjZXzH1uVM/mb/7BTRnjZEex+idQ2EAnjjR/BdF1PIoV2Bae/F/fh9dL5IYE0XUmpMNo+ev4AINSJWb0UPHa63Z7SvRN3/CHJpFHj2G4iZzAuBbTu+GWpIEGxrQ/3RnlvxG5M4kYa3Lc2u4uyFblnIE+xfAbF2RMtqZGsn/uTYUgHH+dz9eFMnqYx8gO+CEwkjhcDPF/DLHurSaeTm3RiWMsDHeuDrSFvBv3+bi08+N1Vwuj/vZWtu+dwclZlFrESoeZmZysJXoTsCjnVk8dDQBuN+n8RDD9fbcdG7leBX1iOkQjhBOHmQfKGAHW3CS6fR+QClmYuYMyPY265DtPVgtfctiw4V/GcfYfGNQzj3/u4DqlormUoZEQwuc0I//eSnY4G0wPJjmdGhw+mh0fWxNZ0037cXccPd1MXgk+GjNE/tR3+Le+YEyg5TnT6LXlwgcu1u7C99HZlsv3K2+vjvkTs2RvDe3747tm7Dy1SKvzSYPP/MLwxFAkIKEzEye2zswOXX395lJyK0fOFzRHfuglQfqPin59Nn0RNDuJk09vprkd0brmx5H7xCbfgQbrZ83OkfvN1pj0+ZmkBYNhjzCwCeffr/AsBDJyU6kqBwbPzRuTcP/GXV82lYlaJpfQ+BjVdhXX0tNKTAjvzKqKXPTeC++1NKY0c9kVz1SGzb9X8tjIdfzSFCDfUw/noA0scPuxBrwcvmmH3rQIvMm3/y0XdJS4JfIpiIUG9g+wcg6KDnZpGZNDQ0Ii5cSAtlPRHYct13axWvJNwadiiAli4iEP8VAJ89HQtR129TLiG1nos0Nt8dSOi12qi9lRq3utVqT/lirql24hW3vLBQi3d3XUqu73+PZOonBNR/WnbYSMeGTO5/Xf6ZtwDwPwtFRezQVs+sAAAAAElFTkSuQmCC +// @grant none +// @license GPL-3.0 License +// @run-at document-end +// @namespace https://github.com/XIU2/UserScript +// ==/UserScript== + +(function() { + 'use strict'; + // 获取网页右侧滚动条宽度(如果获取不到就默认 15) + const scrollBarWidth = getScrollBarWidth() || 15 + document.addEventListener('contextmenu', function(e) { + // 检查右键点击的位置是否在滚动条区域(鼠标右键点击位置的水平坐标值 大于 网页宽度 - 滚动条宽度 - 10的冗余) + const isScrollbar = e.clientX > window.innerWidth - scrollBarWidth - 10; + if (isScrollbar) { + // 如果右键点击到的元素是 HTML,说明确定是点到了滚动条上面(点击事件会被浏览器透过滚动条响应给网页最根部的 HTML) + if (e.target.tagName === 'HTML') { + window.scrollTo(0,0); + } else if (e.target.tagName !== 'BODY') { // 如果右键点击到的既不是 HTML,也不是 BODY(因为右键单击滚动条左侧区域基本上都是 BODY 这个背景元素),那么可能是点击到了网页内嵌套元素的滚动条,那么就只需要这个元素回到顶部即可 + e.target.scrollTo(0,0); + } + e.preventDefault(); // 阻止默认事件(即弹出右键菜单) + e.stopPropagation(); // 停止继续向上冒泡(即向上传播触发其他的委托点击事件) + } + }); + + // 获取网页右侧滚动条宽度 + function getScrollBarWidth() { + // 创建一个临时的 div 元素 + const div = document.createElement('div'); + div.style.overflow = 'scroll'; // 强制出现滚动条 + div.style.visibility = 'hidden'; // 不要显示出来 + //div.style.msOverflowStyle = 'scrollbar'; // needed for WinJS apps? + div.style.width = '100px'; // 设置宽度 + div.style.height = '100px'; // 设置高度 + document.body.appendChild(div); // 将 div 添加到文档 + + // 创建一个内嵌的 div + const innerDiv = document.createElement('div'); + innerDiv.style.width = '100%'; // 设置宽度为 100% + innerDiv.style.height = '100%'; // 设置高度为 100% + div.appendChild(innerDiv); // 将内嵌 div 添加到外部 div + + // 计算滚动条宽度 + const scrollBarWidth = div.offsetWidth - innerDiv.offsetWidth; + + // 移除临时 div + div.parentNode.removeChild(div); + + return scrollBarWidth; // 返回滚动条宽度 + } +})(); \ No newline at end of file From 55f0ba4f2e0b390060d2165f5208622c9ea7669d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 5 Sep 2024 20:30:34 +0800 Subject: [PATCH 055/424] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[=E5=8F=B3?= =?UTF-8?q?=E9=94=AE=E6=BB=9A=E5=8A=A8=E6=9D=A1=E5=9B=9E=E5=88=B0=E9=A1=B6?= =?UTF-8?q?=E9=83=A8]=20=E5=AE=89=E8=A3=85=E5=9C=B0=E5=9D=80(GreasyFork)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fe7a3bc96..eb2440bd5 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ | [](https://hostloc.com) | **全球主机交流论坛 增强 \*** | **自动访问空间(22积分)、屏蔽用户**、屏蔽关键词、自动翻... | **[安装](https://greasyfork.org/zh-CN/scripts/414005)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/Hostloc-Enhanced.user.js)** | | [](https://store.steampowered.com) | **Steam 创意工坊大图 修复** | 修复 Steam 创意工坊预览大图无法显示的问题 | **[安装](https://bitbucket.org/xiu2/userscript/raw/master/SteamWorkshopImageRepair.user.js)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/SteamWorkshopImageRepair.user.js)** | | [](https://github.com/XIU2) | **HTML5 视频音频默认音量** | 避免被 100% 音量**吓一跳**!且支持各网站分别记住音量... | **[安装](https://greasyfork.org/zh-CN/scripts/438400)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/HTML5Volume.user.js)** | -| [](https://github.com/XIU2) | **右键滚动条回到顶部 \*** | 鼠标**右键**网页右侧的**滚动条**即可**回到顶部** | **[安装](https://greasyfork.org/zh-CN/scripts/429714)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/RightClick_ScrollBar_BackToTop.user.js)** | +| [](https://github.com/XIU2) | **右键滚动条回到顶部** | 鼠标**右键**网页右侧的**滚动条**即可**回到顶部** | **[安装](https://greasyfork.org/zh-CN/scripts/506959)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/RightClick_ScrollBar_BackToTop.user.js)** | | [](https://github.com/XIU2) | **新标签页打开链接 \*** | 将网页中所有链接改为**新标签页打开**(可能存在兼容问题 | **[安装](https://greasyfork.org/zh-CN/scripts/429714)** \| **[备用](https://bitbucket.org/xiu2/userscript/raw/master/TargetBlank.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://bitbucket.org/xiu2/userscript/raw/master/Zhiyoo-Beautification.user.js)**_~~ | From 55ad55bf510a0ac6c65469f1236abebfb1067778 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 7 Sep 2024 16:54:57 +0800 Subject: [PATCH 056/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Github=20-=20Comm?= =?UTF-8?q?its]=20=E6=94=AF=E6=8C=81(=E5=87=86=E7=A1=AE=E8=AF=B4=E6=98=AF?= =?UTF-8?q?=E6=81=A2=E5=A4=8D=E4=BA=86=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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index a9eb05bf5..5dbcf1aee 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4573,6 +4573,15 @@ "scrollD": 2500 } }, + "Github - Commits": { + "host": "github.com", + "url": "/\\/commits/", + "blank": 4, + "pager": { + "nextL": "a[data-testid=pagination-next-button]:not([aria-disabled])", + "pageE": ".Timeline-Item" + } + }, "Github - Tags": { "host": "github.com", "url": "/\\/tags$/", From 662d2d18803dea2a229214a6a97050673605cf17 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 7 Sep 2024 16:55:37 +0800 Subject: [PATCH 057/424] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[Github=20-=20Sear?= =?UTF-8?q?ch]=20=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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 5dbcf1aee..6a47f796d 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4605,8 +4605,10 @@ "Github - Search": { "host": "github.com", "url": "/\\/search\\?/", + "style": "header.AppHeader {position: fixed !important;width: 100% !important;top: 0px !important;z-index: 100 !important;} .application-main {margin-top: 64px !important;}", + "blank": 4, "pager": { - "nextL": "js; if (fun.getCSS('a[aria-current=page]')) {return fun.getNextEP('a[aria-current=page]+a','p=',/p=\\d+/)} else {return fun.getCSS('a.next_page').href}", + "nextL": "a[rel=next][class^=Pagination]", "pageE": "[data-testid=results-list]>div,.repo-list>li,.code-list-item,#commit_search_results>div,.issue-list-item,.discussion-list-item,#package_search_results>div,#marketplace_search_results>div:first-child>div,.topic-list-item,#wiki_search_results>div:first-child>div,#user_search_results>div:first-child>div", "replaceE": "nav[class^='Pagination__PaginationContainer'],.pagination" } From e9949fbd955055b5f98941cea11d440f288b6db0 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 7 Sep 2024 16:56:45 +0800 Subject: [PATCH 058/424] =?UTF-8?q?=E8=B0=83=E6=95=B4=20[Github]=20?= =?UTF-8?q?=E8=A7=84=E5=88=99=E9=83=BD=E5=90=AF=E7=94=A8=E6=96=B0=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E9=A1=B5=E6=89=93=E5=BC=80=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 6a47f796d..a50d41307 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4556,21 +4556,21 @@ "Github - Star/Repositories/Dependents/NotificationsSubscriptions": { "host": "github.com", "url": "/(tab=(stars|repositories)|\\/network\\/dependents|^\\/notifications\\/subscriptions(\\?|$))/", + "blank": 4, "pager": { "nextL": ".paginate-container>div>:last-child", "pageE": "#user-starred-repos div[class^='col-']:first-of-type>div:not(.position-relative):not(.paginate-container),#user-repositories-list>ul>li,.Box>[data-test-id='dg-repo-pkg-dependent'],#threads-unsubscribe-form>ul>li", - "replaceE": ".paginate-container", - "scrollD": 2500 + "replaceE": ".paginate-container" } }, "Github - Issues/Pull/Discussions/Releases/Actions/OrgRepositories": { "host": "github.com", "url": "return (fun.indexOF(/\\/(issues|pulls|discussions|releases)$/) || fun.indexOF('/discussions/categories') || fun.indexOF(/\\/actions($|\\/workflows)/) || fun.indexOF(/^\\/orgs\\/.+\\/repositories/))", + "blank": 4, "pager": { "nextL": "a.next_page", "pageE": "div[id^='issue_'],ul[aria-labelledby='discussions-list']>li,#release_page_title+div[data-pjax]>section,div[id^='check_suite_'],#org-repositories li.Box-row", - "replaceE": ".pagination", - "scrollD": 2500 + "replaceE": ".pagination" } }, "Github - Commits": { @@ -4584,22 +4584,22 @@ }, "Github - Tags": { "host": "github.com", - "url": "/\\/tags$/", + "url": "/\\/tags/", + "blank": 4, "pager": { "nextL": ".pagination>:last-child", "pageE": ".Box-body>div.Box-row", - "replaceE": ".pagination", - "scrollD": 2500 + "replaceE": ".pagination" } }, "Github - Notifications": { "host": "github.com", "url": "/^\\/notifications(\\?|$)/", + "blank": 4, "pager": { "nextL": "nav.paginate-container>a[aria-label='Next']", "pageE": "li.notifications-list-item", - "replaceE": "nav.paginate-container,.js-notifications-list-paginator-counts", - "scrollD": 2500 + "replaceE": "nav.paginate-container,.js-notifications-list-paginator-counts" } }, "Github - Search": { From 0ac2cb4e468826ad21a2cf4c28a925e00aaaca18 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 7 Sep 2024 19:15:18 +0800 Subject: [PATCH 059/424] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[Github=20-=20Comm?= =?UTF-8?q?its]=20=E8=A7=84=E5=88=99(=E9=9A=90=E8=97=8F=E7=81=B0=E8=89=B2?= =?UTF-8?q?=E9=81=AE=E7=BD=A9=E5=8A=A8=E7=94=BB)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 1 + 1 file changed, 1 insertion(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index a50d41307..af5031cc1 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4576,6 +4576,7 @@ "Github - Commits": { "host": "github.com", "url": "/\\/commits/", + "style": "[class*=LoadingSkeleton-sc-]", "blank": 4, "pager": { "nextL": "a[data-testid=pagination-next-button]:not([aria-disabled])", From 8109af47c90f8b51b853f8113913d918bfb115ad Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 8 Sep 2024 10:36:00 +0800 Subject: [PATCH 060/424] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E6=8C=87=E5=AE=9A=E7=B1=BB=E5=88=AB=20-=20=E8=B5=9E?= =?UTF-8?q?=E5=90=8C=E4=BA=86XX]=E3=80=81[=E5=B1=8F=E8=94=BD=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E7=B1=BB=E5=88=AB=20-=20=E5=85=B3=E6=B3=A8=E4=BA=86XX?= =?UTF-8?q?]=20(=E5=85=B3=E6=B3=A8=E9=A1=B5);=20=E4=BF=AE=E5=A4=8D=20[?= =?UTF-8?q?=E5=B1=8F=E8=94=BD=E6=8C=87=E5=AE=9A=E7=B1=BB=E5=88=AB=20-=20?= =?UTF-8?q?=E6=83=B3=E6=B3=95]=20=E5=9C=A8=E5=85=B3=E6=B3=A8=E9=A1=B5?= =?UTF-8?q?=E5=A4=B1=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index b0fa16734..9cdca3cd0 100644 --- a/Zhihu-Enhanced.user.js +++ b/Zhihu-Enhanced.user.js @@ -3,10 +3,10 @@ // @name:zh-CN 知乎增强 // @name:zh-TW 知乎增強 // @name:en Zhihu enhancement -// @version 2.3.6 +// @version 2.3.7 // @author X.I.U -// @description 屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容/热榜杂项、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、默认高清原图(无水印)、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认站外直链... -// @description:zh-TW 屏蔽首頁視頻、默認收起回答、快捷收起回答/評論、快捷回到頂部、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化搜索熱門、淨化標題消息、默認高清原圖(無水印)、置頂顯示時間、完整問題時間、區分問題文章、默認站外直鏈... +// @description 屏蔽指定类别(视频、盐选、文章、想法、关注[赞同了XX/关注了XX]等等)、屏蔽用户、屏蔽关键词、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、区分问题文章、移除高亮链接、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、默认高清原图(无水印)、置顶显示时间、完整问题时间、直达问题按钮、默认站外直链... +// @description:zh-TW 屏蔽指定類別(視頻、鹽選、文章、想法、關注[贊同了XX/關注了XX]等等)、屏蔽用戶、屏蔽關鍵詞、默認收起回答、快捷收起回答/評論、快捷回到頂部、區分問題文章、移除高亮鏈接、默認高清原圖(無水印)、默認站外直鏈... // @description:en A more personalized Zhihu experience~ // @match *://www.zhihu.com/* // @match *://zhuanlan.zhihu.com/* @@ -44,6 +44,8 @@ var menu_ALL = [ ['menu_blockTypeVideo', '视频 [首页、搜索页、问题页]', '视频(首页、搜索页、问题页)', true], ['menu_blockTypeArticle', '文章 [首页、搜索页]', '文章(首页、搜索页)', false], ['menu_blockTypePin', '想法 [首页]', '想法(首页)', false], + ['menu_blockTypeFollowAgree', '赞同了XX [首页 - 关注]', '赞同了XX(首页 - 关注)', false], + ['menu_blockTypeFollowQuestion', '关注了XX [首页 - 关注]', '关注了XX(首页 - 关注)', false], ['menu_blockTypeTopic', '话题 [搜索页]', '话题(搜索页)', false], ['menu_blockTypeSearch', '杂志文章、盐选专栏、相关搜索等 [搜索页]', '相关搜索、杂志、盐选等(搜索页)', false], ['menu_blockYanXuan', '盐选内容 [问题页]', '盐选内容(问题页)', false], @@ -75,9 +77,9 @@ function registerMenuCommand() { if (menu_value('menu_blockKeywords')) menu_ID[i] = GM_registerMenuCommand(`#️⃣ ${menu_ALL[i][1]}`, function(){customBlockKeywords()}); } else if (menu_ALL[i][0] === 'menu_blockKeywordsComment') { // 只有 [屏蔽指定关键词] 启用时,才注册菜单 [屏蔽关键词 - 评论区] if (menu_value('menu_blockKeywords')) menu_ID[i] = GM_registerMenuCommand(`${menu_ALL[i][3]?'✅':'❌'} ${menu_ALL[i][1]}`, function(){menu_switch(`${menu_ALL[i][3]}`,`${menu_ALL[i][0]}`,`${menu_ALL[i][2]}`)}); - } else if (menu_ALL[i][0] === 'menu_blockType') { - menu_ID[i] = GM_registerMenuCommand(`#️⃣ ${menu_ALL[i][1]}`, function(){menu_setting('checkbox', menu_ALL[i][1], menu_ALL[i][2], true, [menu_ALL[i+1], menu_ALL[i+2], menu_ALL[i+3], menu_ALL[i+4], menu_ALL[i+5], menu_ALL[i+6], menu_ALL[i+7]])}); - } else if (menu_ALL[i][0] != 'menu_blockTypeVideo' && menu_ALL[i][0] != 'menu_blockTypeArticle' && menu_ALL[i][0] != 'menu_blockTypePin' && menu_ALL[i][0] != 'menu_blockTypeTopic' && menu_ALL[i][0] != 'menu_blockTypeSearch' && menu_ALL[i][0] != 'menu_blockYanXuan' && menu_ALL[i][0] != 'menu_blockTypeLiveHot') { + } else if (menu_ALL[i][0] === 'menu_blockType') { // 屏蔽指定类别 使用单独的设置界面 + menu_ID[i] = GM_registerMenuCommand(`#️⃣ ${menu_ALL[i][1]}`, function(){menu_setting('checkbox', menu_ALL[i][1], menu_ALL[i][2], true, [menu_ALL[i+1], menu_ALL[i+2], menu_ALL[i+3], menu_ALL[i+4], menu_ALL[i+5], menu_ALL[i+6], menu_ALL[i+7], menu_ALL[i+8], menu_ALL[i+9]])}); + } else if (menu_ALL[i][0].indexOf('menu_blockType') == -1 && menu_ALL[i][0] != 'menu_blockYanXuan') { // 排除使用单独设置界面的 屏蔽指定类别 项 menu_ID[i] = GM_registerMenuCommand(`${menu_ALL[i][3]?'✅':'❌'} ${menu_ALL[i][1]}`, function(){menu_switch(`${menu_ALL[i][3]}`,`${menu_ALL[i][0]}`,`${menu_ALL[i][2]}`)}); } } @@ -925,6 +927,12 @@ function blockType(type) { document.lastChild.appendChild(document.createElement('style')).textContent = `.VideoAnswerPlayer, .VideoAnswerPlayer video, .VideoAnswerPlayer-video, .VideoAnswerPlayer-iframe {display: none !important;}`; name = '.VideoAnswerPlayer' document.querySelectorAll(name).forEach(function(item){blockType_(item);}) + } else if (type === 'follow') { // 首页 - 关注 + if (!menu_value('menu_blockTypeFollowAgree') && !menu_value('menu_blockTypeFollowQuestion')) return + if (menu_value('menu_blockTypeFollowAgree')) name = '.TopstoryItem-isFollow .FeedSource-byline' // 赞同了XX + if (menu_value('menu_blockTypeFollowQuestion')) {if (name) {name += ',.ContentItem[data-za-detail-view-path-module=QuestionItem]:not(.AnswerItem):not(.PinItem)'} else {name = '.ContentItem[data-za-detail-view-path-module=QuestionItem]:not(.AnswerItem):not(.PinItem)'}} // 关注了XX + if (!name) return + document.querySelectorAll(name).forEach(function(item){blockType_(item);}) } else { // 首页 if (!menu_value('menu_blockTypeVideo') && !menu_value('menu_blockTypeArticle') && !menu_value('menu_blockTypePin')) return if (menu_value('menu_blockTypeVideo')) document.lastChild.appendChild(document.createElement('style')).textContent = `.Card .ZVideoItem-video, .VideoAnswerPlayer video, nav.TopstoryTabs > a[aria-controls="Topstory-zvideo"] {display: none !important;}`; @@ -971,6 +979,11 @@ function blockType(type) { } } else if (location.pathname.indexOf('/question/') > -1) { // 问题页 if (menu_value('menu_blockTypeVideo')) findParentElement(titleA, 'List-item').hidden = true; + } else if (location.pathname.indexOf('/follow') > -1) { // 首页 - 关注 + if (type === 'follow') { + if ((menu_value('menu_blockTypeFollowAgree') && titleA.className.indexOf('FeedSource-byline') != -1) || (menu_value('menu_blockTypeFollowQuestion') && titleA.dataset.zaDetailViewPathModule == 'QuestionItem')) findParentElement(titleA, 'Card TopstoryItem TopstoryItem-isFollow').hidden = true; // 赞同了XX + 关注了XX + } + if (titleA.className == 'ContentItem PinItem' && menu_value('menu_blockTypePin')) findParentElement(titleA, 'Card TopstoryItem TopstoryItem-isFollow').hidden = true; // 如果是想法 } else { // 首页 if (titleA.className == 'ContentItem PinItem') { // 如果是想法(针对无标题) if (menu_value('menu_blockTypePin')) findParentElement(titleA, 'Card TopstoryItem TopstoryItem-isRecommend').hidden = true; @@ -982,7 +995,7 @@ function blockType(type) { if (findParentElement(titleA, 'ContentItem AnswerItem').querySelector('.VideoAnswerPlayer')) { if (menu_value('menu_blockTypeVideo')) {findParentElement(titleA, 'Card TopstoryItem TopstoryItem-isRecommend').hidden = true; findParentElement(titleA, 'ContentItem AnswerItem').remove();} } - } else if (titleA.href.indexOf('/education/video-course/') > -1) { // 如果是視頻課程 + } else if (titleA.href.indexOf('/education/video-course/') > -1) { // 如果是视频课程 if (menu_value('menu_blockTypeVideo')) {findParentElement(titleA, 'Card TopstoryItem TopstoryItem-isRecommend').hidden = true;} } else if (titleA.href.indexOf('zhuanlan.zhihu.com') > -1) { // 如果是文章 if (menu_value('menu_blockTypeArticle')) findParentElement(titleA, 'Card TopstoryItem TopstoryItem-isRecommend').hidden = true; @@ -1619,6 +1632,7 @@ function blockHotOther() { } else if (location.pathname == '/follow') { // 关注 blockKeywords('follow'); // 屏蔽指定关键词 blockType(); // 屏蔽指定类别(视频/文章等) + blockType('follow'); // 屏蔽指定类别(赞同了XX/关注了XX等) } else { blockUsers(); } From 7c4c877e3a0b8cc1372d5a502d0130e64f3ec201 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 8 Sep 2024 10:49:03 +0800 Subject: [PATCH 061/424] =?UTF-8?q?=E8=B0=83=E6=95=B4=20[=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E6=8C=87=E5=AE=9A=E7=B1=BB=E5=88=AB]=20=E4=B8=AD?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=85=B3=E6=B3=A8=E9=A1=B5=E7=9A=84=E9=83=BD?= =?UTF-8?q?=E7=BB=99=E6=96=87=E5=AD=97=E6=A0=87=E6=B3=A8=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index 9cdca3cd0..25a41b7f8 100644 --- a/Zhihu-Enhanced.user.js +++ b/Zhihu-Enhanced.user.js @@ -41,11 +41,11 @@ var menu_ALL = [ ['menu_blockKeywordsComment', '屏蔽关键词 - 评论区', '屏蔽关键词 - 评论区', true], ['menu_customBlockKeywords', '自定义屏蔽关键词', '自定义屏蔽关键词', []], ['menu_blockType', '屏蔽指定类别 (视频/文章等)', '勾选 = 屏蔽该类别的信息流', ''], - ['menu_blockTypeVideo', '视频 [首页、搜索页、问题页]', '视频(首页、搜索页、问题页)', true], - ['menu_blockTypeArticle', '文章 [首页、搜索页]', '文章(首页、搜索页)', false], - ['menu_blockTypePin', '想法 [首页]', '想法(首页)', false], - ['menu_blockTypeFollowAgree', '赞同了XX [首页 - 关注]', '赞同了XX(首页 - 关注)', false], - ['menu_blockTypeFollowQuestion', '关注了XX [首页 - 关注]', '关注了XX(首页 - 关注)', false], + ['menu_blockTypeVideo', '视频 [首页、搜索页、问题页、关注页]', '视频(首页、搜索页、问题页、关注页)', true], + ['menu_blockTypeArticle', '文章 [首页、搜索页、关注页]', '文章(首页、搜索页、关注页)', false], + ['menu_blockTypePin', '想法 [首页、关注页]', '想法(首页、关注页)', false], + ['menu_blockTypeFollowAgree', '赞同了XX [关注页]', '赞同了XX(关注页)', false], + ['menu_blockTypeFollowQuestion', '关注了XX [关注页]', '关注了XX(关注页)', false], ['menu_blockTypeTopic', '话题 [搜索页]', '话题(搜索页)', false], ['menu_blockTypeSearch', '杂志文章、盐选专栏、相关搜索等 [搜索页]', '相关搜索、杂志、盐选等(搜索页)', false], ['menu_blockYanXuan', '盐选内容 [问题页]', '盐选内容(问题页)', false], From 02930291ad4d5b3737c513fc57f13241edaa91ec Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 8 Sep 2024 14:47:39 +0800 Subject: [PATCH 062/424] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20[=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E6=8C=87=E5=AE=9A=E7=B1=BB=E5=88=AB=20-=20=E8=B5=9E?= =?UTF-8?q?=E5=90=8C=E4=BA=86XX]=E3=80=81[=E5=B1=8F=E8=94=BD=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E7=B1=BB=E5=88=AB=20-=20=E5=85=B3=E6=B3=A8=E4=BA=86XX?= =?UTF-8?q?]=20=E5=9C=A8=E4=BB=8E=E9=A6=96=E9=A1=B5=E6=8E=A8=E8=8D=90/?= =?UTF-8?q?=E7=83=AD=E6=A6=9C=E7=AD=89=E5=88=87=E6=8D=A2=E5=88=B0=E5=85=B3?= =?UTF-8?q?=E6=B3=A8=E9=A1=B5=E6=97=B6=E6=B2=A1=E6=9C=89=E7=94=9F=E6=95=88?= =?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 --- Zhihu-Enhanced.user.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index 25a41b7f8..ccb3edd77 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.7 +// @version 2.3.8 // @author X.I.U // @description 屏蔽指定类别(视频、盐选、文章、想法、关注[赞同了XX/关注了XX]等等)、屏蔽用户、屏蔽关键词、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、区分问题文章、移除高亮链接、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、默认高清原图(无水印)、置顶显示时间、完整问题时间、直达问题按钮、默认站外直链... // @description:zh-TW 屏蔽指定類別(視頻、鹽選、文章、想法、關注[贊同了XX/關注了XX]等等)、屏蔽用戶、屏蔽關鍵詞、默認收起回答、快捷收起回答/評論、快捷回到頂部、區分問題文章、移除高亮鏈接、默認高清原圖(無水印)、默認站外直鏈... @@ -1513,6 +1513,7 @@ function blockHotOther() { setTimeout(()=>{ blockKeywords('follow'); // 屏蔽指定关键词 blockType(); // 屏蔽指定类别(视频/文章等) + blockType('follow'); // 屏蔽指定类别(赞同了XX/关注了XX等) }, 500); } }) 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 063/424] =?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 064/424] =?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 065/424] =?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 066/424] =?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 067/424] =?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 068/424] =?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 069/424] =?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 070/424] =?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 071/424] =?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 072/424] =?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(比如包含 `,` 与 `|` 符号),除非另外的选择器是