From 0c80e4ee0e8b9b756553ec1368eeae173b04a953 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 29 Mar 2022 18:36:19 +0800 Subject: [PATCH 0001/1192] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Sex=20Nori]=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81;=20=E4=BC=98=E5=8C=96=20=E4=B8=AA=E5=88=AB?= =?UTF-8?q?=E8=A7=84=E5=88=99=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index c1deb531a..d95d5e783 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2134,7 +2134,7 @@ }, "音范丝": { "host": "/www\\.yinfans\\./", - "style": "#post_container {height: auto !important;} #post_container>li {position: static !important; float: left !important; height: 620px !important;}", + "style": "#post_container>li {position: static !important; float: left !important; height: 620px !important;}", "pager": { "nextL": "a.next", "pageE": "#post_container>li", @@ -4908,7 +4908,7 @@ "JavDB": { "host": "/^javdb/", "url": "return (document.title.indexOf('JavDB') > -1)", - "style": ".grid.columns {height: auto !important;} .grid-item.column{position: static !important; float: left !important; height: 313px !important;}", + "style": ".grid-item.column{position: static !important; float: left !important; height: 313px !important;}", "blank": 3, "pager": { "nextL": "a.pagination-next", @@ -4922,7 +4922,7 @@ "JavBus": { "host": "/^www\\.(jav.+|.+jav)\\./", "url": "return (fun.getCSS('img[alt=\"JavBus\" i]') && !fun.indexOF('/forum/'))", - "style": "#waterfall {height: auto !important;} #waterfall>.item {position: static !important; float: left !important; height: 400px !important;}", + "style": "#waterfall>.item {position: static !important; float: left !important; height: 400px !important;}", "blank": 3, "pager": { "nextL": "#next", @@ -5015,6 +5015,16 @@ "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;}", + "pager": { + "nextL": "a.next", + "pageE": ".gallery-item", + "replaceE": ".eb-pagination" + } + }, "俺の3Dエロ動画": { "host": "oreno3d.com", "url": "return (!fun.indexOF('/movies/'))", @@ -5302,7 +5312,7 @@ "mm.tvv.tw": { "host": "mm.tvv.tw", "url": "return (!fun.indexOF('.html'))", - "style": ".blog-masonry, .blog-masonry-4col {height: auto !important;} .blog-listing {position: relative !important;float: left !important;top: auto !important;left: auto !important;} .blog-title>a {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .blog-image img {min-height: 300px;}", + "style": ".blog-listing {position: relative !important;float: left !important;top: auto !important;left: auto !important;} .blog-title>a {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;} .blog-image img {min-height: 300px;}", "pager": { "nextL": "a.next", "pageE": ".blog-listing", From c91795f2670d81071233d6525722976b80e7210b Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 29 Mar 2022 22:03:02 +0800 Subject: [PATCH 0002/1192] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E4=B8=8B=E4=B8=80=E9=A1=B5=E5=A4=B1=E8=B4=A5=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index bf428b2a1..013891590 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.4 +// @version 5.5.5 // @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...) 等網站~ @@ -2917,8 +2917,10 @@ function: { if (curSite.retry) { console.warn('[自动无缝翻页] 获取主体元素失败,尝试重新获取...') setTimeout(function(){curSite.pageUrl = '';}, curSite.retry) - } else { // 尝试替换元素看能不能继续翻页下去 - if (curSite.pager.replaceE) { + } else { + console.error('[自动无缝翻页] 获取主体元素失败...') + // 尝试替换元素看能不能继续翻页下去 + /*if (curSite.pager.replaceE) { if (replaceElems(response)) { // 如果替换成功 console.log('[自动无缝翻页] 获取主体元素失败,尝试替换元素成功!') // 当前页码 + 1 @@ -2930,7 +2932,7 @@ function: { if (curSite.history) addHistory(response); } } else {console.error('[自动无缝翻页] 获取主体元素失败,尝试替换元素失败...')} - } + }*/ } } } From 20d379f677c5619cc7376c270bf60eac03d3910d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 30 Mar 2022 19:38:30 +0800 Subject: [PATCH 0003/1192] =?UTF-8?q?=E4=BC=98=E5=8C=96=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index d95d5e783..22d3e0209 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4799,7 +4799,7 @@ }, "xHamster": { "host": "/xhamster(\\d+)?\\.com/", - "url": "return (document.title.indexOf('xHamster') > -1 && !fun.indexOF('/videos/'))", + "url": "return (document.title.indexOf('xHamster') > -1 && !fun.indexOF('/videos/') && !fun.indexOF('/photos/'))", "blank": 3, "pager": { "nextL": "li.next>a", From 888f1c4a4d774b9384ec4ffb832478c5d40a0360 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 31 Mar 2022 08:16:14 +0800 Subject: [PATCH 0004/1192] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[4K=20=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 22d3e0209..8e4a5a085 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1759,9 +1759,20 @@ "scrollD": 1000 } }, + "4K 游戏网": { + "host": "4k-w.com", + "url": "return (fun.indexOF('/game/') || fun.indexOF('s=','s'))", + "blank": 3, + "pager": { + "nextL": "a.selected.disabled+a", + "pageE": "#post-list", + "replaceE": ".ajax-pager" + } + }, "cs.rin.ru - 帖子列表": { "host": "cs.rin.ru", "url": "return (fun.lp() == '/forum/viewforum.php')", + "blank": 3, "pager": { "nextL": "#pagecontent .gensmall[align='right'] strong~a", "pageE": "#pagecontent>table.tablebg>tbody>tr:not([align])", @@ -1785,6 +1796,7 @@ "cs.rin.ru - 搜索页": { "host": "cs.rin.ru", "url": "return (fun.lp() == '/forum/search.php')", + "blank": 3, "pager": { "nextL": "#wrapcentre>.nav strong~a", "pageE": "#wrapcentre>form>table.tablebg>tbody>tr[class^='row'], #wrapcentre>form>table.tablebg>tbody>tr[valign]", From 88a86f242c4361a85a976a1734b32dfa00c7c55f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 31 Mar 2022 16:24:26 +0800 Subject: [PATCH 0005/1192] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=89=87?= =?UTF-8?q?=E6=BA=90=E7=BD=91]=E3=80=81[=E7=89=87=E5=90=A7=E5=BD=B1?= =?UTF-8?q?=E9=99=A2]=E3=80=81[=E9=9B=B6=E5=BA=A6=E5=8A=A8=E6=BC=AB]?= =?UTF-8?q?=E3=80=81[Kickass]=E3=80=81[SupJav]=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 | 72 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 8e4a5a085..62a606c06 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1950,6 +1950,21 @@ "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])" } }, + "片吧影院": { + "host": "www.pianba.tv", + "url": "return (fun.indexOF(/^\\/(so|class)\\//) || fun.indexOF('/sort/all'))", + "style": ".stui-page__all{display: none !important;}", + "blank": 3, + "pager": { + "nextL": "li.active.hidden-xs+li.hidden-xs>a", + "pageE": ".stui-vodlist", + "replaceE": ".stui-page__item", + "scrollD": 1000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [1,'a[data-original]','data-original'])" + } + }, "91 美剧网": { "host": "/mjw\\d+\\.com/", "url": "return (document.title.indexOf('91美剧') > -1 && !fun.indexOF('/w/') && !fun.indexOF('/dp/'))", @@ -2175,6 +2190,31 @@ "scrollD": 1000 } }, + "片源网": { + "host": "pianyuan.org", + "url": "return (fun.lp() == '/')", + "pager": { + "nextL": "a.next", + "pageE": "table>tbody>tr:not(.firstr)", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])", + "aF": "document.body.appendChild(document.createElement('script')).textContent = 'this.imagePreview()'" + } + }, + "片源网 - 分类/搜索页": { + "host": "pianyuan.org", + "url": "return (!fun.indexOF('.html'))", + "pager": { + "nextL": "a.next", + "pageE": "div[role='main']>div:not(.pagelist)", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])" + } + }, "BT 之家": { "host": "/btbtt/", "url": "return (fun.getCSS(\".logo>a[title='BT之家']\") != null && (fun.lp() == '/' || fun.indexOF(/^\\/(index|forum|search)-/)))", @@ -2285,6 +2325,15 @@ "replaceE": ".pages" } }, + "零度动漫": { + "host": "bt.acgzero.com", + "url": "return (fun.lp() == '/')", + "pager": { + "nextL": "li.active.page-item+li.page-item>a", + "pageE": "table>tbody", + "replaceE": ".pagination" + } + }, "SkrBT": { "host": "/skrbt/", "url": "return (fun.getCSS(\"link[href*='/skrbt/'], img[src*='/skrbt/']\") != null && fun.lp() == '/search')", @@ -2346,6 +2395,16 @@ "replaceE": ".pagination" } }, + "Kickass Torrents": { + "host": "kickasss.to", + "url": "return (fun.lp() != '/' && !fun.indexOF('.html') && !fun.indexOF('/popular'))", + "blank": 3, + "pager": { + "nextL": "a.active+a", + "pageE": "table.data.frontPageWidget>tbody>tr:not(.firstr)", + "replaceE": ".pages" + } + }, "WebHD": { "host": "webhd.cc", "url": "return (fun.lp() == '/' || fun.indexOF('/list/new'))", @@ -4976,6 +5035,19 @@ "bF": "return fun.src_bF(pageE, [0,'img[data-src]','data-src'])" } }, + "SupJav": { + "host": "supjav.com", + "url": "return (fun.indexOF('/category/') || fun.indexOF('/tag/') || fun.indexOF('/popular') || fun.indexOF('s=','s'))", + "blank": 3, + "pager": { + "nextL": "li.active+li > a", + "pageE": ".posts", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])" + } + }, "JavBooks": { "host": ["javbooks.com","jmvbt.com","/^[a-z]{2}\\d{4}\\.com$/"], "url": "return (document.title.indexOf('Javbooks') > -1 && !fun.indexOF('/content_'))", From e3a50fda33828138ff03f64d78b6ec0a076ffa48 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 31 Mar 2022 16:48:53 +0800 Subject: [PATCH 0006/1192] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=BD=B1=E8=A7=86=E7=BD=91=E7=AB=99=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?]=20=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 | 21 +++++- other/Autopage/ruleUpdateTime.json | 2 +- other/Autopage/rules.json | 100 +++++++---------------------- 3 files changed, 43 insertions(+), 80 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 013891590..a282ed310 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.5 +// @version 5.5.6 // @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...) 等網站~ @@ -253,6 +253,9 @@ if (getCSS('li.next > a') && getCSS('.blog-post, .post-list') && getCSS('.page-navigator')) { console.info(`[自动无缝翻页] - 部分使用 Typecho 的网站 (handsome)`); return 150; } + } 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; @@ -298,6 +301,8 @@ curSite = DBSite.biquge; break; case 201: // < 所有使用 笔趣阁 2 模板的小说网站 > DBSite.biquge2.url(); break; + case 300: // < 部分影视网站 > + curSite = DBSite.yingshi; break; } } } @@ -402,6 +407,20 @@ function: { scrollD: 2000 } }, // 部分使用 Typecho 的网站 (handsome) + yingshi: { + style: 'div.stui-page__all {display: none !important;}', + blank: 3, + pager: { + nextL: 'li.active.hidden-xs+li.hidden-xs>a', + pageE: '.stui-vodlist', + replaceE: '.stui-page, .stui-page__item', + scrollD: 1000 + }, + function: { + bF: src_bF, + bFp: [1, '[data-original]', 'data-original'] + } + }, discuz_forum: { pager: { type: 2, diff --git a/other/Autopage/ruleUpdateTime.json b/other/Autopage/ruleUpdateTime.json index cc403909c..abd053782 100644 --- a/other/Autopage/ruleUpdateTime.json +++ b/other/Autopage/ruleUpdateTime.json @@ -1 +1 @@ -1648253741 \ No newline at end of file +1648716020 \ No newline at end of file diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 62a606c06..e4f412157 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1909,21 +1909,6 @@ "bF": "return fun.src_bF(pageE, [1, 'a[data-original]', 'data-original'])" } }, - "在线之家": { - "host": "www.zxzjtv.com", - "url": "return (fun.lp() != '/' && !fun.indexOF('/detail/') && !fun.indexOF('/video/'))", - "style": "div.stui-page__all {display: none !important;}", - "blank": 3, - "pager": { - "nextL": "//ul[contains(@class, 'stui-page__item')]//a[text()='下一页']", - "pageE": "ul.stui-vodlist>li", - "replaceE": "ul.stui-page__item", - "scrollD": 1000 - }, - "function": { - "bF": "return fun.src_bF(pageE, [1, 'a[data-original]', 'data-original'])" - } - }, "嗯哩嗯哩": { "host": "enlienli.com", "url": "return (fun.indexOF('/show/') || fun.indexOF('/search') || (fun.indexOF('/type/') && fun.getCSS('#page') != null))", @@ -1950,21 +1935,6 @@ "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])" } }, - "片吧影院": { - "host": "www.pianba.tv", - "url": "return (fun.indexOF(/^\\/(so|class)\\//) || fun.indexOF('/sort/all'))", - "style": ".stui-page__all{display: none !important;}", - "blank": 3, - "pager": { - "nextL": "li.active.hidden-xs+li.hidden-xs>a", - "pageE": ".stui-vodlist", - "replaceE": ".stui-page__item", - "scrollD": 1000 - }, - "function": { - "bF": "return fun.src_bF(pageE, [1,'a[data-original]','data-original'])" - } - }, "91 美剧网": { "host": "/mjw\\d+\\.com/", "url": "return (document.title.indexOf('91美剧') > -1 && !fun.indexOF('/w/') && !fun.indexOF('/dp/'))", @@ -1978,19 +1948,6 @@ "bF": "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])" } }, - "真不卡影院": { - "host": "/www\\.zhenbuka\\d\\.com/", - "url": "return (fun.indexOF('/vodtype/'))", - "blank": 3, - "pager": { - "nextL": "//ul[contains(@class, 'stui-page')]/li/a[text()='下一页']", - "pageE": "ul.stui-vodlist>li", - "replaceE": "ul.stui-page" - }, - "function": { - "bF": "return fun.src_bF(pageE, [1, 'a[data-original]', 'data-original'])" - } - }, "ZzzFun 动漫": { "host": "www.zzzfun.com", "url": "return (fun.indexOF('/vod_type') || fun.indexOF('/vod_show'))", @@ -2168,28 +2125,6 @@ "replaceE": ".pagination" } }, - "磁力狗": { - "host": ["clg.im","ciligou.top","clg00.site"], - "url": "/^\\/search/", - "style": "body, html {overflow-x: initial !important;}", - "blank": 3, - "pager": { - "nextL": ".pagination>li.active+li>a", - "pageE": "#Search_list_wrapper>li", - "replaceE": ".pagination", - "scrollD": 1000 - } - }, - "雨花阁": { - "host": "/^www\\.yuhuage\\d{2}\\.xyz$/", - "url": "/\\/search\\//", - "pager": { - "nextL": "a[title='下一页']", - "pageE": ".search-item", - "replaceE": ".bottom-pager", - "scrollD": 1000 - } - }, "片源网": { "host": "pianyuan.org", "url": "return (fun.lp() == '/')", @@ -2215,6 +2150,28 @@ "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])" } }, + "磁力狗": { + "host": ["clg.im","ciligou.top","clg00.site"], + "url": "/^\\/search/", + "style": "body, html {overflow-x: initial !important;}", + "blank": 3, + "pager": { + "nextL": ".pagination>li.active+li>a", + "pageE": "#Search_list_wrapper>li", + "replaceE": ".pagination", + "scrollD": 1000 + } + }, + "雨花阁": { + "host": "/^www\\.yuhuage\\d{2}\\.xyz$/", + "url": "/\\/search\\//", + "pager": { + "nextL": "a[title='下一页']", + "pageE": ".search-item", + "replaceE": ".bottom-pager", + "scrollD": 1000 + } + }, "BT 之家": { "host": "/btbtt/", "url": "return (fun.getCSS(\".logo>a[title='BT之家']\") != null && (fun.lp() == '/' || fun.indexOF(/^\\/(index|forum|search)-/)))", @@ -4924,19 +4881,6 @@ "replaceE": ".pagination" } }, - "妖次元里番": { - "host": "www.ycylf.men", - "url": "return (fun.lp() == '/search.php' || fun.indexOF('.html'))", - "blank": 3, - "pager": { - "nextL": "li.active.hidden-xs+li.hidden-xs>a", - "pageE": ".stui-vodlist", - "replaceE": ".stui-page" - }, - "function": { - "bF": "return fun.src_bF(pageE, [1,'a[data-original]','data-original'])" - } - }, "Hentai Anime Zone": { "host": "hentaianimezone.com", "url": "return (!fun.indexOF('.html'))", From 8413f78eae1b6b2fd224a6676b1451d650db490a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 31 Mar 2022 19:03:34 +0800 Subject: [PATCH 0007/1192] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=A4=A7?= =?UTF-8?q?=E7=9C=BC=E4=BB=94=E6=97=AD]=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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index e4f412157..c3e7c249d 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3241,6 +3241,15 @@ "replaceE": "#pageGroup" } }, + "大眼仔旭": { + "host": "www.dayanzai.me", + "url": "return (!fun.indexOF('.html') && (fun.lp() != '/' || fun.indexOF('s=','s')))", + "pager": { + "nextL": ".page>span+a", + "pageE": "ul.c-news", + "replaceE": ".page" + } + }, "绿软家园-最近更新": { "host": "www.downg.com", "url": "/\\/new\\//", From ffa5344f3f3d7e313a74df781cd1ca69a7899b88 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 31 Mar 2022 19:59:52 +0800 Subject: [PATCH 0008/1192] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[TorrentGalaxy]?= =?UTF-8?q?=E3=80=81[LimeTorrents]=20=E6=94=AF=E6=8C=81;=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=20[=E7=95=AA=E7=BB=84=E8=AE=A1=E5=88=92]=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 | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index c3e7c249d..894fa38e5 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -665,7 +665,7 @@ } }, "番组计划": { - "host": "bangumi.tv", + "host": ["bgm.tv","bangumi.tv"], "url": "/\\/(browser|subject_search|tag)/", "pager": { "nextL": "//div[@class='page_inner']/a[text()='››']", @@ -674,7 +674,7 @@ } }, "番组计划 - 小组帖子列表": { - "host": "bangumi.tv", + "host": ["bgm.tv","bangumi.tv"], "url": "/\\/forum/", "pager": { "nextL": "//div[@class='page_inner']/a[text()='››']", @@ -2362,6 +2362,26 @@ "replaceE": ".pages" } }, + "TorrentGalaxy.": { + "host": "torrentgalaxy.to", + "url": "/^\\/torrents\\.php/", + "blank": 3, + "pager": { + "nextL": "li.page-item.active+li.page-item>a", + "pageE": ".tgxtable", + "replaceE": ".pagination" + } + }, + "LimeTorrents": { + "host": "/^www\\.limetorrents\\./", + "url": "return (document.title.indexOf('LimeTorrents') > -1 && (fun.indexOF('/search/') || fun.indexOF('/browse-torrents')))", + "blank": 3, + "pager": { + "nextL": "a#next", + "pageE": "table.table2>tbody>tr:not(:first-of-type)", + "replaceE": ".search_stat" + } + }, "WebHD": { "host": "webhd.cc", "url": "return (fun.lp() == '/' || fun.indexOF('/list/new'))", From 77b4bbaa7c320c289d51a7d86459a6e0685ca8e9 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 31 Mar 2022 20:00:09 +0800 Subject: [PATCH 0009/1192] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E7=9F=A5?= =?UTF-8?q?=E4=B9=8E=E9=83=A8=E5=88=86=E7=BD=91=E9=A1=B5=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E6=9A=97=E9=BB=91=E6=A8=A1=E5=BC=8F=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-Beautification.user.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Zhihu-Beautification.user.js b/Zhihu-Beautification.user.js index b6424f0ca..eb9e6eae2 100644 --- a/Zhihu-Beautification.user.js +++ b/Zhihu-Beautification.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 知乎美化 -// @version 1.4.8 +// @version 1.4.9 // @author X.I.U // @description 宽屏显示、暗黑模式(4种)、暗黑模式跟随浏览器、屏蔽首页活动广告、隐藏文章开头大图、调整图片最大高度、向下翻时自动隐藏顶栏 // @match *://www.zhihu.com/* @@ -14,7 +14,6 @@ // @grant GM_notification // @license GPL-3.0 License // @run-at document-start -// @incompatible safari // @namespace https://greasyfork.org/scripts/412212 // @supportURL https://github.com/XIU2/UserScript // @homepageURL https://github.com/XIU2/UserScript @@ -176,8 +175,8 @@ function addStyle() { let style = `/* 屏蔽登录提示(问题页中间的元素) */ .Question-mainColumnLogin {display: none !important;} -/* 屏蔽回答页广告 */ -.Pc-card.Card {display: none !important;} +/* 屏蔽回答页/首页广告 */ +.Pc-card.Card, .Pc-Business-Card-PcTopFeedBanner {display: none !important;} /* 屏蔽文章页推荐文章 */ .Recommendations-Main {display: none !important;} /* 解除盐选内容选中复制限制 */ @@ -435,7 +434,7 @@ html {filter: brightness(65%) sepia(30%) !important; background-image: url();} } if (location.pathname === '/' || location.pathname === '/hot' || location.pathname === '/follow') style += style_index; - if (menu_value('menu_darkModeType') === 1 && location.pathname.indexOf('/special/') > -1) style += style_darkMode_2 + 'video {filter: invert(1) !important;}'; + if (menu_value('menu_darkModeType') === 1 && (location.pathname.indexOf('/special/') > -1 || location.pathname.indexOf('/pub/') > -1)) style += style_darkMode_2 + 'video {filter: invert(1) !important;}'; // 宽屏显示 if (menu_value('menu_widescreenDisplayIndex')) style += style_widescreenDisplayIndex; From 2a68feee59986e5c1d305474c1fa6fdde22732f8 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 1 Apr 2022 08:52:14 +0800 Subject: [PATCH 0010/1192] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[141JAV]=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 894fa38e5..e9af632ae 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5021,6 +5021,16 @@ "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])" } }, + "141 JAV": { + "host": ["www.141jav.com","www.141ppv.com"], + "url": "if(fun.lp()=='/'){setTimeout(`document.getElementById('button-load-more').click()`,2000);}else if(!fun.indexOF('torrent')){return true;}", + "blank": 3, + "pager": { + "nextL": "a.pagination-next", + "pageE": "body>.container>.card, body>.container>.columns", + "replaceE": ".pagination" + } + }, "JavBooks": { "host": ["javbooks.com","jmvbt.com","/^[a-z]{2}\\d{4}\\.com$/"], "url": "return (document.title.indexOf('Javbooks') > -1 && !fun.indexOF('/content_'))", From a3bda3ad0a8706cbfd60e35027712ff0343c5967 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 1 Apr 2022 14:45:45 +0800 Subject: [PATCH 0011/1192] =?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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 464c169d5..087eca4a9 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.2 +// @version 1.9.3 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) @@ -31,7 +31,7 @@ var backColor = '#ffffff', fontColor = '#888888', menu_raw_fast = GM_getValue('xiu2_menu_raw_fast'), menu_menu_raw_fast_ID, menu_feedBack_ID; const download_url = [ ['https://pd.zwc365.com/seturl/https://github.com', '美国 1', '[美国 Cloudflare CDN]'], - ['https://gh.xiu.workers.dev/https://github.com', '美国 2', '[美国 Cloudflare CDN] - 该公益加速源由 [本脚本作者 X.I.U/XIU2] 提供'], + ['https://gh.gh2233.ml/https://github.com', '美国 2', '[美国 Cloudflare CDN] - 该公益加速源由 [本脚本作者 X.I.U/XIU2] 提供'], //['https://gh.api.99988866.xyz/https://github.com', '美国 2', '[美国 Cloudflare CDN]'], //['https://github.rc1844.workers.dev', '美国 3', '[美国 Cloudflare CDN]'], //['https://gh-rep.mirr.one', '美国', '[美国 Cloudflare CDN]'], From d41b2149d0589252002528488d35c5b213590a95 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 1 Apr 2022 15:23:57 +0800 Subject: [PATCH 0012/1192] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?= =?UTF-8?q?=E9=80=9F=E6=BA=90;=20=E4=BC=98=E5=8C=96=20=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 43 ++++++++++------------ 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 087eca4a9..58606c912 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.3 +// @version 1.9.4 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) @@ -59,10 +59,10 @@ ], raw_url = [ ['https://raw.githubusercontent.com', 'Github 原生', '[日本 东京]'], - //['https://ghproxy.fsou.cc/https://github.com', '香港 1', '[中国 香港]'], - //['https://pd.zwc365.com/seturl/https://raw.githubusercontent.com', '香港 2', '[中国 香港]'], ['https://github.do/https://raw.githubusercontent.com', '国内', '[中国 国内] - 该公益加速源由 [小麦云服] 提供 - 缓存:有'], - ['https://raw.iqiq.io', '香港 1', '[中国 香港] - 该公益加速源由 [iQDNS/iQZone] 提供 - 缓存:无(或时间很短)'], + ['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://ghproxy.com/https://raw.githubusercontent.com', '韩国', '[韩国 首尔]'], ['https://fastly.jsdelivr.net/gh', '日本 1', '[日本 东京] - 该公益加速源由 [JSDelivr CDN] 提供 - 缓存:有 - 不支持大小超过 50 MB 的文件 - 不支持版本号格式的分支名(如 v1.2.3)'], @@ -230,15 +230,12 @@ url = '', _html = ''; for (let i=1;i${raw_url[i][1]}` } @@ -273,22 +270,20 @@ // 循环添加 files.forEach(function(fileElm, i) { let trElm = fileElm.parentNode.parentNode, - cntElm_a = trElm.querySelector('.css-truncate.css-truncate-target.d-block.width-fit a'), + cntElm_a = trElm.querySelector('[role="rowheader"] > .css-truncate.css-truncate-target.d-block.width-fit > a'), cntElm_svg = trElm.querySelector('.mr-3.flex-shrink-0 svg.octicon.octicon-file'), Name = cntElm_a.innerText, - href = cntElm_a.attributes.href.nodeValue.replace(`https://${location.host}`,''), + href = cntElm_a.getAttribute('href'), href2 = href.replace('/blob/','/'), url, url_name, url_tip = ''; - switch(menu_raw_fast) { - //case 1: // ghproxy.fsou.cc - // url = raw_url[menu_raw_fast][0] + href; break; - case 4: // fastly.jsdelivr.net - case 7: // gcore.jsdelivr.net - //case 6: // cdn.jsdelivr.net - url = raw_url[menu_raw_fast][0] + href.replace('/blob/','@'); break; - default: - url = raw_url[menu_raw_fast][0] + href2; + if (raw_url[menu_raw_fast][0].indexOf('jsdelivr.net') != -1) { + url = raw_url[menu_raw_fast][0] + href.replace('/blob/','@'); + } else if (raw_url[menu_raw_fast][0].indexOf('fsofso.com') != -1) { + url = raw_url[menu_raw_fast][0] + href; + } else { + url = raw_url[menu_raw_fast][0] + href2; } + url_name = raw_url[menu_raw_fast][1]; url_tip = raw_url[menu_raw_fast][2]; cntElm_svg.insertAdjacentHTML('afterend', ``); // 绑定鼠标事件 From e13aff7473f831fedaa8b662f970336ed9f22cee Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 1 Apr 2022 16:42:38 +0800 Subject: [PATCH 0013/1192] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=88=9D?= =?UTF-8?q?=E9=9F=B3=E7=A4=BE]=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 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index e9af632ae..8e0c9cb18 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -266,7 +266,6 @@ "pager": { "type": 2, "nextL": "button[data-testid='buttonShowMore']", - "interval": 500, "scrollD": 2000 } }, @@ -2116,6 +2115,15 @@ "replaceE": ".pagelist" } }, + "初音社": { + "host": "www.mikuclub.cc", + "url": "/^\\/[a-z]/", + "pager": { + "type": 2, + "nextL": "button.get-next-page:not([disabled]), .wpf-more-topics>a", + "interval": 1000 + } + }, "音范丝": { "host": "/www\\.yinfans\\./", "style": "#post_container>li {position: static !important; float: left !important; height: 620px !important;}", @@ -5415,7 +5423,6 @@ "type": 2, "nextL": "#webpage>span[onclick]", "isHidden": true, - "interval": 500, "scrollD": 2000 } }, From 9d2083eadc0fc7575077795604148c7a1b19a1ca Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 1 Apr 2022 22:15:52 +0800 Subject: [PATCH 0014/1192] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=A3=AE?= =?UTF-8?q?=E4=B9=8B=E5=B1=8B=E5=8A=A8=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 8e0c9cb18..b95936a94 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1908,8 +1908,8 @@ "bF": "return fun.src_bF(pageE, [1, 'a[data-original]', 'data-original'])" } }, - "嗯哩嗯哩": { - "host": "enlienli.com", + "嗯哩嗯哩/森之屋动漫": { + "host": ["enlienli.com","www.senfun.net"], "url": "return (fun.indexOF('/show/') || fun.indexOF('/search') || (fun.indexOF('/type/') && fun.getCSS('#page') != null))", "blank": 3, "pager": { From 02cf6c4714fdc33c967bd907cc22afb5ff371e64 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 2 Apr 2022 09:20:35 +0800 Subject: [PATCH 0015/1192] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=A4=96=E7=BD=AE=E7=BF=BB=E9=A1=B5=E8=A7=84=E5=88=99?= =?UTF-8?q?]=20=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index a282ed310..ce9519d1b 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,17 +3,23 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.5.6 +// @version 5.5.7 // @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...) 等網站~ // @description:en Append the next page content to the bottom seamlessly (like a waterfall)~ // @match *://*/* // @connect userscript.xiu2.xyz +// @connect userscript.gh2233.ml // @connect raw.iqiq.io -// @connect raw.fastgit.org // @connect hk1.monika.love +// @connect raw.fastgit.org // @connect cdn.staticaly.com +// @connect ghproxy.fsofso.com +// @connect raw-gh.gcdn.mirr.one +// @connect cdn.jsdelivr.net +// @connect gcore.jsdelivr.net +// @connect fastly.jsdelivr.net // @connect www.xuexiniu.com // @connect bbs.xuexiniu.com // @connect weili.ooopic.com @@ -1469,16 +1475,21 @@ function: { // 如果是原来的时间格式 或 刚安装脚本,则需要立即更新 if (typeof(GM_getValue('menu_ruleUpdateTime', '')) == 'string') update = true - let urlArr = ['https://raw.iqiq.io/XIU2/UserScript/master/other/Autopage/rules.json', + let urlArr = [//'https://userscript.gh2233.ml/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', + 'https://raw-gh.gcdn.mirr.one/XIU2/UserScript/master/other/Autopage/rules.json', 'https://cdn.staticaly.com/gh/XIU2/UserScript/master/other/Autopage/rules.json', - 'https://cdn.staticaly.com/gh/XIU2/UserScript/master/other/Autopage/rules.json'] + //'https://cdn.jsdelivr.net/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'] if (update) { // 手动更新(或安装后首次更新) GM_notification({text: '🔄 更新外置翻页规则中,请勿操作网页...', timeout: 3000}); getRulesUrl_(true); - } else if (parseInt(+new Date()/1000) - GM_getValue('menu_ruleUpdateTime', 0) > 259200) { // 自动更新,距离上次检查更新超过 3 天,则立即更新规则 + } else if (parseInt(+new Date()/1000) - GM_getValue('menu_ruleUpdateTime', 0) > 172800) { // 自动更新,距离上次检查更新超过 2 天,则立即更新规则 getRulesUrl_(); } 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 0016/1192] =?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 0017/1192] =?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 0018/1192] =?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 0019/1192] =?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 0020/1192] =?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 0021/1192] =?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 // 插入并运行