From 573d1398e8ec2d20b8768c3c6b114443877c4374 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 2 Apr 2022 15:36:09 +0800 Subject: [PATCH 0001/1177] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=BC=AB?= =?UTF-8?q?=E7=94=BB=E4=BA=BA]=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 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index b95936a94..e7db24443 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2619,6 +2619,24 @@ "replaceE": ".pages" } }, + "漫画人": { + "host": "www.manhuaren.com", + "url": "if (fun.indexOF(/^\\/m\\d/)) {let _img=''; for (let i=0;i`;}; document.getElementById('cp_img').innerHTML = _img; return true;}", + "style": "#cp_img > img {min-height: 200px;}", + "history": true, + "pager": { + "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", + "scriptT": 2, + "interval": 5000, + "scrollD": 2000 + }, + "function": { + "aF": "let _img=''; for (let i=0;i`;}; document.getElementById('cp_img').insertAdjacentHTML('beforeend', _img);" + } + }, "拷贝漫画": { "host": "/copymanga\\./", "url": "/\\/chapter\\//", From 365914a047e6cc267cb848ec22482454297c7252 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 2 Apr 2022 20:19:39 +0800 Subject: [PATCH 0002/1177] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Steam=20?= =?UTF-8?q?=E5=88=9B=E6=84=8F=E5=B7=A5=E5=9D=8A=20-=20=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=BD=9C=E5=93=81=E9=A1=B5]=20=E6=94=AF=E6=8C=81;=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20[=E7=AC=94=E8=B6=A3=E9=98=81]=20=E9=80=9A=E7=94=A8?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 113 ++++++++++++++++++++++---------------- other/Autopage/rules.json | 16 +----- 2 files changed, 67 insertions(+), 62 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index ce9519d1b..a8f75b693 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.5.7 +// @version 5.5.8 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... // @description:zh-TW ⭐無縫銜接下一頁內容到網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~ @@ -262,12 +262,12 @@ } else if (getCSS('.stui-page, .stui-page__item') && getCSS('li.active.hidden-xs+li.hidden-xs>a') && getCSS('.stui-vodlist')) { console.info(`[自动无缝翻页] - 部分影视网站`); return 300; - } else if (getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"]') || location.hostname.indexOf('biqu') > -1 || document.title.indexOf('笔趣阁') > -1) { - if (getCSS('[id="content" i], [class~="content" i], [id="chaptercontent" i], [class~="chaptercontent" i], [id="booktext" i], [id="txtcontent" i]') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { - console.info(`[自动无缝翻页] - <笔趣阁 1> 模板的小说网站`); return 200; - } else if (getCSS('#txt, .txt') && getCSS('#pb_next, .url_next') && getCSS('.chapter-control, .chapter-page-btn')) { - console.info(`[自动无缝翻页] - <笔趣阁 2> 模板的小说网站`); return 201; - } + } else if (getCSS('.content > #content') && getCSS('.page_chapter') && getXpath('//div[@class="page_chapter"]//a[text()="下一章"]')) { + console.info(`[自动无缝翻页] - <笔趣阁 1> 模板的小说网站`); return 200; + } else if (getCSS('#txt, .txt') && getCSS('#pb_next, .url_next') && getCSS('.chapter-control, .chapter-page-btn')) { + console.info(`[自动无缝翻页] - <笔趣阁 2> 模板的小说网站`); return 201; + } else if ((getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"]') || location.hostname.indexOf('biqu') > -1 || document.title.indexOf('笔趣阁') > -1 || document.title.indexOf('小说') > -1) && (getCSS('[id="content" i], [class~="content" i], [id="chaptercontent" i], [class~="chaptercontent" i], [id="booktext" i], [id="txtcontent" i]') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]'))) { + console.info(`[自动无缝翻页] - <笔趣阁 3> 模板的小说网站`); return 202; } return 0; } @@ -304,9 +304,11 @@ case 150: // < 部分使用 Typecho 的网站 (handsome) > curSite = DBSite.typecho_handsome; break; case 200: // < 所有使用 笔趣阁 1 模板的小说网站 > - curSite = DBSite.biquge; break; + DBSite.biquge1.url(); break; case 201: // < 所有使用 笔趣阁 2 模板的小说网站 > DBSite.biquge2.url(); break; + case 202: // < 所有使用 笔趣阁 3 模板的小说网站 > + curSite = DBSite.biquge3; break; case 300: // < 部分影视网站 > curSite = DBSite.yingshi; break; } @@ -413,6 +415,61 @@ function: { scrollD: 2000 } }, // 部分使用 Typecho 的网站 (handsome) + biquge1: { + url: ()=> {curSite = DBSite.biquge1;xs_bF(getAllCSS('.content > #content'),[/
.{0,10}秒记住.+$/, '']);}, + style: 'img, .posterror, a[href*="posterror()"], [style*="url("], #content > *:not(br) {display: none !important;}', + history: true, + pager: { + nextL: '//div[@class="page_chapter"]//a[text()="下一章"]', + pageE: '.content > #content', + insertP: ['.content > #content', 6], + replaceE: '.page_chapter' + }, + function: { + bF: xs_bF, + bFp: [/
.{0,10}秒记住.+$/, ''] + } + }, // 笔趣阁 模板的小说网站 + biquge2: { + url: ()=> {if (isMobile() || getCSS('.chapter-page-btn') != null) {curSite = DBSite.biquge2_m;} else {curSite = DBSite.biquge2;}}, + style: 'img, .posterror, a[href*="posterror()"], [style*="url("], #txt > *:not(br) {display: none !important;}', + history: true, + pager: { + type: 6, + nextL: '#pb_next, .url_next', + pageE: '#txt, .txt', + insertP: ['#txt, .txt', 6], + replaceE: '.chapter-control, .chapter-page-btn', + loadTime: 1500, + scrollD: 3500 + } + }, // 笔趣阁 2 模板的小说网站 + biquge2_m: { + style: 'img, .posterror, a[href*="posterror()"], [style*="url("], #txt > *:not(br) {display: none !important;}', + history: true, + pager: { + nextL: '#pb_next, .url_next', + pageE: '#txt, .txt', + insertP: ['#txt, .txt', 6], + replaceE: '.chapter-control, .chapter-page-btn', + scrollD: 2000 + } + }, // 笔趣阁 2 模板的小说网站 + biquge3: { + style: 'img, .posterror, a[href*="posterror()"], [style*="url("], script+div[style="padding:15px;"] {display: none !important;}', + history: true, + pager: { + nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页")]', + pageE: '[id="content" i], [class~="content" i], [id="chaptercontent" i], [class~="chaptercontent" i], [id="booktext" i], [id="txtcontent" i]', + insertP: ['[id="content" i], [class~="content" i], [id="chaptercontent" i], [class~="chaptercontent" i], [id="booktext" i], [id="txtcontent" i]', 6], + insertP6Br: true, + replaceE: '//a[contains(text(), "下一章") or contains(text(), "下一页")]/parent::*' + }, + function: { + bF: xs_bF, + bFp: [/
.{0,10}秒记住.+$/, ''] + } + }, // 笔趣阁 模板的小说网站 yingshi: { style: 'div.stui-page__all {display: none !important;}', blank: 3, @@ -614,42 +671,6 @@ function: { replaceE: '//p[@align][./font[@class="gray"]]' } }, // NexusPHP 论坛 - biquge: { - style: 'img, .posterror, a[href*="posterror()"], [style*="url("] {display: none !important;}', - history: true, - pager: { - nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页")]', - pageE: '[id="content" i], [class~="content" i], [id="chaptercontent" i], [class~="chaptercontent" i], [id="booktext" i], [id="txtcontent" i]', - insertP: ['[id="content" i], [class~="content" i], [id="chaptercontent" i], [class~="chaptercontent" i], [id="booktext" i], [id="txtcontent" i]', 6], - insertP6Br: true, - replaceE: '//a[contains(text(), "下一章") or contains(text(), "下一页")]/parent::*' - } - }, // 笔趣阁 模板的小说网站 - biquge2: { - url: ()=> {if (isMobile() || getCSS('.chapter-page-btn') != null) {curSite = DBSite.biquge2_m;} else {curSite = DBSite.biquge2;}}, - style: 'img, .posterror, a[href*="posterror()"], [style*="url("], #txt > *:not(br) {display: none !important;}', - history: true, - pager: { - type: 6, - nextL: '#pb_next, .url_next', - pageE: '#txt, .txt', - insertP: ['#txt, .txt', 6], - replaceE: '.chapter-control, .chapter-page-btn', - loadTime: 1500, - scrollD: 3500 - } - }, // 笔趣阁 2 模板的小说网站 - biquge2_m: { - style: 'img, .posterror, a[href*="posterror()"], [style*="url("], #txt > *:not(br) {display: none !important;}', - history: true, - pager: { - nextL: '#pb_next, .url_next', - pageE: '#txt, .txt', - insertP: ['#txt, .txt', 6], - replaceE: '.chapter-control, .chapter-page-btn', - scrollD: 2000 - } - }, // 笔趣阁 2 模板的小说网站 baidu_tieba: { host: ['tieba.baidu.com', 'jump2.bdimg.com'], url: ()=> {if (location.hostname == 'jump2.bdimg.com') location.hostname = 'tieba.baidu.com'; @@ -2985,9 +3006,7 @@ function: { } // 文字型插入前函数(正则过滤) function xs_bF(pageE, reg) { - pageE.forEach(function (one) { - one.innerHTML = one.innerHTML.replace(reg[0], reg[1]) - }); + pageE.forEach(function (one) {one.innerHTML = one.innerHTML.replace(reg[0], reg[1])}); return pageE } diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index e7db24443..e95a546c2 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1718,7 +1718,7 @@ }, "Steam 创意工坊 - 项目列表": { "host": "steamcommunity.com", - "url": "return (fun.indexOF('/workshop/browse'))", + "url": "return (fun.indexOF('/workshop/browse') || fun.indexOF('/myworkshopfiles/'))", "pager": { "nextL": "//a[@class='pagebtn' and text()='>']", "pageE": ".workshopBrowseItems>*", @@ -2922,20 +2922,6 @@ "bF": "return fun.xs_bF(pageE, [/(
)?( )+内容未完,下一页.*$|【本章阅读.*$/, '
'])" } }, - "零点看书": { - "host": "www.ldksw.cc", - "url": "/\\d+\\/\\d+\\.html/", - "history": true, - "pager": { - "nextL": "//div[@class='page_chapter']//a[text()='下一章']", - "pageE": "#content", - "insertP": ["#content",6], - "replaceE": ".page_chapter" - }, - "function": { - "bF": "return fun.xs_bF(pageE, [/
( )+天才一秒记住本站地址.+/, ''])" - } - }, "笔趣阁 - cnhxfilm.com": { "host": "www.cnhxfilm.com", "url": "/\\d+\\/\\d+\\.html/", From 48d210087db0c3ac5e927ba3c59e9cb645cd29d0 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 2 Apr 2022 22:01:25 +0800 Subject: [PATCH 0003/1177] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=AC=94?= =?UTF-8?q?=E8=B6=A3=E9=98=81=20-=20=E6=89=8B=E6=9C=BA=E7=89=88]=20?= =?UTF-8?q?=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index a8f75b693..0c3afb0b4 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.5.8 +// @version 5.5.9 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... // @description:zh-TW ⭐無縫銜接下一頁內容到網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~ @@ -264,10 +264,12 @@ } else if (getCSS('.content > #content') && getCSS('.page_chapter') && getXpath('//div[@class="page_chapter"]//a[text()="下一章"]')) { console.info(`[自动无缝翻页] - <笔趣阁 1> 模板的小说网站`); return 200; + } else if (getCSS('#nr1') && getCSS('.nr_page') && getCSS('#pb_next')) { + console.info(`[自动无缝翻页] - <笔趣阁 2 - 手机版> 模板的小说网站`); return 201; } else if (getCSS('#txt, .txt') && getCSS('#pb_next, .url_next') && getCSS('.chapter-control, .chapter-page-btn')) { - console.info(`[自动无缝翻页] - <笔趣阁 2> 模板的小说网站`); return 201; - } else if ((getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"]') || location.hostname.indexOf('biqu') > -1 || document.title.indexOf('笔趣阁') > -1 || document.title.indexOf('小说') > -1) && (getCSS('[id="content" i], [class~="content" i], [id="chaptercontent" i], [class~="chaptercontent" i], [id="booktext" i], [id="txtcontent" i]') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]'))) { console.info(`[自动无缝翻页] - <笔趣阁 3> 模板的小说网站`); return 202; + } else if ((getCSS('meta[name="description" i][content*="小说"], meta[name="description" i][content*="章节"], meta[name="description" i][content*="阅读"]') || location.hostname.indexOf('biqu') > -1 || document.title.indexOf('笔趣阁') > -1 || document.title.indexOf('小说') > -1) && (getCSS('[id="content" i], [class~="content" i], [id="chaptercontent" i], [class~="chaptercontent" i], [id="booktext" i], [id="txtcontent" i]') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]'))) { + console.info(`[自动无缝翻页] - <笔趣阁 4> 模板的小说网站`); return 203; } return 0; } @@ -305,9 +307,11 @@ curSite = DBSite.typecho_handsome; break; case 200: // < 所有使用 笔趣阁 1 模板的小说网站 > DBSite.biquge1.url(); break; - case 201: // < 所有使用 笔趣阁 2 模板的小说网站 > - DBSite.biquge2.url(); break; + case 201: // < 所有使用 笔趣阁 2 - 手机版 模板的小说网站 > + curSite = DBSite.biquge1_m; break; case 202: // < 所有使用 笔趣阁 3 模板的小说网站 > + DBSite.biquge2.url(); break; + case 203: // < 所有使用 笔趣阁 4 模板的小说网站 > curSite = DBSite.biquge3; break; case 300: // < 部分影视网站 > curSite = DBSite.yingshi; break; @@ -429,7 +433,17 @@ function: { bF: xs_bF, bFp: [/
.{0,10}秒记住.+$/, ''] } - }, // 笔趣阁 模板的小说网站 + }, // 笔趣阁 1 模板的小说网站 + biquge1_m: { + style: 'img, .posterror, .show-app2, a[href*="posterror()"], [onclick*="location.href"], [style*="url("], #nr1 > *:not(br) {display: none !important;}', + history: true, + pager: { + nextL: '#pb_next', + pageE: '#nr1', + insertP: ['#nr1', 6], + replaceE: '.nr_page' + } + }, // 笔趣阁 2 - 手机版 模板的小说网站 biquge2: { url: ()=> {if (isMobile() || getCSS('.chapter-page-btn') != null) {curSite = DBSite.biquge2_m;} else {curSite = DBSite.biquge2;}}, style: 'img, .posterror, a[href*="posterror()"], [style*="url("], #txt > *:not(br) {display: none !important;}', @@ -443,7 +457,7 @@ function: { loadTime: 1500, scrollD: 3500 } - }, // 笔趣阁 2 模板的小说网站 + }, // 笔趣阁 3 模板的小说网站 biquge2_m: { style: 'img, .posterror, a[href*="posterror()"], [style*="url("], #txt > *:not(br) {display: none !important;}', history: true, @@ -454,7 +468,7 @@ function: { replaceE: '.chapter-control, .chapter-page-btn', scrollD: 2000 } - }, // 笔趣阁 2 模板的小说网站 + }, // 笔趣阁 3 - 手机版 模板的小说网站 biquge3: { style: 'img, .posterror, a[href*="posterror()"], [style*="url("], script+div[style="padding:15px;"] {display: none !important;}', history: true, @@ -469,7 +483,7 @@ function: { bF: xs_bF, bFp: [/
.{0,10}秒记住.+$/, ''] } - }, // 笔趣阁 模板的小说网站 + }, // 笔趣阁 4 模板的小说网站 yingshi: { style: 'div.stui-page__all {display: none !important;}', blank: 3, From 87d21bb7ec67058452d683379dfd600fc96702b4 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 3 Apr 2022 09:30:54 +0800 Subject: [PATCH 0004/1177] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=BC=AB?= =?UTF-8?q?=E6=BC=AB=E8=81=9A]=20=E6=94=AF=E6=8C=81;=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=20=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 10 +++++++--- other/Autopage/rules.json | 13 +++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 0c3afb0b4..a1bc2e779 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.5.9 +// @version 5.6.0 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... // @description:zh-TW ⭐無縫銜接下一頁內容到網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~ @@ -821,6 +821,7 @@ function: { nextL: cartoonmad_nextL, pageE: 'body > table > tbody > tr:nth-child(4) > td > table > tbody > tr:first-child > td:first-child img', replaceE: 'body > table > tbody > tr:nth-child(2), body > table > tbody > tr:nth-child(5)', + interval: 0, scrollD: 2000 } }, // 动漫狂 @@ -1321,6 +1322,7 @@ function: { pageE: '.comicpage > div', insertP: ['.comicpage', 3], replaceE: '.fanye,h1.title', + interval: 0, scrollD: 2000 }, function: { @@ -1480,7 +1482,8 @@ function: { type: 4, nextL: coolkeyan_nextL, insertP: ['//div[contains(@class, "q-img__image")][last()]', 4], - insertE: coolkeyan_insertE + insertE: coolkeyan_insertE, + interval: 0 } }, // 酷科研 nsfc: { @@ -1491,7 +1494,8 @@ function: { type: 4, nextL: nsfc_nextL, insertP: ['#pageNoUl', 1], - insertE: nsfc_insertE + insertE: nsfc_insertE, + interval: 0 } } // 国家自然科学基金 }; diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index e95a546c2..4e4dd6145 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2576,6 +2576,19 @@ "scrollD": 2000 } }, + "漫漫聚": { + "host": "www.manmanju.com", + "url": "/^\\/comiclist\\/\\d+\\/\\d+\\/\\d+\\.htm$/", + "history": true, + "pager": { + "type": 6, + "nextL": "//a[./img[@src='/images/d.gif']][not(@href='/exit/exit.htm')]", + "pageE": "//a/img[@src][not(contains(@src,'.gif'))]", + "replaceE": "//a[./img[@src='/images/d.gif']]", + "loadTime": 200, + "scrollD": 2000 + } + }, "言耽社": { "host": "yandanshe.com", "url": "/^\\/\\d+\\//", From 21a9fc3a1897ad80aadba2cb8df749c4eb013ee8 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 3 Apr 2022 13:12:12 +0800 Subject: [PATCH 0005/1177] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?= =?UTF-8?q?=E9=80=9F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 58606c912..c957ca330 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -3,7 +3,7 @@ // @name:zh-CN Github 增强 - 高速下载 // @name:zh-TW Github 增強 - 高速下載 // @name:en Github Enhancement - High Speed Download -// @version 1.9.4 +// @version 1.9.5 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) @@ -39,13 +39,15 @@ ['https://git.yumenaka.net/https://github.com', '美国 4', '[美国 圣何塞]'], ['https://gh.ddlc.top/https://github.com', '美国 5', '[美国 Cloudflare CDN] - 该公益加速源由 [@mtr-static-official] 提供'], ['https://github.do/https://github.com', '国内', '[中国 国内] - 该公益加速源由 [小麦云服] 提供'], - ['https://github.ddlc.love/https://github.com', '香港', '[中国 香港] - 该公益加速源由 [@mtr-static-official] 提供'], + ['https://ghproxy.fsofso.com/https://github.com', '香港', '[中国 香港] - 该公益加速源由 [F 搜] 提供 - 缓存:无(或时间很短)'], + //['https://github.ddlc.love/https://github.com', '香港', '[中国 香港] - 该公益加速源由 [@mtr-static-official] 提供'], ['https://download.fastgit.org', '日本', '[日本 东京] - 该公益加速源由 [FastGit] 提供'], ['https://ghproxy.com/https://github.com', '韩国', '[韩国 首尔]'] ], clone_url = [ ['https://github.do/https://github.com', '国内', '[中国 国内] - 该公益加速源由 [小麦云服] 提供'], //['https://gitclone.com', '国内', '[中国 国内]'], + ['https://ghproxy.fsofso.com/https://github.com', '香港', '[中国 香港] - 该公益加速源由 [F 搜] 提供 - 缓存:无(或时间很短)'], ['https://api.mtr.pub', '香港', '[中国 香港] - 该公益加速源由 [@mtr-static-official] 提供'], ['https://hub.fastgit.xyz', '日本', '[日本 东京] - 该公益加速源由 [FastGit] 提供'], ['https://ghproxy.com/https://github.com', '韩国', '[韩国 首尔]'], @@ -62,15 +64,15 @@ ['https://github.do/https://raw.githubusercontent.com', '国内', '[中国 国内] - 该公益加速源由 [小麦云服] 提供 - 缓存:有'], ['https://ghproxy.fsofso.com/https://github.com', '香港 1', '[中国 香港] - 该公益加速源由 [F 搜] 提供 - 缓存:无(或时间很短)'], //['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '香港 2', '[中国 香港]'], - //['https://raw.iqiq.io', '香港 1', '[中国 香港] - 该公益加速源由 [iQDNS/iQZone] 提供 - 缓存:无(或时间很短)'], - ['https://hk1.monika.love', '香港 2', '[中国 香港] - 该公益加速源由 [@mtr-static-official] 提供 - 缓存:无(或时间很短)'], + ['https://raw.iqiq.io', '香港 2', '[中国 香港] - 该公益加速源由 [iQDNS/iQZone] 提供 - 缓存:无(或时间很短)'], + ['https://hk1.monika.love', '香港 3', '[中国 香港] - 该公益加速源由 [@mtr-static-official] 提供 - 缓存:无(或时间很短)'], //['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', '[韩国 首尔]'], ['https://fastly.jsdelivr.net/gh', '日本 1', '[日本 东京] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], ['https://cdn.staticaly.com/gh', '日本 2', '[日本 东京] - 该公益加速源由 [Statically CDN] 提供 - 缓存:有 - 不支持大小超过 30 MB 的文件'], ['https://raw.fastgit.org', '日本 3', '[日本 东京] - 该公益加速源由 [FastGit] 提供 - 缓存:无(或时间很短)'], //['https://cdn.jsdelivr.net/gh', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], ['https://gcore.jsdelivr.net/gh', '其他 1', '[移动走香港、电信走日本] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], - //['https://raw-gh.gcdn.mirr.one', '俄罗斯', '[俄罗斯 G-Core Labs CDN]'], + //['https://raw-gh.gcdn.mirr.one', '俄罗斯', '[俄罗斯 G-Core Labs CDN] - 缓存:有'], ['https://raw.githubusercontents.com', '其他 2', '[香港、新加坡、美国](不固定) - 缓存:有 - 该加速源不支持大小超过 1 MB 的文件'] ], svg = [ From 10d502a2ce64ab5cdd201fa6ea5cb94316fa3bf4 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 3 Apr 2022 13:51:59 +0800 Subject: [PATCH 0006/1177] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[=E5=8F=A4?= =?UTF-8?q?=E9=A3=8E=E6=BC=AB=E7=94=BB=E7=BD=91]=E3=80=81[=E4=BC=98?= =?UTF-8?q?=E9=85=B7=E6=BC=AB=E7=94=BB]=20=E8=A7=84=E5=88=99;=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20[=E6=9B=B4=E6=96=B0=E5=A4=96=E7=BD=AE=E7=BF=BB?= =?UTF-8?q?=E9=A1=B5=E8=A7=84=E5=88=99]=20=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 74 +++++++++++++----------------------------------- 1 file changed, 19 insertions(+), 55 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index a1bc2e779..1d67197c3 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.6.0 +// @version 5.6.1 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... // @description:zh-TW ⭐無縫銜接下一頁內容到網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~ @@ -1146,6 +1146,7 @@ function: { pager: { type: 4, nextL: ykmh_nextL, + pageE: '//script[contains(text(),"chapterImages")]', insertP: ['#images', 3], insertE: ykmh_insertE, replaceE: '.head_title, span.head_wz', @@ -1278,7 +1279,7 @@ function: { } }, // 新新漫画 - 搜索页 gufengmh: { - host: /gufengmh/, + host: /^www\.gufengmh\d/, url: ()=> {if (indexOF(/\/\d+.+\.html/)) { let chapterScroll = getCSS('#chapter-scroll') // 强制为 [下拉阅读] 模式 if (chapterScroll && chapterScroll.className === '') {chapterScroll.click();} @@ -1289,8 +1290,8 @@ function: { style: 'p.img_info {display: none !important;}', // 隐藏中间的页数信息 pager: { type: 4, - nextL: gufengmh_nextL, - pageE: 'body > script:first-child', + nextL: ykmh_nextL, + pageE: '//script[contains(text(),"chapterImages")]', insertP: ['#images', 3], insertE: gufengmh_insertE, interval: 5000, @@ -1515,7 +1516,7 @@ function: { if (typeof(GM_getValue('menu_ruleUpdateTime', '')) == 'string') update = true let urlArr = [//'https://userscript.gh2233.ml/other/Autopage/rules.json', - //'https://raw.iqiq.io/XIU2/UserScript/master/other/Autopage/rules.json', + 'https://raw.iqiq.io/XIU2/UserScript/master/other/Autopage/rules.json', 'https://hk1.monika.love/XIU2/UserScript/master/other/Autopage/rules.json', 'https://raw.fastgit.org/XIU2/UserScript/master/other/Autopage/rules.json', 'https://ghproxy.fsofso.com/https://github.com/XIU2/UserScript/blob/master/other/Autopage/rules.json', @@ -2222,17 +2223,16 @@ function: { // [优酷漫画] 获取下一页地址 function ykmh_nextL() { let url = comicUrl + nextChapterData.id + '.html' - if (url && url != '.html' && url != curSite.pageUrl) { + if (nextChapterData.id != null && url && url != '.html' && url != curSite.pageUrl) { curSite.pageUrl = url; getPageE_(curSite.pageUrl); } } // [优酷漫画] 插入数据 function ykmh_insertE(pageE, type) { - //console.log(pageE) if (!pageE) return // 插入并运行