From 062e11bef65ff8a5028964d352f7c01854d5209e Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 11 Mar 2022 17:12:59 +0800 Subject: [PATCH 0001/1272] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Autopage.user.js b/Autopage.user.js index eb07d2377..3826cd021 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -5,7 +5,7 @@ // @name:en AutoPager // @version 5.2.8 // @author X.I.U -// @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、IT之家、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... +// @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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 *://*/* From 1e8fd931cd0663ccc32993db92736698580c3c7a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 11 Mar 2022 20:30:52 +0800 Subject: [PATCH 0002/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E7=BB=86?= =?UTF-8?q?=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index 14ae85ee7..4f37ffa5d 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.0.1 +// @version 2.0.2 // @author X.I.U // @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链 // @description:zh-TW 移除登錄彈窗、屏蔽首頁視頻、默認收起回答、快捷收起回答/評論、快捷回到頂部、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化搜索熱門、淨化標題消息、置頂顯示時間、完整問題時間、區分問題文章、默認高清原圖、默認站外直鏈... @@ -22,7 +22,6 @@ // @grant window.onurlchange // @license GPL-3.0 License // @run-at document-end -// @incompatible safari // @namespace https://greasyfork.org/scripts/4122051 // @supportURL https://github.com/XIU2/UserScript // @homepageURL https://github.com/XIU2/UserScript From 09193757ac9995a152c013f65b08d2a831b7a5b9 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 12 Mar 2022 09:59:48 +0800 Subject: [PATCH 0003/1272] =?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;=20=E6=96=B0=E5=A2=9E=20[177=20?= =?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 --- Autopage.user.js | 28 ++++++++++++++++------------ other/Autopage/rules.json | 33 ++++++++++++++++----------------- 2 files changed, 32 insertions(+), 29 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 3826cd021..1a962e437 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.2.8 +// @version 5.2.9 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -192,11 +192,13 @@ } else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) { console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 103; } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { - if (getCSS('article.post') && getCSS('nav.navigation')) { - if (getCSS('.nav-previous a')) { - console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 104; + if (getAllCSS('article').length > 2 && getCSS('nav.paging-navigation, nav.pagination')) { + if (getCSS('a.next')) { + console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 104; + } else if (getCSS('.nav-previous a')) { + console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 105; } else if (getXpath('//nav[contains(@class, "navigation")]//a[contains(text(), "下一页") or contains(text(), ">")]')) { - console.info('[自动无缝翻页] - 使用 WordPress 下一页式> 主题的网站'); return 105; + console.info('[自动无缝翻页] - 使用 WordPress 下一页式> 主题的网站'); return 106; } } } 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) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { @@ -228,9 +230,11 @@ DBSite.dux.url(); delete curSite.function; break; case 103: // < 所有使用 WordPress Begin 主题的网站 > DBSite.begin.url(); break; - case 104: // < 所有使用 WordPress nav-previous 旧文章式 主题的网站 > + case 104: // < 所有使用 WordPress a.next 式 主题的网站 > DBSite.wp_nav_navigation.url(); break; - case 105: // < 所有使用 WordPress nav-navigation 下一页式 主题的网站 > + case 105: // < 所有使用 WordPress nav-previous 旧文章式 主题的网站 > + DBSite.wp_nav_navigation.url('.nav-previous a'); break; + case 106: // < 所有使用 WordPress nav-navigation 下一页式 主题的网站 > DBSite.wp_nav_navigation.url('//nav[contains(@class, "navigation")]//a[contains(text(), "下一页") or contains(text(), ">")]'); break; case 200: // < 所有使用 笔趣阁 模板的小说网站 > DBSite.biquge.url(); break; @@ -540,12 +544,12 @@ function: { } }, // WordPress 的 Begin 主题 - 搜索页 wp_nav_navigation: { - url: function(nextL = '.nav-previous a') {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_nav_navigation; curSite.pager.nextL = nextL;}}, + url: function(nextL = 'a.next') {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_nav_navigation; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, pager: { - nextL: '.nav-previous a', - pageE: 'article.post', - replaceE: 'nav.navigation', - scrollD: 1500 + nextL: 'a.next', + pageE: 'article', + replaceE: 'nav.paging-navigation, nav.pagination', + scrollD: 2000 } }, // Wordpress 的 nav.navigation 规则 biquge: { diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index bdafcd37c..df64b46f1 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1794,23 +1794,6 @@ "replaceE": ".pageNav" } }, - "国外重新包装游戏": { - "host": [ - "crackhub.site", - "fitgirl-repacks.site", - "masquerade.site" - ], - "style": "html.wp-dark-mode-active .inside-article, #nav-below {background-color: var(--wp-dark-mode-bg);}", - "pager": { - "nextL": "a.next", - "pageE": "article[id^='post-']", - "replaceE": "nav.paging-navigation, nav.pagination", - "scrollD": 2000 - }, - "function": { - "bF": "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])" - } - }, "茶杯狐": { "host": "/www\\.cupfox\\./", "pager": { @@ -5179,5 +5162,21 @@ "replaceE": ".fenye", "scrollD": 3500 } + }, + "177 漫画/xxiav": { + "host": [ + "www.177picyy.com", + "www.xxiav.com" + ], + "url": "/\\d+\\.html/", + "pager": { + "nextL": "//div[@class='page-links']/a[./span[./i[@class='be be-arrowright']]]", + "pageE": ".single-content > p", + "replaceE": ".page-links", + "scrollD": 3000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-lazy-src]','data-lazy-src'])" + } } } \ No newline at end of file From 66b4e715419ec1694ac9c011d2f7a64a8d471614 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 12 Mar 2022 14:08:57 +0800 Subject: [PATCH 0004/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[ROSIMM=20?= =?UTF-8?q?=E5=86=99=E7=9C=9F]=E3=80=81[ROSI=20=E5=B0=8F=E8=8E=89=E5=86=99?= =?UTF-8?q?=E7=9C=9F]=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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index df64b46f1..2808af2ed 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5178,5 +5178,28 @@ "function": { "bF": "return fun.src_bF(pageE, [0,'img[data-lazy-src]','data-lazy-src'])" } + }, + "ROSIMM 写真": { + "host": [ + "www.rosi3.cc", + "www.rosimm3.com" + ], + "url": "/\\.html$/", + "pager": { + "nextL": "//div[@class='pagination2']/li/a[text()='下一页']", + "pageE": "article img", + "replaceE": ".pagination2", + "scrollD": 2000 + } + }, + "ROSI 小莉写真": { + "host": "www.xiaoli8.cc", + "url": "/\\/\\d+$/", + "pager": { + "nextL": "span.post-page-numbers.current+a.post-page-numbers", + "pageE": "li.blocks-gallery-item", + "replaceE": ".page-links", + "scrollD": 3000 + } } } \ No newline at end of file From 9723fc28719905aaebcd4a7fb3f771e372b80347 Mon Sep 17 00:00:00 2001 From: luoyeah Date: Sat, 12 Mar 2022 16:50:30 +0800 Subject: [PATCH 0005/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[imn5=5Fnet]=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20(#190)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 2808af2ed..cf2485ced 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5201,5 +5201,15 @@ "replaceE": ".page-links", "scrollD": 3000 } + }, + "imn5_net": { + "host": "www.imn5.net", + "url": "/\\/\\d+(_\\d+)?\\.html$/", + "pager": { + "nextL": "a.current+a", + "pageE": ".imgwebp", + "replaceE": ".page", + "scrollD": 2000 + } } -} \ No newline at end of file +} From e344faf67746ed29ff71f5dafbad7360436e8b42 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 12 Mar 2022 19:24:48 +0800 Subject: [PATCH 0006/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[SpigotMC]=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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index cf2485ced..4ff9dd7bb 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1663,6 +1663,15 @@ "scrollD": 500 } }, + "SpigotMC": { + "host": "www.spigotmc.org", + "url": "/\\/resources\\/(categories|authors)?/", + "pager": { + "nextL": "//a[@class='text' and contains(text(), '>')]", + "pageE": "li.resourceListItem", + "replaceE": ".PageNav" + } + }, "CurseForge": { "host": "www.curseforge.com", "pager": { From 7a4708713b5f7d5444013768dcf16e1ef5aac2b0 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Mar 2022 11:10:56 +0800 Subject: [PATCH 0007/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E4=BB=A3?= =?UTF-8?q?=E7=A0=81;=20=E6=8E=92=E9=99=A4=20=E6=97=A0=E6=B3=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=94=AF=E6=8C=81=E7=9A=84=E4=B8=80=E4=BA=9B=E5=B8=B8?= =?UTF-8?q?=E8=A7=81=E7=BD=91=E7=AB=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 51 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 1a962e437..b76bab66b 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.2.9 +// @version 5.3.0 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -29,6 +29,41 @@ // @namespace https://github.com/XIU2/UserScript // @supportURL https://github.com/XIU2/UserScript // @homepageURL https://github.com/XIU2/UserScript +// @exclude https://*.taobao.com/* +// @exclude https://*.tmall.com/* +// @exclude https://*.1688.com/* +// @exclude https://*.jd.com/* +// @exclude https://*.vip.com/* +// @exclude https://*.suning.com/* +// @exclude https://*.aliexpress.com/* +// @exclude https://*.amazon.com/* +// @exclude https://*.amazon.cn/* +// @exclude https://*.ebay.com/* +// @exclude https://*.paypal.com/* +// @exclude https://*.iqiyi.com/* +// @exclude https://*.youku.com/* +// @exclude https://m.v.qq.com/* +// @exclude https://v.qq.com/* +// @exclude https://*.acfun.cn/* +// @exclude https://t.bilibili.com/* +// @exclude https://www.bilibili.com/* +// @exclude https://live.bilibili.com/* +// @exclude https://space.bilibili.com/* +// @exclude https://manga.bilibili.com/* +// @exclude https://member.bilibili.com/* +// @exclude https://message.bilibili.com/* +// @exclude https://*.youtube.com/* +// @exclude https://*.youtube-nocookie.com/* +// @exclude https://*.cnki.net/* +// @exclude https://mail.qq.com/* +// @exclude https://weread.qq.com/* +// @exclude https://*.weread.qq.com/* +// @exclude https://bz.zzzmh.cn/* +// @exclude https://wallhaven.cc/* +// @exclude https://chrome.zzzmh.cn/* +// @exclude https://*.guazi.com/* +// @exclude https://*.liepin.com/* +// @exclude https://*.58.com/* // ==/UserScript== (function() { @@ -1408,7 +1443,6 @@ function: { curSite = {SiteTypeID: 0}; pageNum.now = 1; // 重置规则+页码 registerMenuCommand(); // 重新判断规则 if (curSite.style) {insStyle(curSite.style)} // 插入 Style CSS 样式 - curSite.pageUrl = ''; // 下一页URL pageLoading(); // 自动无缝翻页 if (GM_getValue('menu_page_number')) {pageNumber('add');} else {pageNumber('set');} // 显示页码 @@ -1470,7 +1504,6 @@ function: { if (!GM_getValue('menu_thread')) { if (curSite.thread) {curSite = {SiteTypeID: 0}; pageNum.now = 1;} } - curSite.pageUrl = ''; // 下一页URL pageLoading(); // 自动无缝翻页 if (GM_getValue('menu_page_number')) {pageNumber('add');} else {pageNumber('set');} // 显示页码 @@ -1491,7 +1524,6 @@ function: { } if (curSite.style) {insStyle(curSite.style)} // 插入 Style CSS 样式 - curSite.pageUrl = ''; // 下一页URL pageLoading(); // 自动无缝翻页 if (GM_getValue('menu_page_number')) {pageNumber('add');} else {pageNumber('set');} // 显示页码 @@ -1533,8 +1565,6 @@ function: { }, false); }*/ - // 下一页URL - curSite.pageUrl = ''; // 自动无缝翻页 pageLoading(); @@ -2496,11 +2526,14 @@ function: { // 自动无缝翻页 function pageLoading() { if (curSite.SiteTypeID == 0) return + if (curSite.pager.type === undefined) curSite.pager.type = 1; // 默认翻页模式 1 + if (curSite.pager.scrollD === undefined) curSite.pager.scrollD = 1500; // 默认翻页触发线 1500 + if (curSite.pager.interval === undefined) curSite.pager.interval = 500; // 默认间隔时间 500ms + curSite.pageUrl = ''; // 下一页URL windowScroll(function (direction, e) { // 下滑 且 未暂停翻页 且 SiteTypeID > 0 时,才准备翻页 if (direction != 'down' || !pausePage || curSite.SiteTypeID == 0) return - if (!curSite.pager.type) curSite.pager.type = 1; // 默认翻页模式 1 - if (!curSite.pager.scrollD) curSite.pager.scrollD = 1500; // 默认翻页触发线 1500 + // 翻页模式 5 且为框架内时,要判断顶层是否通过页码暂停翻页了 if (curSite.pager.type == 5 && self != top && window.top.document.xiu_pausePage == false) return @@ -2535,8 +2568,6 @@ function: { // 按钮内元素,当按钮内元素 = 该元素内容时,才会点击按钮加载下一页 if (autopbn.innerHTML === curSite.pager.nextHTML) {autopbn.click(); pageNum.now = pageNum._now + 1;} } else { - // 对于没有按钮文字变化的按钮,可以指定间隔时间(默认 500ms) - if (!curSite.pager.interval) curSite.pager.interval = 500; intervalPause(); // 如果没有指定按钮文字就直接点击 autopbn.click(); pageNum.now = pageNum._now + 1; From 82b0cd2ac8646280a56d3b9b5af3cdc3c20e2d8d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Mar 2022 11:11:07 +0800 Subject: [PATCH 0008/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Hentai=20Cospla?= =?UTF-8?q?ys]=E3=80=81[24FA]=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 | 49 ++++++++++++++++++++++++++++++++++----- 1 file changed, 43 insertions(+), 6 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 4ff9dd7bb..59454232c 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -683,7 +683,7 @@ "scrollD": 1200 } }, - "篱笆网论坛 - 各版块帖子列表": { + "篱笆网论坛 - 帖子列表": { "host": "www.libaclub.com", "url": "/\\/f_/", "pager": { @@ -1384,7 +1384,7 @@ "replaceE": ".pagerbar" } }, - "学犀牛 - 各板块帖子列表": { + "学犀牛 - 帖子列表": { "host": [ "www.xuexiniu.com", "bbs.xuexiniu.com" @@ -1396,7 +1396,7 @@ "replaceE": ".pg" } }, - "学犀牛 - 各板块帖子列表2": { + "学犀牛 - 帖子列表2": { "host": [ "www.xuexiniu.com", "bbs.xuexiniu.com" @@ -1734,7 +1734,7 @@ "scrollD": 1000 } }, - "cs.rin.ru - 各版块帖子列表": { + "cs.rin.ru - 帖子列表": { "host": "cs.rin.ru", "url": "return (fun.lp() == '/forum/viewforum.php')", "pager": { @@ -1766,7 +1766,7 @@ "replaceE": "#wrapcentre > div" } }, - "RuTracker - 各版块帖子列表": { + "RuTracker - 帖子列表": { "host": "rutracker.org", "url": "/viewforum\\.php/", "pager": { @@ -4550,7 +4550,7 @@ "replaceE": "#paging" } }, - "t66y - 各板块帖子列表": { + "t66y - 帖子列表": { "host": "www.t66y.com", "url": "/^\\/thread/", "pager": { @@ -5220,5 +5220,42 @@ "replaceE": ".page", "scrollD": 2000 } + }, + "Hentai Cosplays - 手机版": { + "host": "hentai-cosplays.com", + "url": "return (fun.indexOF('/image/') && fun.isMobile())", + "style": ".icon-good-thumbnail, .icon-bad-thumbnail {display: none !important;}", + "pager": { + "nextL": "a.paginator_page[rel='next']", + "pageE": "#detail_list > li", + "replaceE": ".paginator_area", + "scrollD": 3500 + } + }, + "Hentai Cosplays": { + "host": "hentai-cosplays.com", + "url": "/^\\/image\\//", + "style": ".icon-good-thumbnail, .icon-bad-thumbnail {display: none !important;}", + "pager": { + "nextL": "id('paginator')//a[contains(text(), '>')]", + "pageE": ".icon-overlay", + "replaceE": "#paginator", + "scrollD": 3000 + } + }, + "24FA": { + "host": [ + "www.24fa.com", + "www.24faa.com", + "/www\\.\\d{3}w\\.cc/" + ], + "url": "/^\\/m?n\\d+/", + "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", + "replaceE": ".pager", + "scrollD": 3000 + } } } From c77fe8e1a6759af5f20f9eaacb7183656127993f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Mar 2022 11:51:51 +0800 Subject: [PATCH 0009/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[RuTrackerIN]?= =?UTF-8?q?=E3=80=81[nhentai]=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, 32 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 59454232c..77e6e7dc3 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1767,7 +1767,7 @@ } }, "RuTracker - 帖子列表": { - "host": "rutracker.org", + "host": ["rutracker.org", "rutracker.net"], "url": "/viewforum\\.php/", "pager": { "nextL": "#pagination b~a.pg", @@ -1776,7 +1776,7 @@ } }, "RuTracker - 帖子内": { - "host": "rutracker.org", + "host": ["rutracker.org", "rutracker.net"], "url": "/viewtopic\\.php/", "thread": true, "pager": { @@ -1785,6 +1785,15 @@ "replaceE": "#pagination" } }, + "RuTrackerIN - 帖子列表": { + "host": "rutracker.in", + "url": "/viewforum\\.php/", + "pager": { + "nextL": ".gensmall[align='right'] strong~a", + "pageE": "//table[@class='tablebg']/tbody/tr[./td[@class='row1']]", + "replaceE": ".gensmall[align='right']" + } + }, "GBAtemp - 帖子内": { "host": "gbatemp.net", "url": "/^\\/threads\\//", @@ -4602,6 +4611,27 @@ "scrollD": 1000 } }, + "nhentai": { + "host": "nhentai.net", + "url": "return (fun.lp() == '/' || fun.lp() == '/search/' || fun.indexOF(/\\/(tag|artist|character)\\//))", + "pager": { + "nextL": "a.next", + "pageE": ".gallery", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-src]','data-src'])" + } + }, + "nhentai - 图片页": { + "host": "nhentai.net", + "url": "/\\/g\\/\\d+\\/\\d+\\//", + "pager": { + "nextL": "a.next", + "pageE": "#image-container img", + "replaceE": ".reader-pagination" + } + }, "JavDB": { "host": "/^javdb/", "style": ".grid.columns {height: auto !important;} .grid-item.column{position: static !important; float: left !important; height: 313px !important;}", From 4ac1586c2d315f45460a144e7bdc4ff002c99e44 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Mar 2022 12:23:56 +0800 Subject: [PATCH 0010/1272] =?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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 34 +++++++++++++++++++--------------- other/Autopage/rules.json | 9 --------- 2 files changed, 19 insertions(+), 24 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index b76bab66b..eea596fec 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.3.0 +// @version 5.3.1 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -227,13 +227,15 @@ } else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) { console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 103; } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { - if (getAllCSS('article').length > 2 && getCSS('nav.paging-navigation, nav.pagination')) { + if (getAllCSS('article').length > 2 && getCSS('.pagination, .paging-navigation')) { if (getCSS('a.next')) { - console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 104; + console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)'); return 150; + } else if (getCSS('li.next-page > a')) { + console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)'); return 151; } else if (getCSS('.nav-previous a')) { - console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 105; + console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)'); return 152; } else if (getXpath('//nav[contains(@class, "navigation")]//a[contains(text(), "下一页") or contains(text(), ">")]')) { - console.info('[自动无缝翻页] - 使用 WordPress 下一页式> 主题的网站'); return 106; + console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)'); return 153; } } } 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) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { @@ -265,12 +267,14 @@ DBSite.dux.url(); delete curSite.function; break; case 103: // < 所有使用 WordPress Begin 主题的网站 > DBSite.begin.url(); break; - case 104: // < 所有使用 WordPress a.next 式 主题的网站 > - DBSite.wp_nav_navigation.url(); break; - case 105: // < 所有使用 WordPress nav-previous 旧文章式 主题的网站 > - DBSite.wp_nav_navigation.url('.nav-previous a'); break; - case 106: // < 所有使用 WordPress nav-navigation 下一页式 主题的网站 > - DBSite.wp_nav_navigation.url('//nav[contains(@class, "navigation")]//a[contains(text(), "下一页") or contains(text(), ">")]'); break; + case 150: // < 部分使用 WordPress 的网站 (a.next) > + DBSite.wp_article.url(); break; + case 151: // < 部分使用 WordPress 的网站 (li.next-page > a) > + DBSite.wp_article.url('li.next-page > a'); break; + case 152: // < 部分使用 WordPress 的网站 (旧文章) > + DBSite.wp_article.url('.nav-previous a'); break; + case 153: // < 部分使用 WordPress 的网站 (下一页) > + DBSite.wp_article.url('//nav[contains(@class, "navigation")]//a[contains(text(), "下一页") or contains(text(), ">")]'); break; case 200: // < 所有使用 笔趣阁 模板的小说网站 > DBSite.biquge.url(); break; } @@ -578,12 +582,12 @@ function: { scrollD: 1500 } }, // WordPress 的 Begin 主题 - 搜索页 - wp_nav_navigation: { - url: function(nextL = 'a.next') {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_nav_navigation; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, + wp_article: { + url: function(nextL = 'a.next') {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, pager: { nextL: 'a.next', pageE: 'article', - replaceE: 'nav.paging-navigation, nav.pagination', + replaceE: '.pagination, .paging-navigation', scrollD: 2000 } }, // Wordpress 的 nav.navigation 规则 @@ -697,7 +701,7 @@ function: { }, // B 站(Bilibili) - 搜索页 - 专栏 anime1: { host: 'anime1.me', - url: ()=> {if (indexOF('s=', 's')) {curSite = DBSite.wp_nav_navigation;} else if (lp == '/') {curSite = DBSite.anime1;}}, + url: ()=> {if (indexOF('s=', 's')) {curSite = DBSite.wp_article;} else if (lp == '/') {curSite = DBSite.anime1;}}, history: false, pager: { type: 4, diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 77e6e7dc3..cb9771fc8 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2984,15 +2984,6 @@ "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])" } }, - "QiuQuan's Blog": { - "host": "www.qiuquan.cc", - "url": "return (!fun.indexOF('.html'))", - "pager": { - "nextL": "li.next-page > a", - "pageE": "article", - "replaceE": ".pagination" - } - }, "小众软件": { "host": "www.appinn.com", "pager": { From 34ec8a75ef6e99a42e600c47d073b0344acddf46 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Mar 2022 13:18:15 +0800 Subject: [PATCH 0011/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E8=A7=84?= =?UTF-8?q?=E5=88=99(=E4=BB=A5=E7=A1=AE=E4=BF=9D=E7=BD=91=E9=A1=B5?= =?UTF-8?q?=E8=A2=AB=E7=BF=BB=E8=AF=91=E5=90=8E=E4=BE=9D=E7=84=B6=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E7=BF=BB=E9=A1=B5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 6 +++--- other/Autopage/rules.json | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index eea596fec..2e5148929 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.3.1 +// @version 5.3.2 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -234,7 +234,7 @@ console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)'); return 151; } else if (getCSS('.nav-previous a')) { console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)'); return 152; - } else if (getXpath('//nav[contains(@class, "navigation")]//a[contains(text(), "下一页") or contains(text(), ">")]')) { + } else if (getXpath('//nav[contains(@class, "navigation")]//a/text()[contains(., "下一页") or contains(., ">") or contains(translate(.,"NEXT","next"), "next")]')) { console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)'); return 153; } } @@ -274,7 +274,7 @@ case 152: // < 部分使用 WordPress 的网站 (旧文章) > DBSite.wp_article.url('.nav-previous a'); break; case 153: // < 部分使用 WordPress 的网站 (下一页) > - DBSite.wp_article.url('//nav[contains(@class, "navigation")]//a[contains(text(), "下一页") or contains(text(), ">")]'); break; + DBSite.wp_article.url('//nav[contains(@class, "navigation")]//a/text()[contains(., "下一页") or contains(., ">") or contains(translate(.,"NEXT","next"), "next")]'); break; case 200: // < 所有使用 笔趣阁 模板的小说网站 > DBSite.biquge.url(); break; } diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index cb9771fc8..b144b2439 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1738,9 +1738,9 @@ "host": "cs.rin.ru", "url": "return (fun.lp() == '/forum/viewforum.php')", "pager": { - "nextL": "//td[@class='gensmall'][@align='right']//a[text()='Next']", + "nextL": "#pagecontent .gensmall[align='right'] strong~a", "pageE": "#pagecontent > table.tablebg > tbody > tr:not([align])", - "replaceE": "#pagecontent > table:first-child" + "replaceE": "#pagecontent .gensmall[align='right']" }, "function": { "bF": "for (let i = 0; i < pageE.length; i++) {if (pageE[i].textContent.replace(/\\n|\\t/g,'') === 'Topics') {pageE.splice(0,i+1); break;}}; return pageE;" @@ -1751,7 +1751,7 @@ "url": "return (fun.lp() == '/forum/viewtopic.php')", "thread": true, "pager": { - "nextL": "id('pageheader')/p[@class='gensmall']//a[text()='Next']", + "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", "scrollD": 2000 @@ -1761,7 +1761,7 @@ "host": "cs.rin.ru", "url": "return (fun.lp() == '/forum/search.php')", "pager": { - "nextL": "id('wrapcentre')/div[@class='nav']//a[text()='Next']", + "nextL": "#wrapcentre > .nav strong~a", "pageE": "#wrapcentre > form > table.tablebg > tbody > tr[class^='row'], #wrapcentre > form > table.tablebg > tbody > tr[valign]", "replaceE": "#wrapcentre > div" } @@ -2246,7 +2246,7 @@ "host": "yts.mx", "url": "/^\\/browse-movies/", "pager": { - "nextL": "//li/a[text()='Next »']", + "nextL": "//ul[contains(@class, 'tsc_pagination')]/li[./a[@class='current']]/following-sibling::li[1]/a", "pageE": ".browse-movie-wrap", "replaceE": ".tsc_pagination" } @@ -3038,7 +3038,7 @@ ], "url": "return ((fun.lp() == '/' || fun.indexOF(/^\\/page\\//)) || fun.indexOF('/category/'))", "pager": { - "nextL": "//div[@class='pagination']//a[contains(text(), 'Next')]", + "nextL": ".pagination li.current+li>a", "pageE": "article.article", "replaceE": ".pagination", "scrollD": 1000 @@ -3669,7 +3669,7 @@ ], "url": "/tab=stars/", "pager": { - "nextL": "//div[@class='paginate-container']//a[contains(text(), 'Next')]", + "nextL": "//div[@class='paginate-container']/div/*[last()]", "pageE": "#js-pjax-container .position-relative div[class^='col-lg-'] > div:not(.position-relative):not(.paginate-container)", "insertP": [ ".paginate-container", @@ -3686,7 +3686,7 @@ ], "url": "/tab=repositories/", "pager": { - "nextL": "//div[@class='paginate-container']//a[contains(text(), 'Next')]", + "nextL": "//div[@class='paginate-container']/div/*[last()]", "pageE": "#user-repositories-list > ul > li", "replaceE": ".paginate-container", "scrollD": 3000 @@ -3738,7 +3738,7 @@ ], "url": "return (fun.indexOF(/\\/tags$/))", "pager": { - "nextL": "//div[@class='pagination']/a[contains(text(), 'Next')]", + "nextL": "//div[@class='pagination']/*[last()]", "pageE": ".Box-body > div.Box-row", "replaceE": ".pagination", "scrollD": 3000 @@ -3751,7 +3751,7 @@ ], "url": "/\\/commits/", "pager": { - "nextL": "//div[@class='paginate-container']//a[contains(text(), 'Older')]", + "nextL": "//div[@class='paginate-container']/div/*[last()]", "pageE": "div.js-navigation-container > div", "replaceE": ".paginate-container", "scrollD": 3000 From d43db0b2f3cd0ad52e245cc739f9cc747a60441a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Mar 2022 16:25:37 +0800 Subject: [PATCH 0012/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E9=AC=BC?= =?UTF-8?q?=E7=BD=97=E4=B8=BD=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 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index b144b2439..981a8cc55 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2540,6 +2540,29 @@ "scrollD": 2000 } }, + "鬼罗丽漫画": { + "host": [ + "www.gllmh8.com", + "m.gllmh8.com" + ], + "url": "/\\/\\d+(_\\d+)?\\.html$/", + "style": ".article-content img {visibility: visible; opacity: 1;} .swiper-container {display: none !important;}", + "pager": { + "nextL": "li.thisclass+li > a", + "pageE": ".article-content p, #newsArticle p", + "replaceE": ".pagination, .pages", + "scrollD": 5500 + } + }, + "鬼罗丽漫画 - 分类页": { + "host": "www.gllmh8.com", + "pager": { + "nextL": "li.thisclass+li > a", + "pageE": ".listl > ul > li", + "replaceE": ".page", + "scrollD": 2000 + } + }, "起点中文": { "host": "www.qidian.com", "url": "return (fun.indexOF('/all/'))", From 52514242bc6c46cc51fb67e969fda3f73f45838e Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Mar 2022 21:58:27 +0800 Subject: [PATCH 0013/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E9=81=9B?= =?UTF-8?q?=E6=97=A0=E5=86=99=E7=9C=9F]=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, 11 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 981a8cc55..aed926f41 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5301,5 +5301,16 @@ "replaceE": ".pager", "scrollD": 3000 } + }, + "遛无写真": { + "host": "www.6evu.com", + "url": "/^\\/\\d+\\.html/", + "style": "#post_content > .code-block, .single-ad, .single-adphone {display: none !important;}", + "pager": { + "nextL": ".pagelist > span+a", + "pageE": "#post_content", + "replaceE": ".pagelist", + "scrollD": 2000 + } } } From cb1c4cf9d9129abb9642f760467666a4cee1f314 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Mar 2022 23:07:56 +0800 Subject: [PATCH 0014/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E4=BB=A3?= =?UTF-8?q?=E7=A0=81(=E4=BB=A5=E9=80=82=E9=85=8D=E5=88=9A=E5=88=9A?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=9A=84=E8=A7=84=E5=88=99)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 2e5148929..307828aa4 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.3.2 +// @version 5.3.3 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -2529,7 +2529,7 @@ function: { // 自动无缝翻页 function pageLoading() { - if (curSite.SiteTypeID == 0) return + if (curSite.SiteTypeID === 0 || !curSite.pager) return if (curSite.pager.type === undefined) curSite.pager.type = 1; // 默认翻页模式 1 if (curSite.pager.scrollD === undefined) curSite.pager.scrollD = 1500; // 默认翻页触发线 1500 if (curSite.pager.interval === undefined) curSite.pager.interval = 500; // 默认间隔时间 500ms @@ -3020,12 +3020,13 @@ function: { // 检查 URL function checkURL(func) { + if (!curSite.pager.nextL) return if (typeof curSite.pager.nextL == 'function') { let tempUrl = curSite.pager.nextL(); if (!tempUrl || tempUrl === curSite.pageUrl || tempUrl.slice(0,4) !== 'http') return curSite.pageUrl = tempUrl; func(curSite.pageUrl); - } else if (curSite.pager.nextL && curSite.pager.nextL.search(/^js;/i) === 0) { // 自定义翻页规则中执行 JavaScript 代码的 + } else if (curSite.pager.nextL.search(/^js;/i) === 0) { // 自定义翻页规则中执行 JavaScript 代码的 try { let tempUrl = new Function('fun', curSite.pager.nextL.slice(3))(window.autoPage); if (!tempUrl || tempUrl === curSite.pageUrl || tempUrl.slice(0,4) !== 'http') return @@ -3043,7 +3044,6 @@ function: { function replaceElems(pageE, o = curSite.pager.replaceE, r = curSite.pager.replaceE) { let oE = getAll(o), rE = getAll(r, pageE, pageE); - //console.log(oE, rE) if (oE.length != 0 && rE.length != 0 && oE.length === rE.length) { for (let i = 0; i < oE.length; i++) { oE[i].outerHTML = rE[i].outerHTML; From 4b17e9e7e640c9ea95a74f716fc3ef713c0955d3 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Mar 2022 23:08:17 +0800 Subject: [PATCH 0015/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=8E=A8?= =?UTF-8?q?=E5=9B=BE=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 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index aed926f41..812223c6e 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5312,5 +5312,31 @@ "replaceE": ".pagelist", "scrollD": 2000 } + }, + "推图网": { + "host": "m.tuiimg.com", + "url": "return (fun.lp() == '/')", + "hiddenPN": true, + "pager": { + "nextL": "js;showmore()", + "interval": 3000 + } + }, + "推图网 - 图片页": { + "host": ["m.tuiimg.com", "www.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{display: none !important;}", + "hiddenPN": true + }, + "推图网 - 分类页": { + "host": ["m.tuiimg.com", "www.tuiimg.com"], + "pager": { + "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'])" + } } } From 82cf305da59b913b937c9749ff33de35de510218 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 13 Mar 2022 23:30:23 +0800 Subject: [PATCH 0016/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[18=20=E7=A6=81?= =?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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 812223c6e..e470189c1 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5232,6 +5232,19 @@ "bF": "return fun.src_bF(pageE, [0,'img[data-lazy-src]','data-lazy-src'])" } }, + "18 禁漫": { + "host": "www.18mh.cc", + "url": "/^\\/index-look/", + "style": ".e img {display: block; margin: 0 auto;}", + "pager": { + "nextL": "//div[@class='c']/a[text()='下一頁' or text()='下一章'][not(@class='n fanye')]", + "pageE": ".e > img:not([style='display:none;'])", + "replaceE": ".c, .b" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-url]','data-url'])" + } + }, "ROSIMM 写真": { "host": [ "www.rosi3.cc", From 96b7239d0442782b3e77388991572fe7ca1c0bd0 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 14 Mar 2022 09:24:27 +0800 Subject: [PATCH 0017/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=99=BE?= =?UTF-8?q?=E5=BA=A6=E7=AB=99=E5=86=85=E6=90=9C=E7=B4=A2]=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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index e470189c1..efb21dd42 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -21,6 +21,16 @@ "scrollD": 2000 } }, + "百度站内搜索": { + "host": "zhannei.baidu.com", + "url": "return (fun.lp() == '/cse/site')", + "pager": { + "nextL": "a.pager-next-foot", + "pageE": ".result", + "replaceE": "#pageFooter", + "scrollD": 1000 + } + }, "谷歌搜索 - 手机版": { "host": "/^www\\.google\\./", "url": "return (fun.lp() == '/search' && !fun.indexOF('tbm=isch', 's') && (fun.indexOF('sclient=mobile', 's') || fun.isMobile()))", From d2d600891b9f846c201bb1e3d3f21544116ba207 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 14 Mar 2022 10:52:40 +0800 Subject: [PATCH 0018/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E9=83=A8?= =?UTF-8?q?=E5=88=86=E8=87=AA=E5=B8=A6=20=E8=87=AA=E5=8A=A8=E6=97=A0?= =?UTF-8?q?=E7=BC=9D=E7=BF=BB=E9=A1=B5=20=E7=9A=84=E7=BD=91=E7=AB=99]=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 | 106 +++++++++++++++++--------------------- other/Autopage/rules.json | 1 - 2 files changed, 48 insertions(+), 59 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 307828aa4..cb4472383 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.3.3 +// @version 5.3.4 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -201,7 +201,6 @@ } } } - if (support) { console.info('[自动无缝翻页] - 独立规则 网站'); return 1; } else if (self != top) { @@ -218,6 +217,8 @@ console.info('[自动无缝翻页] - 论坛'); return 6; } else if (getCSS('head meta[name="generator" i][content="nexusphp" i]') || getXpath('id("footer")[contains(string(), "NexusPHP")]')) { console.info('[自动无缝翻页] - 论坛'); return 7; + } else if (getAllCSS('.load-more, #loadmore, #load-more, .show_more').length === 1) { + console.info('[自动无缝翻页] - 部分自带 自动无缝翻页 的网站'); return 8; } else if (getCSS('link[href*="themes/dux" i], script[src*="themes/dux" i]')) { console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 100; } else if (getCSS('link[href*="themes/xiu" i], script[src*="themes/xiu" i]')) { @@ -229,13 +230,13 @@ } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { if (getAllCSS('article').length > 2 && getCSS('.pagination, .paging-navigation')) { if (getCSS('a.next')) { - console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)'); return 150; + console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)'); return 104; } else if (getCSS('li.next-page > a')) { - console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)'); return 151; + console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)'); return 105; } else if (getCSS('.nav-previous a')) { - console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)'); return 152; + console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)'); return 106; } else if (getXpath('//nav[contains(@class, "navigation")]//a/text()[contains(., "下一页") or contains(., ">") or contains(translate(.,"NEXT","next"), "next")]')) { - console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)'); return 153; + console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)'); return 107; } } } 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) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { @@ -259,6 +260,8 @@ DBSite.xenforo.url(); break; case 7: // < 所有 NexusPHP 论坛 > DBSite.nexusphp.url(); break; + case 8: // < 部分自带 自动无缝翻页 的网站 > + curSite = DBSite.loadmore; break; case 100: // < 所有使用 WordPress DUX 主题的网站 > DBSite.dux.url(); if (location.hostname === 'apphot.cc') {curSite.pager.scrollD = 2500;}; break; case 101: // < 所有使用 WordPress XIU 主题的网站 > @@ -267,13 +270,13 @@ DBSite.dux.url(); delete curSite.function; break; case 103: // < 所有使用 WordPress Begin 主题的网站 > DBSite.begin.url(); break; - case 150: // < 部分使用 WordPress 的网站 (a.next) > + case 104: // < 部分使用 WordPress 的网站 (a.next) > DBSite.wp_article.url(); break; - case 151: // < 部分使用 WordPress 的网站 (li.next-page > a) > + case 105: // < 部分使用 WordPress 的网站 (li.next-page > a) > DBSite.wp_article.url('li.next-page > a'); break; - case 152: // < 部分使用 WordPress 的网站 (旧文章) > + case 106: // < 部分使用 WordPress 的网站 (旧文章) > DBSite.wp_article.url('.nav-previous a'); break; - case 153: // < 部分使用 WordPress 的网站 (下一页) > + case 107: // < 部分使用 WordPress 的网站 (下一页) > DBSite.wp_article.url('//nav[contains(@class, "navigation")]//a/text()[contains(., "下一页") or contains(., ">") or contains(translate(.,"NEXT","next"), "next")]'); break; case 200: // < 所有使用 笔趣阁 模板的小说网站 > DBSite.biquge.url(); break; @@ -353,12 +356,20 @@ function: { } */ //<<< 规则简单说明 >>> DBSite = { + loadmore: { + pager: { + type: 2, + nextL: '.load-more, #loadmore, #load-more, .show_more', + isHidden: true, + interval: 1000, + scrollD: 2500 + } + }, // 部分自带 自动无缝翻页 的网站 discuz_forum: { pager: { type: 2, nextL: '#autopbn', - nextTextOf: '下一', - scrollD: 1500 + nextTextOf: '下一' } }, // Discuz! 论坛 - 帖子列表(自带无缝加载下一页按钮的) discuz_guide: { @@ -366,8 +377,7 @@ function: { 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', - forceHTTPS: true, - scrollD: 1500 + forceHTTPS: true } }, // Discuz! 论坛 - 导读页 及 帖子列表(不带无缝加载下一页按钮的) discuz_waterfall: { @@ -375,8 +385,7 @@ function: { nextL: 'a.nxt:not([href^="javascript"]) ,a.next:not([href^="javascript"])', pageE: '#waterfall > li', replaceE: '.pg, .pages', - forceHTTPS: true, - scrollD: 1500 + forceHTTPS: true } }, // Discuz! 论坛 - 图片模式的帖子列表(不带无缝加载下一页按钮的) discuz_thread: { @@ -386,8 +395,7 @@ function: { nextL: 'a.nxt:not([href^="javascript"]) ,a.next:not([href^="javascript"])', pageE: '#postlist > div[id^="post_"]', replaceE: '//div[contains(@class,"pg") or contains(@class,"pages")][./a[contains(@class,"nxt") or contains(@class,"next") or contains(@class,"prev")][not(contains(@href,"javascript") or contains(@href,"commentmore"))]]', - forceHTTPS: true, - scrollD: 1500 + forceHTTPS: true }, function: { bF: src_bF, @@ -399,8 +407,7 @@ function: { nextL: 'a.nxt:not([href^="javascript"]) ,a.next:not([href^="javascript"])', pageE: '#threadlist > ul', replaceE: '.pg, .pages', - forceHTTPS: true, - scrollD: 1500 + forceHTTPS: true } }, // Discuz! 论坛 - 搜索页 discuz_youspace: { @@ -408,8 +415,7 @@ function: { nextL: 'a.nxt:not([href^="javascript"]) ,a.next:not([href^="javascript"])', pageE: 'form:not([action^="search.php?"]) tbody > tr:not(.th)', replaceE: '.pg, .pages', - forceHTTPS: true, - scrollD: 1500 + forceHTTPS: true } }, // Discuz! 论坛 - 回复页、主题页(别人的) discuz_collection: { @@ -417,8 +423,7 @@ function: { nextL: 'a.nxt:not([href^="javascript"]) ,a.next:not([href^="javascript"])', pageE: '#ct .bm_c table > tbody', replaceE: '.pg, .pages', - forceHTTPS: true, - scrollD: 1500 + forceHTTPS: true } }, // Discuz! 论坛 - 淘帖页 discuz_m: { @@ -443,8 +448,7 @@ function: { pager: { type: 2, nextL: '.DiscussionList-loadMore > button', - isHidden: true, - scrollD: 1500 + isHidden: true } }, // Flarum 论坛 phpbb: { @@ -516,8 +520,7 @@ function: { pager: { nextL: '//li[@class="page-item"]/a[text()="▶"]', pageE: 'ul.threadlist > li', - replaceE: 'ul.pagination', - scrollD: 1500 + replaceE: 'ul.pagination' } }, // Xiuno 论坛 - 帖子列表 xiuno_post: { @@ -525,8 +528,7 @@ function: { pager: { nextL: '//li[@class="page-item"]/a[text()="▶"]', pageE: 'li.post[data-pid]:not(.newpost)', - replaceE: 'ul.pagination', - scrollD: 1500 + replaceE: 'ul.pagination' } }, // Xiuno 论坛 - 帖子内 nexusphp: { @@ -547,8 +549,7 @@ function: { pager: { nextL: '//a[./b[contains(text(), "下一页") or contains(text(), ">>")]]', pageE: 'table.torrents > tbody > tr:not(:first-of-type)', - replaceE: '//p[@align][./font[@class="gray"]]', - scrollD: 1500 + replaceE: '//p[@align][./font[@class="gray"]]' } }, // NexusPHP 论坛 dux: { @@ -557,8 +558,7 @@ function: { pager: { nextL: 'li.next-page > a', pageE: '.content > article', - replaceE: '.content > .pagination', - scrollD: 1500 + replaceE: '.content > .pagination' }, function: { bF: src_bF, @@ -570,16 +570,14 @@ function: { pager: { type: 2, nextL: 'div[id^="ias_trigger_"]', - interval: 500, - scrollD: 1500 + interval: 500 } }, // WordPress 的 Begin 主题 begin_search: { pager: { nextL: 'a.next', pageE: '#main > ul > li', - replaceE: 'nav.pagination', - scrollD: 1500 + replaceE: 'nav.pagination' } }, // WordPress 的 Begin 主题 - 搜索页 wp_article: { @@ -599,8 +597,7 @@ function: { pageE: '#content, .content, #chaptercontent, .chaptercontent, #BookText', insertP: ['#content, .content, #chaptercontent, .chaptercontent, #BookText', 6], insertP6Br: true, - replaceE: '//*[./a[contains(text(), "下一章") or contains(text(), "下一页")]]', - scrollD: 1500 + replaceE: '//*[./a[contains(text(), "下一章") or contains(text(), "下一页")]]' } }, // 笔趣阁 模板的小说网站 baidu_tieba: { @@ -639,8 +636,7 @@ function: { 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;}', - scrollD: 1500 + style: 'ul.tbui_aside_float_bar, .core_title_wrap_bright.tbui_follow_fixed.core_title_absolute_bright {display: none !important;}' } }, // 百度贴吧 - 帖子内 baidu_tieba_search: { @@ -821,8 +817,7 @@ function: { pager: { nextL: '//div[@class="NewPages"]//a[text()="下一页"]', pageE: 'ul.mh-search-list > li', - replaceE: '.NewPages', - scrollD: 1500 + replaceE: '.NewPages' } }, // 爱漫画 - 分类页 manhuagui: { @@ -852,8 +847,7 @@ function: { nextL: '//div[@class="pager"]/a[text()="下一页" or text()="下一頁"]', pageE: '.book-result > ul > li, .book-list > ul > li', insertP: ['.book-result > ul, .book-list > ul', 3], - replaceE: '.pager', - scrollD: 1500 + replaceE: '.pager' }, function: { bF: src_bF, @@ -889,8 +883,7 @@ function: { pager: { nextL: 'ul.pagination li.next a', pageE: '#contList', - replaceE: 'ul.pagination', - scrollD: 1500 + replaceE: 'ul.pagination' } }, // 36漫画 - 分类/搜索页 manhuadb: { @@ -1000,8 +993,7 @@ function: { /*dmzj_manhua_list: { pager: { nextL: ()=> getNextUPN(/(?<=-)\d+(?=\.shtml)/, /-\d+\.shtml/, '-', '.shtml', '2', getCSS('#topage > option:last-child').value), - pageE: '#search_list_div ul', - scrollD: 1500 + pageE: '#search_list_div ul' } },*/ // 动漫之家 - 日漫 - 分类页 dmzj_manhua_update: { @@ -1383,8 +1375,7 @@ function: { type: 4, nextL: coolkeyan_nextL, insertP: ['//div[contains(@class, "q-img__image")][last()]', 4], - insertE: coolkeyan_insertE, - scrollD: 1500 + insertE: coolkeyan_insertE } }, // 酷科研 nsfc: { @@ -1395,8 +1386,7 @@ function: { type: 4, nextL: nsfc_nextL, insertP: ['#pageNoUl', 1], - insertE: nsfc_insertE, - scrollD: 1500 + insertE: nsfc_insertE } } // 国家自然科学基金 }; @@ -3303,9 +3293,9 @@ function: { "host": "aaaa", "url": "xxxx", "pager": { - "nextL": "xxx", - "pageE": "xxx", - "replaceE": "xxx", + "nextL": "xxxx", + "pageE": "xxxx", + "replaceE": "xxxx", "scrollD": 1000 } }, @@ -3335,7 +3325,7 @@ function: { }, "这里也可以用中文": { "host": "/\\.ccc\\.com/", - "url": "fun.UrlC(); return (fun.lp() == '/' || fun.indexOF('/s'))", + "url": "fun.UrlC(); return (fun.lp() == '/' || fun.indexOF('/s') || fun.isMobile())", "pager": { "type": 2, "nextL": "#autopbn", diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index efb21dd42..51939ad9b 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -566,7 +566,6 @@ "煎蛋网 - 大杂烩": { "host": "jandan.net", "url": "return (fun.lp() == '/dzh')", - "history": false, "pager": { "type": 2, "nextL": ".show_more", From c07092a73ee47864bddbfd07e884f0e30433cebf Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 14 Mar 2022 11:46:00 +0800 Subject: [PATCH 0019/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E5=87=B8?= =?UTF-8?q?=E5=87=B9=E5=90=A7]=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, 2 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 51939ad9b..7d6777a3c 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5186,10 +5186,10 @@ ], "url": "/^\\/(post|web)\\//", "pager": { + "type": 3, "nextL": "li.next-page > a", "pageE": ".entry img, .article-content img", - "replaceE": "#dm-fy", - "scrollD": 4500 + "replaceE": "#dm-fy" } }, "高清尤物网": { From 675c2165ce397945cd28970c8784921c5ee88ee9 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 14 Mar 2022 17:57:42 +0800 Subject: [PATCH 0020/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=AD=97?= =?UTF-8?q?=E5=B9=95=E5=BA=93]=E3=80=81[Javbooks]=E3=80=81[JAV=20Library]?= =?UTF-8?q?=20=E6=94=AF=E6=8C=81;=20=E8=A1=A5=E5=85=85=20[anix.moe]=20?= =?UTF-8?q?=E5=9F=9F=E5=90=8D;=20=E4=BC=98=E5=8C=96=20[=E6=89=80=E6=9C=89?= =?UTF-8?q?=20Xiuno=20=E8=AE=BA=E5=9D=9B]=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 | 7 ++-- other/Autopage/rules.json | 71 +++++++++++++++++++++++++++++++++++---- 2 files changed, 68 insertions(+), 10 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index cb4472383..3c2fb5654 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.3.4 +// @version 5.3.5 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -518,7 +518,7 @@ function: { xiuno: { url: ()=> {if (lp == '/' || indexOF(/\/(index|forum)/)) {curSite = DBSite.xiuno;} else if (indexOF('/thread')) {curSite = DBSite.xiuno_post;}}, pager: { - nextL: '//li[@class="page-item"]/a[text()="▶"]', + nextL: '//li[@class="page-item"]/a[text()="▶" or text()="»" or contains(text(),">") or contains(text(),"下一页")]', pageE: 'ul.threadlist > li', replaceE: 'ul.pagination' } @@ -526,7 +526,7 @@ function: { xiuno_post: { thread: true, pager: { - nextL: '//li[@class="page-item"]/a[text()="▶"]', + nextL: '//li[@class="page-item"]/a[text()="▶" or text()="»" or contains(text(),">") or contains(text(),"下一页")]', pageE: 'li.post[data-pid]:not(.newpost)', replaceE: 'ul.pagination' } @@ -2523,6 +2523,7 @@ function: { if (curSite.pager.type === undefined) curSite.pager.type = 1; // 默认翻页模式 1 if (curSite.pager.scrollD === undefined) curSite.pager.scrollD = 1500; // 默认翻页触发线 1500 if (curSite.pager.interval === undefined) curSite.pager.interval = 500; // 默认间隔时间 500ms + //console.log(curSite) curSite.pageUrl = ''; // 下一页URL windowScroll(function (direction, e) { // 下滑 且 未暂停翻页 且 SiteTypeID > 0 时,才准备翻页 diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 7d6777a3c..3d83edc66 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2107,7 +2107,7 @@ } }, "BT 之家": { - "host": "/btbtt/", + "host": "/\\d?btbtt\\d?/", "pager": { "nextL": "//div[@class='page']/a[contains(text(), '▶') or contains(text(), '下一页')]", "pageE": "#threadlist > *", @@ -2138,6 +2138,7 @@ "host": [ "www.kisssub.org", "www.comicat.org", + "www.anix.moe", "/(share|www)\\.acgnx\\./" ], "pager": { @@ -2324,7 +2325,7 @@ "scrollD": 2000 } }, - "A4k字幕网": { + "A4k 字幕网": { "host": "www.a4k.net", "url": "return (!fun.indexOF('/subtitle/'))", "pager": { @@ -2358,7 +2359,7 @@ "scrollD": 1000 } }, - "射手网": { + "伪射手网": { "host": "assrt.net", "url": "return (fun.lp() === '/sub/')", "pager": { @@ -2372,7 +2373,7 @@ "scrollD": 1000 } }, - "射手网 - 分类页": { + "伪射手网 - 分类页": { "host": "assrt.net", "url": "return (fun.indexOF('/list/'))", "pager": { @@ -2382,7 +2383,23 @@ "scrollD": 1000 } }, - "中文字幕网": { + "字幕库 zmk": { + "host": [ + "zmk.pw", + "zimuku.org", + "zimuku.pw" + ], + "url": "if (!fun.indexOF('/detail/')) {if (fun.lp() == '/') {fun.getCSS('.box > .table').insertAdjacentHTML('beforebegin', '
')}; return true;}", + "pager": { + "nextL": "a.next", + "pageE": ".item, .box > .table > tbody > tr", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])" + } + }, + "中文字幕网 zimuzimu": { "host": "cn.zimuzimu.com", "url": "return (fun.lp() == '/so_zimu.htm')", "pager": { @@ -4657,6 +4674,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;}", "pager": { "nextL": "a.pagination-next", @@ -4668,8 +4686,8 @@ } }, "JavBus": { - "host": "/\\.jav.+|.+jav\\./", - "url": "return (!fun.indexOF('/forum/'))", + "host": "/^www\\.(jav.+|.+jav)\\./", + "url": "return (document.title.indexOf('JavBus') > -1 && !fun.indexOF('/forum/'))", "style": "#waterfall {height: auto !important;} #waterfall > .item {position: static !important; float: left !important; height: 400px !important;}", "pager": { "nextL": "#next", @@ -4677,6 +4695,45 @@ "replaceE": ".pagination" } }, + "Javbooks": { + "host": [ + "javbooks.com", + "jmvbt.com", + "/^[a-z]{2}\\d{4}\\.com$/" + ], + "url": "return (document.title.indexOf('Javbooks') > -1 && !fun.indexOF('/content_'))", + "pager": { + "nextL": "span.pageback > a", + "pageE": ".Po_topic, .Po_u_topic", + "replaceE": ".PageBar" + } + }, + "JAV Library": { + "host": [ + "www.javlib.com", + "www.javlibrary.com", + "www.o58c.com" + ], + "url": "/\\/vl_/", + "pager": { + "nextL": "a.next", + "pageE": ".video", + "replaceE": ".page_selector" + } + }, + "JAV Library - 论坛": { + "host": [ + "www.javlib.com", + "www.javlibrary.com", + "www.o58c.com" + ], + "url": "/\\/public/", + "pager": { + "nextL": "a.next", + "pageE": "table.pubgroup > tbody > tr:not(#header), table.post", + "replaceE": ".page_selector" + } + }, "UraakaList": { "host": "uraakalist.com", "url": "/^\\/.+/", From cef387212db59fb863c9881395002b5bf8903b79 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 14 Mar 2022 18:14:06 +0800 Subject: [PATCH 0021/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=82=B9?= =?UTF-8?q?=E7=82=B9=E5=AD=97=E5=B9=95]=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 3d83edc66..ed777cc2f 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2409,6 +2409,15 @@ "scrollD": 1000 } }, + "点点字幕": { + "host": "www.ddzimu.com", + "url": "/\\/xslist\\.php/", + "pager": { + "nextL": "li.disabled+li>a", + "pageE": ".list > ul > li:not(.first)", + "replaceE": ".pagination" + } + }, "好漫 6": { "host": [ "www.haoman6.com", From c983a7b35e6a70ddc9adf39f4098d3ae8cf8f904 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 14 Mar 2022 20:27:18 +0800 Subject: [PATCH 0022/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E4=B8=9C?= =?UTF-8?q?=E6=96=B9=E8=B5=84=E8=AE=AF]=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 ed777cc2f..ef0bb1377 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4567,6 +4567,19 @@ "scrollD": 1000 } }, + "东方资讯": { + "host": "mini.eastday.com", + "url": "/\\/nsa\\//", + "pager": { + "type": 3, + "nextL": "a.cur+a", + "pageE": "#J-contain_detail_cnt", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-url]','data-url'])" + } + }, "xvideos": { "host": [ "www.xnxx.com", From de678e190abf4a3b4551d4d5f57ca69438d2c48d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 15 Mar 2022 20:15:37 +0800 Subject: [PATCH 0023/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=96=B5?= =?UTF-8?q?=E5=BE=A1=E5=AE=85]=E3=80=81[Gelbooru]=E3=80=81[Danbooru]=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81;=20=E6=9B=B4=E6=96=B0=20[=E8=85=BE=E9=BE=99?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=AE=A4]=20=E8=A7=84=E5=88=99;=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20[=E9=83=A8=E5=88=86=E8=87=AA=E5=B8=A6=20=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=97=A0=E7=BC=9D=E7=BF=BB=E9=A1=B5=20=E7=9A=84?= =?UTF-8?q?=E7=BD=91=E7=AB=99]=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 | 18 +++++++++------- other/Autopage/rules.json | 44 +++++++++++++++++++++++++-------------- 2 files changed, 39 insertions(+), 23 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 3c2fb5654..3cf80feba 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.3.5 +// @version 5.3.6 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -217,8 +217,10 @@ console.info('[自动无缝翻页] - 论坛'); return 6; } else if (getCSS('head meta[name="generator" i][content="nexusphp" i]') || getXpath('id("footer")[contains(string(), "NexusPHP")]')) { console.info('[自动无缝翻页] - 论坛'); return 7; - } else if (getAllCSS('.load-more, #loadmore, #load-more, .show_more').length === 1) { - console.info('[自动无缝翻页] - 部分自带 自动无缝翻页 的网站'); return 8; + } else if (getAllCSS('.load-more, .loadmore, #load-more, #loadmore, .show_more').length === 1) { + console.info('[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 1'); return 8; + } else if (getAllXpath('//*[@onclick][text()="加载更多" or text()="查看更多"]').length === 1) { + console.info('[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 2'); return 9; } else if (getCSS('link[href*="themes/dux" i], script[src*="themes/dux" i]')) { console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 100; } else if (getCSS('link[href*="themes/xiu" i], script[src*="themes/xiu" i]')) { @@ -260,8 +262,10 @@ DBSite.xenforo.url(); break; case 7: // < 所有 NexusPHP 论坛 > DBSite.nexusphp.url(); break; - case 8: // < 部分自带 自动无缝翻页 的网站 > - curSite = DBSite.loadmore; break; + case 8: // < 部分自带 自动无缝翻页 的网站 1 > + DBSite.loadmore.url(); break; + case 9: // < 部分自带 自动无缝翻页 的网站 2 > + DBSite.loadmore.url('//*[@onclick][text()="加载更多" or text()="查看更多"]'); break; case 100: // < 所有使用 WordPress DUX 主题的网站 > DBSite.dux.url(); if (location.hostname === 'apphot.cc') {curSite.pager.scrollD = 2500;}; break; case 101: // < 所有使用 WordPress XIU 主题的网站 > @@ -357,9 +361,9 @@ function: { */ //<<< 规则简单说明 >>> DBSite = { loadmore: { + url: function(nextL = '.load-more, .loadmore, #load-more, #loadmore, .show_more') {curSite = DBSite.loadmore; curSite.pager.nextL = nextL;}, pager: { type: 2, - nextL: '.load-more, #loadmore, #load-more, .show_more', isHidden: true, interval: 1000, scrollD: 2500 @@ -583,7 +587,6 @@ function: { wp_article: { url: function(nextL = 'a.next') {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, pager: { - nextL: 'a.next', pageE: 'article', replaceE: '.pagination, .paging-navigation', scrollD: 2000 @@ -3332,6 +3335,7 @@ function: { "nextL": "#autopbn", "nextText": "下一页", "nextTextOf": "下一页", + "isHidden": true, "interval": 1000, "scrollD": 1500 } diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index ef0bb1377..528620cae 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3021,14 +3021,6 @@ "replaceE": "#pages" } }, - "盒子部落 - 首页": { - "host": "www.hezibuluo.com", - "url": "/^\\/$/", - "pager": { - "type": 2, - "nextL": ".load-more:not(.loading)" - } - }, "盒子部落": { "host": "www.hezibuluo.com", "url": "return (!fun.indexOF(/\\/\\d+\\.html/))", @@ -3044,6 +3036,7 @@ }, "小众软件": { "host": "www.appinn.com", + "url": "return (fun.lp() == '/' || fun.indexOF('/category/'))", "pager": { "nextL": "a.next.page-numbers", "pageE": "section#latest-posts > article", @@ -3208,21 +3201,20 @@ }, "腾龙工作室": { "host": "www.tenlonstudio.com", - "url": "return (fun.lp() == '/' && !location.search)", + "url": "return (fun.lp() !== '/' && !fun.indexOF('.html') && fun.getXpath('//div[@class=\"btn-pager\"]/a[contains(text(), \"❯\")]') != null)", "pager": { - "type": 2, - "nextL": ".load-more", - "nextText": "加载更多", - "interval": 500, + "nextL": "//div[@class='btn-pager']/a[contains(text(), '❯')]", + "pageE": "li.post-list-item", + "replaceE": ".ajax-pager", "scrollD": 1000 } }, - "腾龙工作室 - 分类/搜索页": { + "腾龙工作室 - 动态加载": { "host": "www.tenlonstudio.com", + "url": "return (fun.lp() !== '/' && !fun.indexOF('.html'))", "pager": { - "nextL": "//div[@class='btn-pager']/a[contains(text(), '❯')]", + "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", - "replaceE": ".ajax-pager", "scrollD": 1000 } }, @@ -4313,6 +4305,26 @@ "scrollD": 1000 } }, + "Gelbooru": { + "host": "gelbooru.com", + "url": "/page=post&s=list/", + "pager": { + "nextL": "#paginator > a[alt='next']", + "pageE": ".thumbnail-preview", + "replaceE": "#paginator", + "scrollD": 1000 + } + }, + "Danbooru": { + "host": "danbooru.donmai.us", + "url": "return (fun.lp() == '/' || fun.lp() == '/posts')", + "pager": { + "nextL": "a.paginator-next", + "pageE": ".post-preview", + "replaceE": ".paginator", + "scrollD": 1000 + } + }, "nastol": { "host": "www.nastol.com.ua", "pager": { From b261db13ca90d63d7322d370f3d3e8ce7d6399dd Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 16 Mar 2022 10:36:02 +0800 Subject: [PATCH 0024/1272] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20=E5=87=A0?= =?UTF-8?q?=E4=B8=AA=E5=B7=B2=E7=BB=8F=E8=A2=AB=20[=E9=83=A8=E5=88=86?= =?UTF-8?q?=E8=87=AA=E5=B8=A6=E6=97=A0=E7=BC=9D=E7=BF=BB=E9=A1=B5=E7=9A=84?= =?UTF-8?q?=E7=BD=91=E7=AB=99]=20=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99?= =?UTF-8?q?=E6=89=80=E6=9B=BF=E4=BB=A3=E7=9A=84=E7=BD=91=E7=AB=99=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 | 2 +- other/Autopage/rules.json | 27 --------------------------- 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 3cf80feba..895d4eece 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -366,7 +366,7 @@ function: { type: 2, isHidden: true, interval: 1000, - scrollD: 2500 + scrollD: 2000 } }, // 部分自带 自动无缝翻页 的网站 discuz_forum: { diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 528620cae..9ae8539e2 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -153,16 +153,6 @@ "bF": "return fun.src_bF(pageE, [0,'img[data-isrc]','data-isrc'])" } }, - "360 搜索 - 手机版": { - "host": "m.so.com", - "url": "/^\\/.+/", - "pager": { - "type": 2, - "nextL": "#load-more", - "isHidden": true, - "scrollD": 1000 - } - }, "轻搜": { "host": "www.qingsearch.com", "url": "return (fun.lp() == '/' && fun.indexOF('qings=', 's'))", @@ -1821,15 +1811,6 @@ "replaceE": ".pageNav" } }, - "茶杯狐": { - "host": "/www\\.cupfox\\./", - "pager": { - "type": 2, - "nextL": ".load-more", - "nextText": "点击加载更多", - "scrollD": 700 - } - }, "NO视频": { "host": "www.novipnoad.com", "url": "return (fun.lp() != '/' && !fun.indexOF('.html'))", @@ -4055,14 +4036,6 @@ "scrollD": 1000 } }, - "ScienceAlert": { - "host": "www.sciencealert.com", - "pager": { - "type": 2, - "nextL": ".load-more", - "scrollD": 2000 - } - }, "致美化": { "host": "zhutix.com", "url": "if (fun.getCSS('#post-list')) return true;", From ee22e33d7c70c811663c84dc987a619c67da18af Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 16 Mar 2022 11:28:11 +0800 Subject: [PATCH 0025/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=A5=9E?= =?UTF-8?q?=E9=A9=AC=E6=90=9C=E7=B4=A2]=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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 9ae8539e2..fd19e8461 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -139,6 +139,14 @@ "bF": "if (fun.getXpath('//div[contains(@class,\"-header\") and string()=\"相关搜索\"]', pageE[pageE.length - 1])) {pageE[pageE.length - 1].style.display = 'none';}; return pageE" } }, + "神马搜索": { + "host": "m.sm.cn", + "url": "/^\\/s/", + "pager": { + "type": 2, + "nextL": "#pager:not(.loading)" + } + }, "360 搜索": { "host": "www.so.com", "url": "/^\\/.+/", From f8c11f91c6573fd6676d775f0573a7e75841f822 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 16 Mar 2022 13:05:02 +0800 Subject: [PATCH 0026/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=A3=81?= =?UTF-8?q?=E5=8A=9B=E7=8B=97]=E3=80=81[=E9=9B=A8=E8=8A=B1=E9=98=81]?= =?UTF-8?q?=E3=80=81[Zooqle]=E3=80=81[Nite07=20=E7=9A=84=E5=B0=8F=E7=AA=9D?= =?UTF-8?q?]=20=E6=94=AF=E6=8C=81;=20=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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 10 ++++----- other/Autopage/rules.json | 46 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 5 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 895d4eece..7489224a5 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.3.6 +// @version 5.3.7 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -230,14 +230,14 @@ } else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) { console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 103; } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { - if (getAllCSS('article').length > 2 && getCSS('.pagination, .paging-navigation')) { + if (getAllCSS('article').length > 2 && getCSS('#nav-below, nav.navigation, nav.pagination, nav.paging-navigation')) { if (getCSS('a.next')) { console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)'); return 104; } else if (getCSS('li.next-page > a')) { console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)'); return 105; } else if (getCSS('.nav-previous a')) { console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)'); return 106; - } else if (getXpath('//nav[contains(@class, "navigation")]//a/text()[contains(., "下一页") or contains(., ">") or contains(translate(.,"NEXT","next"), "next")]')) { + } else if (getXpath('//nav[@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]')) { console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)'); return 107; } } @@ -281,7 +281,7 @@ case 106: // < 部分使用 WordPress 的网站 (旧文章) > DBSite.wp_article.url('.nav-previous a'); break; case 107: // < 部分使用 WordPress 的网站 (下一页) > - DBSite.wp_article.url('//nav[contains(@class, "navigation")]//a/text()[contains(., "下一页") or contains(., ">") or contains(translate(.,"NEXT","next"), "next")]'); break; + DBSite.wp_article.url('//nav[@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]'); break; case 200: // < 所有使用 笔趣阁 模板的小说网站 > DBSite.biquge.url(); break; } @@ -588,7 +588,7 @@ function: { url: function(nextL = 'a.next') {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, pager: { pageE: 'article', - replaceE: '.pagination, .paging-navigation', + replaceE: '#nav-below, nav.navigation, nav.pagination, nav.paging-navigation', scrollD: 2000 } }, // Wordpress 的 nav.navigation 规则 diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index fd19e8461..734623e67 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2095,6 +2095,31 @@ "replaceE": ".pagination" } }, + "磁力狗": { + "host": [ + "clg.im", + "ciligou.top", + "clg00.site" + ], + "url": "/^\\/search/", + "style": "body, html {overflow-x: initial !important;}", + "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": "/\\d?btbtt\\d?/", "pager": { @@ -2270,6 +2295,15 @@ "scrollD": 1200 } }, + "Zooqle": { + "host": "zooqle.com", + "url": "return (fun.lp() == '/search' || fun.indexOF('/browse/') || fun.indexOF('/mov/'))", + "pager": { + "nextL": "a[aria-label='Next']", + "pageE": ".table > tbody > tr", + "replaceE": ".pagination" + } + }, "WebHD": { "host": "webhd.cc", "url": "return (fun.lp() == '/' || fun.indexOF('/list/new'))", @@ -3216,6 +3250,18 @@ "scrollD": 1000 } }, + "Nite07 的小窝": { + "host": "www.nite07.com", + "url": "return (fun.lp() == '/' || fun.indexOF('/page/'))", + "pager": { + "nextL": "a.next", + "pageE": ".recent-post-item:not(.swiper)", + "replaceE": "#pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-lazy-src]','data-lazy-src'])" + } + }, "小鱼儿 yr 系统 - 搜索页": { "host": "www.yrxitong.com", "url": "return (fun.lp() == '/sr.jsp')", From 7885c1616d46027822f91869cb4805756ab2bea0 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 16 Mar 2022 14:00:14 +0800 Subject: [PATCH 0027/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E8=8F=9C?= =?UTF-8?q?=E9=B8=9F=E6=95=99=E7=A8=8B=20-=20=E5=88=86=E7=B1=BB=E9=A1=B5/?= =?UTF-8?q?=E6=96=87=E7=AB=A0=E9=A1=B5]=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 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 734623e67..b3dc20d9c 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3643,6 +3643,28 @@ "scrollD": 600 } }, + "菜鸟教程 - 分类页": { + "host": "www.runoob.com", + "url": "return (fun.indexOF('/w3cnote') && !fun.indexOF('.html'))", + "pager": { + "nextL": "li.next-page > a", + "pageE": ".archive-list > .archive-list-item", + "replaceE": "#wp_page_numbers", + "forceHTTPS": true, + "scrollD": 1000 + } + }, + "菜鸟教程 - 文章页": { + "host": "www.runoob.com", + "url": "/^\\/w3cnote\\/.+\\.html$/", + "pager": { + "nextL": "//ul[@class='membership']/li[not(a)]/following-sibling::li[1]/a", + "pageE": ".article-heading, .article-body", + "replaceE": ".right-column ul.membership", + "forceHTTPS": true, + "scrollD": 2000 + } + }, "菜鸟教程": { "host": "www.runoob.com", "url": "if (location.pathname.split('/').length > 2 && fun.getCSS('#leftcolumn')) return true", From 0d460ba58d51ff2d1672bc7e6c5975677b3ce4a9 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 16 Mar 2022 16:13:26 +0800 Subject: [PATCH 0028/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Iwara]=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 | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index b3dc20d9c..24dd860d3 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1082,6 +1082,46 @@ "scrollD": 2000 } }, + "Iwara": { + "host": [ + "www.iwara.tv", + "ecchi.iwara.tv" + ], + "url": "/\\/(images|videos|search)/", + "pager": { + "nextL": "li.pager-next > a", + "pageE": ".views-row", + "replaceE": ".pager", + "scrollD": 2500 + } + }, + "Iwara - 论坛": { + "host": [ + "www.iwara.tv", + "ecchi.iwara.tv" + ], + "url": "return (fun.indexOF('/forums/') && fun.getCSS('#forum') != null)", + "pager": { + "nextL": "li.pager-next > a", + "pageE": ".forum-table > tbody > tr", + "replaceE": ".pager", + "scrollD": 2500 + } + }, + "Iwara - 帖子内": { + "host": [ + "www.iwara.tv", + "ecchi.iwara.tv" + ], + "url": "/^\\/forums/", + "thread": true, + "pager": { + "nextL": "li.pager-next > a", + "pageE": "#forum-comments > *:not(.item-list):not(.element-invisible)", + "replaceE": ".pager", + "scrollD": 2500 + } + }, "站酷 - 首页推荐": { "host": "www.zcool.com.cn", "url": "return (fun.lp() == '/' || fun.lp() == '/home' || fun.lp() == '/focus')", From e6d04d884bf39b13bdf0703927aa83fc1a035c5f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 16 Mar 2022 17:44:10 +0800 Subject: [PATCH 0029/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Porn=20Images]?= =?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 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 24dd860d3..719fedd35 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5468,7 +5468,10 @@ } }, "Hentai Cosplays - 手机版": { - "host": "hentai-cosplays.com", + "host": [ + "hentai-cosplays.com", + "porn-images-xxx.com" + ], "url": "return (fun.indexOF('/image/') && fun.isMobile())", "style": ".icon-good-thumbnail, .icon-bad-thumbnail {display: none !important;}", "pager": { @@ -5479,7 +5482,10 @@ } }, "Hentai Cosplays": { - "host": "hentai-cosplays.com", + "host": [ + "hentai-cosplays.com", + "porn-images-xxx.com" + ], "url": "/^\\/image\\//", "style": ".icon-good-thumbnail, .icon-bad-thumbnail {display: none !important;}", "pager": { From d7c4523d9570fcd66768e461789de6ce2b4695d4 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 16 Mar 2022 22:03:20 +0800 Subject: [PATCH 0030/1272] =?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 | 74 +++++++++++----------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 12fbe77e8..230ffad1c 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.8.9 +// @version 1.9.0 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) @@ -30,45 +30,45 @@ 'use strict'; 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'], - ['https://gh.xiu.workers.dev/https://github.com', '美国 2'], - //['https://gh.api.99988866.xyz/https://github.com', '美国 2'], - ['https://github.rc1844.workers.dev', '美国 3'], - ['https://ghgo.feizhuqwq.workers.dev/https://github.com', '美国 4'], - ['https://git.yumenaka.net/https://github.com', '美国 5'], - ['https://gh.ddlc.top/https://github.com', '美国 6'], - ['https://github.do/https://github.com', '中国国内'], - ['https://github.ddlc.love/https://github.com', '中国香港'], - ['https://download.fastgit.org', '日本'], - ['https://ghproxy.com/https://github.com', '韩国'] + ['https://pd.zwc365.com/seturl/https://github.com', '美国 1', '美国 Cloudflare CDN'], + ['https://gh.xiu.workers.dev/https://github.com', '美国 2', '美国 Cloudflare CDN - 该公益加速源由 XIU2(本脚本作者) 提供'], + //['https://gh.api.99988866.xyz/https://github.com', '美国 2', '美国 Cloudflare CDN'], + //['https://github.rc1844.workers.dev', '美国 3', '美国 Cloudflare CDN'], + ['https://ghgo.feizhuqwq.workers.dev/https://github.com', '美国 3', '美国 Cloudflare CDN'], + ['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://download.fastgit.org', '日本', '日本 东京 - 该公益加速源由 FastGit 提供'], + ['https://ghproxy.com/https://github.com', '韩国', '韩国 首尔'] ], clone_url = [ - ['https://github.do/https://github.com', '中国国内'], - //['https://gitclone.com', '中国国内'], - ['https://api.mtr.pub', '中国香港'], - ['https://hub.fastgit.xyz', '日本'], - ['https://ghproxy.com/https://github.com', '韩国'], - ['https://hub.0z.gs', '美国'], - ['https://hub.shutcm.cf', '美国'] + ['https://github.do/https://github.com', '国内', '中国 国内 - 该公益加速源由 小麦云服 提供'], + //['https://gitclone.com', '国内', ''], + ['https://api.mtr.pub', '香港', '中国 香港 - 该公益加速源由 @mtr-static-official 提供'], + ['https://hub.fastgit.xyz', '日本', '日本 东京 - 该公益加速源由 FastGit 提供'], + ['https://ghproxy.com/https://github.com', '韩国', '韩国 首尔'], + ['https://hub.0z.gs', '美国', '美国 Cloudflare CDN'], + ['https://hub.shutcm.cf', '美国', '美国 Cloudflare CDN'] ], clone_ssh_url = [ - ['git@ssh.fastgit.org', '中国香港'], - ['git@git.zhlh6.cn', '美国'] + ['git@ssh.fastgit.org', '香港', '中国 香港 - 该公益加速源由 FastGit 提供'], + ['git@git.zhlh6.cn', '美国', '美国 洛杉矶'] ], 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', ''], - ['https://hk1.monika.love', '中国香港 2', ''], - ['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', ''], - ['https://fastly.jsdelivr.net/gh', '日本 1', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], - ['https://cdn.staticaly.com/gh', '日本 2', '注意: - 该加速是全球 Anycast CDN,国内一般分配到日本节点。'], - ['https://raw.fastgit.org', '日本 3', '注意: - 单个文件太大时可能会提示超时(实时获取中),请重试。'], + ['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', '中国 香港 - 该公益加速源由 iQZone 提供'], + ['https://hk1.monika.love', '香港 2', '中国 香港 - 该公益加速源由 @mtr-static-official 提供'], + ['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', '韩国 首尔'], + ['https://fastly.jsdelivr.net/gh', '日本 1', '日本 东京 - 该公益加速源由 JSDelivr 提供 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], + ['https://cdn.staticaly.com/gh', '日本 2', '日本 东京 - 该公益加速源由 Statically CDN 提供 注意: - 该加速是全球 Anycast CDN,国内一般分配到日本节点。'], + ['https://raw.fastgit.org', '日本 3', '日本 东京 - 该公益加速源由 FastGit 提供 注意: - 单个文件太大时可能会提示超时(实时获取中),请重试。'], //['https://cdn.jsdelivr.net/gh', '美国', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], - ['https://gcore.jsdelivr.net/gh', '中国香港/日本', '适合 [移动/电信] 用户,移动走香港,电信走日本。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], - ['https://raw.githubusercontents.com', '中国香港/新加坡', '该加速源有香港、新加坡、美国等服务器,并不固定。 - 该加速源不支持大小超过 1 MB 的文件。'] + ['https://gcore.jsdelivr.net/gh', '其他 1', '该公益加速源由 JSDelivr 提供 适合 [移动/电信] 用户,移动走香港,电信走日本。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], + ['https://raw.githubusercontents.com', '其他 2', '该加速源有香港、新加坡、美国等服务器,并不固定。 - 该加速源不支持大小超过 1 MB 的文件。'] ], svg = [ '', @@ -156,7 +156,7 @@ if (location.host === 'hub.fastgit.org') url = url.replace('hub.fastgit.org','github.com') if (download_url[i][0] === 'https://download.fastgit.org' && url.indexOf('/archive/') > -1) url = url.replace('https://download.fastgit.org','https://archive.fastgit.org') - _html += `${download_url[i][1]}` + _html += `${download_url[i][1]}` } _this.insertAdjacentHTML('afterend', _html + ''); }); @@ -177,7 +177,7 @@ if (location.host === 'hub.fastgit.org') url = url.replace('hub.fastgit.org','github.com') if (download_url[i][0] === 'https://download.fastgit.org' && url.indexOf('/archive/') > -1) url = url.replace('https://download.fastgit.org','https://archive.fastgit.org') - _html += `
  • ${svg[0]}Download ZIP ${download_url[i][1]}
  • ` + _html += `
  • ${svg[0]}Download ZIP ${download_url[i][1]}
  • ` } html.insertAdjacentHTML('afterend', _html); } @@ -196,7 +196,7 @@ } else { url = clone_url[i][0] + href_split[1] } - _html += `
    ${svg[1]}
    ` + _html += `
    ${svg[1]}
    ` } html.insertAdjacentHTML('afterend', _html); } @@ -212,7 +212,7 @@ if (href_split[0] != 'git@github.com') return for (let i=0;i
    ${svg[1]}
    ` + _html += `
    ${svg[1]}
    ` } html.insertAdjacentHTML('afterend', _html); } From 7d32283e14a10bab72dcff2385b725a176562405 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 17 Mar 2022 17:20:59 +0800 Subject: [PATCH 0031/1272] =?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=20=E8=87=AA=E5=8A=A8=E6=97=A0?= =?UTF-8?q?=E7=BC=9D=E7=BF=BB=E9=A1=B5=20=E7=9A=84=E7=BD=91=E7=AB=99]=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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 7489224a5..632ffee8e 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.3.7 +// @version 5.3.8 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -219,7 +219,7 @@ console.info('[自动无缝翻页] - 论坛'); return 7; } else if (getAllCSS('.load-more, .loadmore, #load-more, #loadmore, .show_more').length === 1) { console.info('[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 1'); return 8; - } else if (getAllXpath('//*[@onclick][text()="加载更多" or text()="查看更多"]').length === 1) { + } else if (getAllXpath('//*[@onclick][text()="加载更多" or text()="查看更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]').length === 1) { console.info('[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 2'); return 9; } else if (getCSS('link[href*="themes/dux" i], script[src*="themes/dux" i]')) { console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 100; @@ -265,7 +265,7 @@ case 8: // < 部分自带 自动无缝翻页 的网站 1 > DBSite.loadmore.url(); break; case 9: // < 部分自带 自动无缝翻页 的网站 2 > - DBSite.loadmore.url('//*[@onclick][text()="加载更多" or text()="查看更多"]'); break; + DBSite.loadmore.url('//*[@onclick][text()="加载更多" or text()="查看更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]'); break; case 100: // < 所有使用 WordPress DUX 主题的网站 > DBSite.dux.url(); if (location.hostname === 'apphot.cc') {curSite.pager.scrollD = 2500;}; break; case 101: // < 所有使用 WordPress XIU 主题的网站 > @@ -3319,6 +3319,7 @@ function: { "insertP": [".bbb",3], "replaceE": ".page", "scriptT": 1, + "forceHTTPS": true, "interval": 500, "scrollD": 1500 }, From 3d6e1e84a8e80206da56fe98ebef0c9eec58c74f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 17 Mar 2022 18:00:43 +0800 Subject: [PATCH 0032/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E5=90=84?= =?UTF-8?q?=E4=B8=AA=E8=AE=BA=E5=9D=9B=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 52 ++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 632ffee8e..7c01c433b 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.3.8 +// @version 5.3.9 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -205,44 +205,44 @@ console.info('[自动无缝翻页] - 独立规则 网站'); return 1; } else if (self != top) { return -1; - } else if (typeof discuz_uid != 'undefined' || getCSS('meta[name="author" i][content*="Discuz!" i], meta[name="generator" i][content*="Discuz!" i], body[id="nv_forum" i][class^="pg_" i][onkeydown*="27"], body[id="nv_search" i][onkeydown*="27"]') || (getCSS('a[href*="www.discuz.net" i]') && getCSS('a[href*="www.discuz.net" i]').textContent.indexOf('Discuz!') > -1) || (getCSS('#ft') && getCSS('#ft').textContent.indexOf('Discuz!') > -1)) { - console.info('[自动无缝翻页] - 论坛'); return 2; - } else if (getCSS('#flarum-loading')) { - console.info('[自动无缝翻页] - 论坛'); return 3; - } else if (getCSS('body#phpbb')) { - console.info('[自动无缝翻页] - 论坛'); return 4; - } else if (getXpath('//footer//a[contains(string(), "Xiuno")] | //link[contains(@href, "xiuno")] | //script[contains(@src, "xiuno")]')) { - console.info('[自动无缝翻页] - 论坛'); return 5; + } else if (typeof discuz_uid != 'undefined') { + console.info(`[自动无缝翻页] - 论坛`); return 2; + } else if (typeof flarum != 'undefined') { + console.info(`[自动无缝翻页] - 论坛`); return 3; + } else if (typeof phpbb != 'undefined') { + console.info(`[自动无缝翻页] - 论坛`); return 4; + } else if (typeof xn != 'undefined' && getXpath('//footer//a[contains(string(), "Xiuno")] | //link[contains(@href, "xiuno")] | //script[contains(@src, "xiuno")]')) { + console.info(`[自动无缝翻页] - 论坛`); return 5; } else if (typeof XF != 'undefined') { - console.info('[自动无缝翻页] - 论坛'); return 6; + console.info(`[自动无缝翻页] - 论坛`); return 6; } else if (getCSS('head meta[name="generator" i][content="nexusphp" i]') || getXpath('id("footer")[contains(string(), "NexusPHP")]')) { - console.info('[自动无缝翻页] - 论坛'); return 7; + console.info(`[自动无缝翻页] - 论坛`); return 7; } else if (getAllCSS('.load-more, .loadmore, #load-more, #loadmore, .show_more').length === 1) { - console.info('[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 1'); return 8; + console.info(`[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 1`); return 8; } else if (getAllXpath('//*[@onclick][text()="加载更多" or text()="查看更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]').length === 1) { - console.info('[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 2'); return 9; + console.info(`[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 2`); return 9; } else if (getCSS('link[href*="themes/dux" i], script[src*="themes/dux" i]')) { - console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 100; + console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 100; } else if (getCSS('link[href*="themes/xiu" i], script[src*="themes/xiu" i]')) { - console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 101; + console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 101; } else if (getCSS('link[href*="themes/d8" i], script[src*="themes/d8" i]')) { - console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 102; + console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 102; } else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) { - console.info('[自动无缝翻页] - 使用 WordPress 主题的网站'); return 103; + console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 103; } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { if (getAllCSS('article').length > 2 && getCSS('#nav-below, nav.navigation, nav.pagination, nav.paging-navigation')) { if (getCSS('a.next')) { - console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)'); return 104; + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)`); return 104; } else if (getCSS('li.next-page > a')) { - console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)'); return 105; + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)`); return 105; } else if (getCSS('.nav-previous a')) { - console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)'); return 106; + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)`); return 106; } else if (getXpath('//nav[@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]')) { - console.info('[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)'); return 107; + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)`); return 107; } } } 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) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { - console.info('[自动无缝翻页] - <笔趣阁> 模板的小说网站'); return 200; + console.info(`[自动无缝翻页] - <笔趣阁> 模板的小说网站`); return 200; } return 0; } @@ -263,7 +263,7 @@ case 7: // < 所有 NexusPHP 论坛 > DBSite.nexusphp.url(); break; case 8: // < 部分自带 自动无缝翻页 的网站 1 > - DBSite.loadmore.url(); break; + DBSite.loadmore.url('.load-more, .loadmore, #load-more, #loadmore, .show_more'); break; case 9: // < 部分自带 自动无缝翻页 的网站 2 > DBSite.loadmore.url('//*[@onclick][text()="加载更多" or text()="查看更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]'); break; case 100: // < 所有使用 WordPress DUX 主题的网站 > @@ -275,7 +275,7 @@ case 103: // < 所有使用 WordPress Begin 主题的网站 > DBSite.begin.url(); break; case 104: // < 部分使用 WordPress 的网站 (a.next) > - DBSite.wp_article.url(); break; + DBSite.wp_article.url('a.next'); break; case 105: // < 部分使用 WordPress 的网站 (li.next-page > a) > DBSite.wp_article.url('li.next-page > a'); break; case 106: // < 部分使用 WordPress 的网站 (旧文章) > @@ -361,7 +361,7 @@ function: { */ //<<< 规则简单说明 >>> DBSite = { loadmore: { - url: function(nextL = '.load-more, .loadmore, #load-more, #loadmore, .show_more') {curSite = DBSite.loadmore; curSite.pager.nextL = nextL;}, + url: function(nextL) {curSite = DBSite.loadmore; curSite.pager.nextL = nextL;}, pager: { type: 2, isHidden: true, @@ -585,7 +585,7 @@ function: { } }, // WordPress 的 Begin 主题 - 搜索页 wp_article: { - url: function(nextL = 'a.next') {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, + url: function(nextL) {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, pager: { pageE: 'article', replaceE: '#nav-below, nav.navigation, nav.pagination, nav.paging-navigation', From b52ffab56a4702919f3591b6d996cefbb7d57f24 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 18 Mar 2022 09:22:32 +0800 Subject: [PATCH 0033/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=A4=A9?= =?UTF-8?q?=E7=BF=BC=E5=B0=8F=E7=AB=99]=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/ruleUpdateTime.json | 2 +- other/Autopage/rules.json | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/other/Autopage/ruleUpdateTime.json b/other/Autopage/ruleUpdateTime.json index 271e7468c..3dfe116ec 100644 --- a/other/Autopage/ruleUpdateTime.json +++ b/other/Autopage/ruleUpdateTime.json @@ -1 +1 @@ -1646977476 \ No newline at end of file +1647566527 \ No newline at end of file diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 719fedd35..9030d3bb6 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3203,6 +3203,15 @@ "replaceE": ".pagination" } }, + "天翼小站": { + "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": { From 5cb53b1653fe4af984987f6709d3fd2294bfa145 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 18 Mar 2022 09:29:10 +0800 Subject: [PATCH 0034/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E5=90=84?= =?UTF-8?q?=E4=B8=AA=E8=AE=BA=E5=9D=9B=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 7c01c433b..ae71b1d20 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.3.9 +// @version 5.4.0 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -201,15 +201,16 @@ } } } + if (support) { console.info('[自动无缝翻页] - 独立规则 网站'); return 1; } else if (self != top) { return -1; } else if (typeof discuz_uid != 'undefined') { console.info(`[自动无缝翻页] - 论坛`); return 2; - } else if (typeof flarum != 'undefined') { + } else if (typeof flarum != 'undefined' || getCSS('#flarum-loading')) { console.info(`[自动无缝翻页] - 论坛`); return 3; - } else if (typeof phpbb != 'undefined') { + } else if (typeof phpbb != 'undefined' || getCSS('body#phpbb')) { console.info(`[自动无缝翻页] - 论坛`); return 4; } else if (typeof xn != 'undefined' && getXpath('//footer//a[contains(string(), "Xiuno")] | //link[contains(@href, "xiuno")] | //script[contains(@src, "xiuno")]')) { console.info(`[自动无缝翻页] - 论坛`); return 5; From 378f40c28e9c8897d755ca9d2ad6710ff089cc28 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 18 Mar 2022 15:00:26 +0800 Subject: [PATCH 0035/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Hit-x-Hot]=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81;=20=E4=BC=98=E5=8C=96=20[=E5=BD=BC=E5=B2=B8?= =?UTF-8?q?=E5=9B=BE=E7=BD=91]=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 | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 9030d3bb6..0b3473a30 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4371,10 +4371,9 @@ "host": "pic.netbian.com", "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[text()='下一页']", + "nextL": "//div[@class='page']/a[contains(text(),'下一页')]", "pageE": ".slist > ul > li:not(.nextpage), .alist > ul > li", - "replaceE": ".page", - "scrollD": 1000 + "replaceE": ".page" } }, "必应壁纸": { @@ -5555,5 +5554,16 @@ "function": { "bF": "return fun.src_bF(pageE, [0,'img[realsrc]','realsrc'])" } + }, + "Hit-x-Hot": { + "host": "hitxhot.com", + "url": "/\\/gallerys/", + "style": ".contain.refill:not(.relatedvideos) {display: none !important;}", + "pager": { + "nextL": "//a[@class='page-numbers' and text()='Next >']", + "pageE": ".contentme", + "replaceE": ".pagination-site", + "scrollD": 4000 + } } } From 773b01d94e33ddef72b3730039bcfab864c1e145 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 18 Mar 2022 16:53:41 +0800 Subject: [PATCH 0036/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E5=90=84?= =?UTF-8?q?=E4=B8=AA=E8=AE=BA=E5=9D=9B=E9=80=9A=E7=94=A8=E8=A7=84=E5=88=99?= =?UTF-8?q?=E8=AF=86=E5=88=AB=E6=96=B9=E5=BC=8F?= 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 ae71b1d20..720803a2b 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.4.0 +// @version 5.4.1 // @author X.I.U // @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、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...) 等網站~ @@ -206,7 +206,7 @@ console.info('[自动无缝翻页] - 独立规则 网站'); return 1; } else if (self != top) { return -1; - } else if (typeof discuz_uid != 'undefined') { + } else if (typeof discuz_uid != 'undefined' || getCSS('meta[name="author" i][content*="Discuz!" i], meta[name="generator" i][content*="Discuz!" i], body[id="nv_forum" i][class^="pg_" i][onkeydown*="27"], body[id="nv_search" i][onkeydown*="27"]') || getXpath('id("ft")[contains(string(),"Discuz!")]')) { console.info(`[自动无缝翻页] - 论坛`); return 2; } else if (typeof flarum != 'undefined' || getCSS('#flarum-loading')) { console.info(`[自动无缝翻页] - 论坛`); return 3; From 03fefe357c4455f77abcd8cd43adeb98b93070dc Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 18 Mar 2022 18:24:58 +0800 Subject: [PATCH 0037/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=203=20=E5=9C=A8=20B=20=E7=AB=99=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E9=A1=B5=E4=B8=8B=E7=9A=84=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DarkMode.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DarkMode.user.js b/DarkMode.user.js index b57f7c8b3..291dfcf70 100644 --- a/DarkMode.user.js +++ b/DarkMode.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 护眼模式 // @name:zh-TW 護眼模式 // @name:en Dark Mode -// @version 1.4.3 +// @version 1.4.4 // @author X.I.U // @description 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式) // @description:zh-CN 简单有效的全网通用护眼模式(夜间模式、暗黑模式、深色模式) @@ -396,7 +396,7 @@ case 3: style += style_31; if (location.hostname.indexOf('search.bilibili.com') > -1) { - style += `img, .video-item .img .mask-video, .video-item .img .van-danmu, .video-item .img .van-framepreview {filter: none !important;}` + style += `ul.video-list[type="video"] img, ul.video-list[type="video"] .video-item .img .mask-video, ul.video-list[type="video"] .video-item .img .van-danmu, ul.video-list[type="video"] .video-item .img .van-framepreview {filter: none !important;}` } else if (location.hostname.indexOf('.bilibili.com') > -1) { style += `#bilibiliPlayer video, .video-item .img .mask-video, .video-item .img .van-danmu, .video-item .img .van-framepreview {filter: none !important;} #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;} .bilibili-player.bilibili-player-area-v1, .bilibili-player.bilibili-player-area-v3, #bilibiliPlayer {box-shadow: none !important;} * {font-weight: bold !important;}` } else if (location.hostname.indexOf('.huya.com') > -1) { From e6ec779f4ca91fb04fe2ea3c01fa4f2943433c6d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 18 Mar 2022 18:39:50 +0800 Subject: [PATCH 0038/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20B=20=E7=AB=99?= =?UTF-8?q?=E6=96=B0=E7=89=88=E6=90=9C=E7=B4=A2=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 24 +++--------------------- DarkMode.user.js | 2 +- 2 files changed, 4 insertions(+), 22 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 720803a2b..cf0eb67e9 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -5,7 +5,7 @@ // @name:en AutoPager // @version 5.4.1 // @author X.I.U -// @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... +// @description ⭐无缝衔接下一页内容到网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、微博、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了... // @description:zh-TW ⭐無縫銜接下一頁內容到網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~ // @description:en Append the next page content to the bottom seamlessly (like a waterfall)~ // @match *://*/* @@ -669,9 +669,9 @@ function: { host: 'search.bilibili.com', url: ()=> { urlC = true; - if (lp == '/all' || lp == '/video') { + if ((lp == '/all' || lp == '/video') && getCSS('ul.video-list') != null) { curSite = DBSite.bilibili_search; - } else if (lp == '/article') { + } else if (lp == '/article' && getCSS('#article-list') != null) { curSite = DBSite.bilibili_search_article; } }, @@ -1545,24 +1545,6 @@ function: { // 插入 Style CSS 样式 if (curSite.style) insStyle(curSite.style) - // 对翻页模式 5 的子 iframe 添加一个跟随滚动的事件 - /*if (curSite.pager && curSite.pager.type === 5 && self != top) { - var beforeScrollTop = document.documentElement.scrollTop || document.body.scrollTop - window.addEventListener('scroll', function (e) { - let scrollTop = window.parent.document.documentElement.scrollTop || window.parent.document.body.scrollTop, - clientHeight = window.parent.document.documentElement.clientHeight || window.parent.document.body.clientHeight, - scrollHeight = window.parent.document.documentElement.scrollHeight || window.parent.document.body.scrollHeight, - afterScrollTop = document.documentElement.scrollTop || document.body.scrollTop, - delta = afterScrollTop - beforeScrollTop; - if (delta == 0) return false; - beforeScrollTop = afterScrollTop; - //console.log(delta, scrollHeight - (scrollTop + clientHeight), '2222') - if (delta > 0 && scrollTop + clientHeight < scrollHeight) { - window.parent.scrollBy(0, delta); - } - }, false); - }*/ - // 自动无缝翻页 pageLoading(); diff --git a/DarkMode.user.js b/DarkMode.user.js index 291dfcf70..15a2b1cbf 100644 --- a/DarkMode.user.js +++ b/DarkMode.user.js @@ -396,7 +396,7 @@ case 3: style += style_31; if (location.hostname.indexOf('search.bilibili.com') > -1) { - style += `ul.video-list[type="video"] img, ul.video-list[type="video"] .video-item .img .mask-video, ul.video-list[type="video"] .video-item .img .van-danmu, ul.video-list[type="video"] .video-item .img .van-framepreview {filter: none !important;}` + style += `ul.video-list img, ul.video-list .video-item .img .mask-video, ul.video-list .video-item .img .van-danmu, ul.video-list .video-item .img .van-framepreview {filter: none !important;}` } else if (location.hostname.indexOf('.bilibili.com') > -1) { style += `#bilibiliPlayer video, .video-item .img .mask-video, .video-item .img .van-danmu, .video-item .img .van-framepreview {filter: none !important;} #bilibiliPlayer:not(.mode-fullscreen), #bilibiliPlayer:not(.mode-fullscreen) .bilibili-player-video-sendbar {filter: invert(1) !important;} .bilibili-player.bilibili-player-area-v1, .bilibili-player.bilibili-player-area-v3, #bilibiliPlayer {box-shadow: none !important;} * {font-weight: bold !important;}` } else if (location.hostname.indexOf('.huya.com') > -1) { From bdaa2e7b5aa1d1ebc6c05c5deeef182233b24a8d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 18 Mar 2022 23:44:19 +0800 Subject: [PATCH 0039/1272] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E7=9A=84=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 700 ++++++++------------------------------ 1 file changed, 136 insertions(+), 564 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 0b3473a30..1209c3c41 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -56,10 +56,7 @@ } }, "必应搜索 + 手机版": { - "host": [ - "www.bing.com", - "cn.bing.com" - ], + "host": ["www.bing.com","cn.bing.com"], "url": "if (fun.lp() == '/search') {if (fun.isMobile() && document.documentElement.lang != 'zh') {return false;} else {return true;}}", "style": "#b_footer, .b_imagePair.square_mp > .inner, .b_msg, #b_results > [class='b_ans'] {display: none !important;}", "pager": { @@ -84,10 +81,7 @@ } }, "搜狗搜索 - 手机版": { - "host": [ - "m.sogou.com", - "wap.sogou.com" - ], + "host": ["m.sogou.com","wap.sogou.com"], "url": "/^\\/.+/", "pager": { "type": 2, @@ -177,10 +171,7 @@ "history": false }, "Startpage 搜索": { - "host": [ - "startpage.com", - "www.startpage.com" - ], + "host": ["startpage.com","www.startpage.com"], "url": "/\\/search/", "pager": { "nextL": "js; return fun.getNextF('//div[contains(@class, 'pagination ')]/form[./button[@class='pagination__next-prev-button next']]')", @@ -190,15 +181,7 @@ } }, "Yandex 搜索": { - "host": [ - "yandex.com", - "yandex.ru", - "yandex.ua", - "yandex.by", - "yandex.kz", - "yandex.uz", - "yandex.com.tr" - ], + "host": ["yandex.com","yandex.ru","yandex.ua","yandex.by","yandex.kz","yandex.uz","yandex.com.tr"], "url": "return (fun.lp() == '/search/')", "pager": { "nextL": "a.pager__item_kind_next", @@ -207,15 +190,7 @@ } }, "Yandex 搜索 - 视频": { - "host": [ - "yandex.com", - "yandex.ru", - "yandex.ua", - "yandex.by", - "yandex.kz", - "yandex.uz", - "yandex.com.tr" - ], + "host": ["yandex.com","yandex.ru","yandex.ua","yandex.by","yandex.kz","yandex.uz","yandex.com.tr"], "url": "return (fun.lp() == '/video/search')", "hiddenPN": true, "pager": { @@ -274,10 +249,7 @@ } }, "ASK 搜索": { - "host": [ - "ask.com", - "www.ask.com" - ], + "host": ["ask.com","www.ask.com"], "url": "return (fun.lp() == '/web')", "style": ".PartialSearchResults-heading {display: none !important;}", "pager": { @@ -444,12 +416,7 @@ } }, "NGA": { - "host": [ - "bbs.nga.cn", - "ngabbs.com", - "nga.178.com", - "g.nga.cn" - ], + "host": ["bbs.nga.cn","ngabbs.com","nga.178.com","g.nga.cn"], "url": "fun.isUrlC(); return (fun.lp() == '/thread.php')", "iframe": true, "pager": { @@ -464,12 +431,7 @@ } }, "NGA - 帖子内": { - "host": [ - "bbs.nga.cn", - "ngabbs.com", - "nga.178.com", - "g.nga.cn" - ], + "host": ["bbs.nga.cn","ngabbs.com","nga.178.com","g.nga.cn"], "url": "return (fun.lp() == '/read.php')", "iframe": true, "history": false, @@ -484,10 +446,7 @@ } }, "V2EX - 最近主题页": { - "host": [ - "v2ex.com", - "www.v2ex.com" - ], + "host": ["v2ex.com","www.v2ex.com"], "url": "return (fun.lp() == '/recent')", "pager": { "nextL": "a.page_current+a.page_normal", @@ -496,10 +455,7 @@ } }, "V2EX - 提醒消息页": { - "host": [ - "v2ex.com", - "www.v2ex.com" - ], + "host": ["v2ex.com","www.v2ex.com"], "url": "return (fun.lp() == '/notifications')", "pager": { "nextL": "a.page_current+a.page_normal", @@ -508,26 +464,17 @@ } }, "V2EX - 用户回复页": { - "host": [ - "v2ex.com", - "www.v2ex.com" - ], + "host": ["v2ex.com","www.v2ex.com"], "url": "/\\/replies/", "pager": { "nextL": "a.page_current+a.page_normal", "pageE": "//div[@id='Main']//div[@class='box']//div[@class='dock_area'] | //*[@id='Main']//div[@class='box']//div[@class='inner'] | //*[@id='Main']//div[@class='box']//div[@class='dock_area'][last()]/following-sibling::div[@class='cell'][1]", - "insertP": [ - "//div[@id='Main']//div[@class='box']//div[@class='cell'][last()]", - 1 - ], + "insertP": ["//div[@id='Main']//div[@class='box']//div[@class='cell'][last()]",1], "replaceE": "#Main > .box > .cell[style] > table" } }, "V2EX - 分类主题页": { - "host": [ - "v2ex.com", - "www.v2ex.com" - ], + "host": ["v2ex.com","www.v2ex.com"], "url": "/\\/go\\//", "pager": { "nextL": "a.page_current+a.page_normal", @@ -536,10 +483,7 @@ } }, "V2EX - 账户余额页": { - "host": [ - "v2ex.com", - "www.v2ex.com" - ], + "host": ["v2ex.com","www.v2ex.com"], "url": "return (fun.lp() == '/balance')", "pager": { "nextL": "a.page_current+a.page_normal", @@ -707,10 +651,7 @@ "pager": { "nextL": "a.ui-paging-next", "pageE": ".ui-box-content > div.ui-topic, .ui-box-content > a[name]", - "insertP": [ - ".ui-box-content", - 3 - ], + "insertP": [".ui-box-content",3], "replaceE": "div.ui-paging" } }, @@ -885,10 +826,7 @@ } }, "北+": { - "host": [ - "/^((www|bbs)\\.)?(soul|north|south|white|level|summer|spring|snow)-plus\\.(net|org)$/", - "bbs.imoutolove.me" - ], + "host": ["/^((www|bbs)\\.)?(soul|north|south|white|level|summer|spring|snow)-plus\\.(net|org)$/","bbs.imoutolove.me"], "url": "return (fun.lp() == '/thread.php' || fun.lp() == '/search.php')", "pager": { "nextL": "//div[@class='pages']/ul/li[./b]/following-sibling::li[1][not(@class)]/a[not(text()='»')]", @@ -897,10 +835,7 @@ } }, "北+ - 图墙": { - "host": [ - "/^((www|bbs)\\.)?(soul|north|south|white|level|summer|spring|snow)-plus\\.(net|org)$/", - "bbs.imoutolove.me" - ], + "host": ["/^((www|bbs)\\.)?(soul|north|south|white|level|summer|spring|snow)-plus\\.(net|org)$/","bbs.imoutolove.me"], "url": "return (fun.lp() == '/thread_new.php')", "style": "img.lazy {display: inline !important;}", "pager": { @@ -914,10 +849,7 @@ } }, "北+ - 帖子内": { - "host": [ - "/^((www|bbs)\\.)?(soul|north|south|white|level|summer|spring|snow)-plus\\.(net|org)$/", - "bbs.imoutolove.me" - ], + "host": ["/^((www|bbs)\\.)?(soul|north|south|white|level|summer|spring|snow)-plus\\.(net|org)$/","bbs.imoutolove.me"], "url": "return (fun.lp() == '/read.php')", "thread": true, "pager": { @@ -927,10 +859,7 @@ } }, "北+ - 用户页": { - "host": [ - "/^((www|bbs)\\.)?(soul|north|south|white|level|summer|spring|snow)-plus\\.(net|org)$/", - "bbs.imoutolove.me" - ], + "host": ["/^((www|bbs)\\.)?(soul|north|south|white|level|summer|spring|snow)-plus\\.(net|org)$/","bbs.imoutolove.me"], "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()='»')]", @@ -958,32 +887,19 @@ } }, "A 岛 - 手机版 - 帖子列表": { - "host": [ - "adnmb3.com", - "www.tnmb.org", - "nimingban.xyz", - "nimingban.org" - ], + "host": ["adnmb3.com","www.tnmb.org","nimingban.xyz","nimingban.org"], "url": "/\\/m\\/f\\//", "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']", - "insertP": [ - "#h-threads-pagination", - 1 - ], + "insertP": ["#h-threads-pagination",1], "replaceE": "#h-threads-pagination", "scriptT": 2, "scrollD": 2500 } }, "A 岛 - 手机版 - 帖子内": { - "host": [ - "adnmb3.com", - "www.tnmb.org", - "nimingban.xyz", - "nimingban.org" - ], + "host": ["adnmb3.com","www.tnmb.org","nimingban.xyz","nimingban.org"], "url": "/\\/m\\/t\\//", "thread": true, "pager": { @@ -995,12 +911,7 @@ } }, "A 岛": { - "host": [ - "adnmb3.com", - "www.tnmb.org", - "nimingban.xyz", - "nimingban.org" - ], + "host": ["adnmb3.com","www.tnmb.org","nimingban.xyz","nimingban.org"], "url": "/\\/(f|Forum)\\//", "pager": { "nextL": "//ul[contains(@class, 'pagination')]//a[text()='下一页']", @@ -1011,12 +922,7 @@ } }, "A 岛 - 帖子内": { - "host": [ - "adnmb3.com", - "www.tnmb.org", - "nimingban.xyz", - "nimingban.org" - ], + "host": ["adnmb3.com","www.tnmb.org","nimingban.xyz","nimingban.org"], "url": "/\\/t\\//", "thread": true, "pager": { @@ -1083,10 +989,7 @@ } }, "Iwara": { - "host": [ - "www.iwara.tv", - "ecchi.iwara.tv" - ], + "host": ["www.iwara.tv","ecchi.iwara.tv"], "url": "/\\/(images|videos|search)/", "pager": { "nextL": "li.pager-next > a", @@ -1096,10 +999,7 @@ } }, "Iwara - 论坛": { - "host": [ - "www.iwara.tv", - "ecchi.iwara.tv" - ], + "host": ["www.iwara.tv","ecchi.iwara.tv"], "url": "return (fun.indexOF('/forums/') && fun.getCSS('#forum') != null)", "pager": { "nextL": "li.pager-next > a", @@ -1109,10 +1009,7 @@ } }, "Iwara - 帖子内": { - "host": [ - "www.iwara.tv", - "ecchi.iwara.tv" - ], + "host": ["www.iwara.tv","ecchi.iwara.tv"], "url": "/^\\/forums/", "thread": true, "pager": { @@ -1223,10 +1120,7 @@ "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 - ], + "insertP": [".data-box .dataList, .data-box .data-list",3], "replaceE": "ul.page-list", "scrollD": 2000 }, @@ -1235,10 +1129,7 @@ } }, "昵图网": { - "host": [ - "www.nipic.com", - "soso.nipic.com" - ], + "host": ["www.nipic.com","soso.nipic.com"], "style": "li.search-works-item, a.search-works-nextpage {display: none !important;}", "pager": { "nextL": "//a[@title='下一页' or text()='下一页'][not(contains(@class, 'search-works-nextpage'))]", @@ -1264,11 +1155,7 @@ } }, "我图网": { - "host": [ - "www.ooopic.com", - "so.ooopic.com", - "weili.ooopic.com" - ], + "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;}", "history": false, @@ -1432,10 +1319,7 @@ } }, "学犀牛 - 帖子列表": { - "host": [ - "www.xuexiniu.com", - "bbs.xuexiniu.com" - ], + "host": ["www.xuexiniu.com","bbs.xuexiniu.com"], "url": "if (fun.getCSS('body#nv_forum.pg_forumdisplay') && fun.getCSS('ul.waterfall')) return true", "pager": { "nextL": "a.nxt:not([href*='javascript'])", @@ -1444,10 +1328,7 @@ } }, "学犀牛 - 帖子列表2": { - "host": [ - "www.xuexiniu.com", - "bbs.xuexiniu.com" - ], + "host": ["www.xuexiniu.com","bbs.xuexiniu.com"], "url": "if (fun.getCSS('body#nv_forum.pg_forumdisplay')) return true", "history": false, "pager": { @@ -1457,10 +1338,7 @@ } }, "学犀牛 - 帖子内": { - "host": [ - "www.xuexiniu.com", - "bbs.xuexiniu.com" - ], + "host": ["www.xuexiniu.com","bbs.xuexiniu.com"], "url": "if (fun.getCSS('body#nv_forum.pg_viewthread')) return true", "thread": true, "pager": { @@ -1470,26 +1348,17 @@ } }, "学犀牛 - 搜索页": { - "host": [ - "www.xuexiniu.com", - "bbs.xuexiniu.com" - ], + "host": "www.xuexiniu.com", "url": "/\\/search\\.php/", "pager": { "nextL": "a.nxt:not([href*='javascript'])", "pageE": ".yangshi.yangshi2", - "insertP": [ - ".page", - 1 - ], + "insertP": [".page",1], "replaceE": ".page" } }, "学犀牛 - 分类页": { - "host": [ - "www.xuexiniu.com", - "bbs.xuexiniu.com" - ], + "host": "www.xuexiniu.com", "pager": { "nextL": "//a[@class='page-link' and contains(text(), '下一页')]", "pageE": ".row > .col-sm-6", @@ -1507,10 +1376,7 @@ } }, "下得乐": { - "host": [ - "www.xiadele.com", - "search.xiadele.com" - ], + "host": ["www.xiadele.com","search.xiadele.com"], "url": "/^\\/.+/", "style": ".last-li-carousel-img {display: none !important;}", "pager": { @@ -1552,10 +1418,7 @@ "pager": { "nextL": "li.next > a", "pageE": ".item > ul", - "insertP": [ - ".item > ul:last-child", - 1 - ], + "insertP": [".item > ul:last-child",1], "replaceE": ".pagewrap", "scrollD": 800 } @@ -1589,10 +1452,7 @@ "type": 3, "nextL": "#after_this_page", "pageE": "#Content >*:not(.news_ding):not(.page_fenye)", - "insertP": [ - ".page_fenye", - 1 - ], + "insertP": [".page_fenye",1], "replaceE": ".page_fenye", "scrollE": ".page_fenye", "scriptT": 2, @@ -1662,10 +1522,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": [ - ".page_css", - 1 - ], + "insertP": [".page_css",1], "replaceE": ".page_css", "scrollE": ".page_css", "interval": 500, @@ -1679,10 +1536,7 @@ "type": 3, "nextL": "//div[@class='page_css']/a[text()='下一页']", "pageE": ".Mid2L_con > *:not(.gs_nc_editor):not(.pagecss):not(.gs_ccs_solve):not(.post_ding)", - "insertP": [ - ".gs_nc_editor", - 1 - ], + "insertP": [".gs_nc_editor",1], "replaceE": ".page_css", "scrollE": ".page_css", "forceHTTPS": true, @@ -1700,10 +1554,7 @@ "type": 3, "nextL": "//div[@class='page_css']/a[text()='下一页']", "pageE": ".Mid2L_con > *:not(.gs_nc_editor):not(.pagecss):not(.gs_ccs_solve):not(.post_ding)", - "insertP": [ - ".pagecss", - 1 - ], + "insertP": [".pagecss",1], "replaceE": ".page_css", "scrollE": ".page_css", "interval": 500, @@ -1769,10 +1620,7 @@ } }, "Switch520": { - "host": [ - "switch520.com", - "switch520.net" - ], + "host": ["switch520.com","switch520.net"], "url": "return (!fun.indexOF('.html'))", "pager": { "nextL": "a.next", @@ -1872,10 +1720,7 @@ } }, "低端影视": { - "host": [ - "ddrk.me", - "ddys.tv" - ], + "host": ["ddrk.me","ddys.tv"], "url": "return (fun.lp() == '/' || fun.indexOF(/^\\/page\\//) || fun.indexOF(/\\/(category|tag)\\//))", "pager": { "nextL": "a.next", @@ -1896,10 +1741,7 @@ } }, "在线之家": { - "host": [ - "www.zxzj.me", - "www.zxzj.fun" - ], + "host": ["www.zxzj.me","www.zxzj.fun"], "url": "return (fun.lp() != '/' && !fun.indexOF('/detail/') && !fun.indexOF('/video/'))", "style": "div.stui-page__all {display: none !important;}", "pager": { @@ -1996,10 +1838,7 @@ } }, "樱花动漫": { - "host": [ - "www.imomoe.la", - "www.imomoe.live" - ], + "host": ["www.imomoe.la","www.imomoe.live"], "url": "return (fun.indexOF('/list/'))", "pager": { "nextL": "//div[@class='pages']/a[text()='下一页']", @@ -2009,10 +1848,7 @@ } }, "樱花动漫 - 搜索页等": { - "host": [ - "www.imomoe.la", - "www.imomoe.live" - ], + "host": ["www.imomoe.la","www.imomoe.live"], "url": "return (fun.lp() == '/so.asp' || fun.lp() == '/search.asp')", "pager": { "nextL": "//div[@class='pages']/a[text()='下一页']", @@ -2058,10 +1894,7 @@ } }, "AGE 动漫 - 全部/搜索": { - "host": [ - "www.agemys.com", - "www.age.tv" - ], + "host": ["www.agemys.com","www.age.tv"], "url": "return (fun.indexOF('/catalog/') || fun.lp() == '/search')", "pager": { "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", @@ -2071,10 +1904,7 @@ } }, "AGE 动漫 - 其他页": { - "host": [ - "www.agemys.com", - "www.age.tv" - ], + "host": ["www.agemys.com","www.age.tv"], "url": "return (fun.lp() == '/recommend' || fun.lp() == '/update')", "pager": { "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", @@ -2084,10 +1914,7 @@ } }, "AGE 动漫 - 排行榜": { - "host": [ - "www.agemys.com", - "www.age.tv" - ], + "host": ["www.agemys.com","www.age.tv"], "url": "return (fun.lp() == '/rank')", "pager": { "nextL": "id('container')/ul[@style][not(@class)]/li/a[contains(text(), '下一页')]", @@ -2136,11 +1963,7 @@ } }, "磁力狗": { - "host": [ - "clg.im", - "ciligou.top", - "clg00.site" - ], + "host": ["clg.im","ciligou.top","clg00.site"], "url": "/^\\/search/", "style": "body, html {overflow-x: initial !important;}", "pager": { @@ -2189,12 +2012,7 @@ } }, "爱恋动漫/漫猫动漫/末日动漫": { - "host": [ - "www.kisssub.org", - "www.comicat.org", - "www.anix.moe", - "/(share|www)\\.acgnx\\./" - ], + "host": ["www.kisssub.org","www.comicat.org","www.anix.moe","/(share|www)\\.acgnx\\./"], "pager": { "nextL": "a.nextprev:last-of-type", "pageE": "#data_list > tr", @@ -2203,11 +2021,7 @@ } }, "动漫花园": { - "host": [ - "dmhy.org", - "share.dmhy.org", - "dmhy.anoneko.com" - ], + "host": ["dmhy.org","share.dmhy.org","dmhy.anoneko.com"], "pager": { "nextL": "//div[@class='nav_title']/a[contains(text(), '下一')]", "pageE": "#topic_list > tbody > tr", @@ -2252,10 +2066,7 @@ } }, "MioBT/简单动漫": { - "host": [ - "miobt.com", - "www.36dm.club" - ], + "host": ["miobt.com","www.36dm.club"], "pager": { "nextL": "//a[@class='nextprev'][contains(text(), '〉') or contains(text(), '下一页') or contains(text(), '»')]", "pageE": "#data_list > tr", @@ -2286,19 +2097,13 @@ "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 '';}", "pageE": "div[class='row'] > .col-md-6 > ul", - "insertP": [ - "nav[aria-label*='Page']", - 1 - ], + "insertP": ["nav[aria-label*='Page']",1], "replaceE": "ul.pagination", "scrollD": 900 } }, "Nyaa": { - "host": [ - "nyaa.si", - "sukebei.nyaa.si" - ], + "host": ["nyaa.si","sukebei.nyaa.si"], "pager": { "nextL": "a[rel='next'], li.next > a", "pageE": "table.torrent-list > tbody > tr", @@ -2360,10 +2165,7 @@ "pager": { "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", "pageE": ".col-lg-9 .bg-white.shadow-sm.rounded-3", - "insertP": [ - "nav[aria-label='pagination']", - 1 - ], + "insertP": ["nav[aria-label='pagination']",1], "replaceE": "ul.pagination", "scrollD": 1000 } @@ -2414,10 +2216,7 @@ "pager": { "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", "pageE": ".bg-white.shadow-sm.rounded-3", - "insertP": [ - "nav.clearfix", - 1 - ], + "insertP": ["nav.clearfix",1], "replaceE": "nav.clearfix", "scrollD": 1000 } @@ -2428,10 +2227,7 @@ "pager": { "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 - ], + "insertP": [".pagelinkcard",1], "replaceE": ".pagelinkcard", "scrollD": 1000 } @@ -2447,11 +2243,7 @@ } }, "字幕库 zmk": { - "host": [ - "zmk.pw", - "zimuku.org", - "zimuku.pw" - ], + "host": ["zmk.pw","zimuku.org","zimuku.pw"], "url": "if (!fun.indexOF('/detail/')) {if (fun.lp() == '/') {fun.getCSS('.box > .table').insertAdjacentHTML('beforebegin', '
    ')}; return true;}", "pager": { "nextL": "a.next", @@ -2482,10 +2274,7 @@ } }, "好漫 6": { - "host": [ - "www.haoman6.com", - "www.g-lens.com" - ], + "host": ["www.haoman6.com","www.g-lens.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;}", "pager": { @@ -2500,10 +2289,7 @@ } }, "好漫 6 - 分类/搜索页": { - "host": [ - "www.haoman6.com", - "www.g-lens.com" - ], + "host": ["www.haoman6.com","www.g-lens.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", @@ -2522,10 +2308,7 @@ "pager": { "nextL": "//footer//a[./label[text()='下一章']]", "pageE": ".lazyBox", - "insertP": [ - ".slick-track", - 3 - ], + "insertP": [".slick-track",3], "replaceE": "footer", "interval": 2000, "scrollD": 3000 @@ -2624,11 +2407,7 @@ } }, "包子漫画": { - "host": [ - "www.webmota.com", - "cn.webmota.com", - "cn.baozimh.com" - ], + "host": ["www.webmota.com","cn.webmota.com","cn.baozimh.com"], "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;}", "pager": { @@ -2639,10 +2418,7 @@ } }, "鬼罗丽漫画": { - "host": [ - "www.gllmh8.com", - "m.gllmh8.com" - ], + "host": ["www.gllmh8.com","m.gllmh8.com"], "url": "/\\/\\d+(_\\d+)?\\.html$/", "style": ".article-content img {visibility: visible; opacity: 1;} .swiper-container {display: none !important;}", "pager": { @@ -2728,10 +2504,7 @@ "pager": { "nextL": "//div[contains(@class, 'articlebtn')]/a[contains(text(), '下一页') or contains(text(), '下一章')]", "pageE": "#BookText", - "insertP": [ - "#BookText", - 6 - ], + "insertP": ["#BookText",6], "replaceE": ".articlebtn", "scrollD": 1000 } @@ -2763,10 +2536,7 @@ "pager": { "nextL": "//font[contains(text(), '下一章')]/following-sibling::a[1]", "pageE": ".content", - "insertP": [ - ".content", - 6 - ], + "insertP": [".content",6], "insertP6Br": true, "replaceE": ".pagego" }, @@ -2775,18 +2545,12 @@ } }, "owlook": { - "host": [ - "www.owlook.com.cn", - "www1.owlook.com.cn" - ], + "host": ["www.owlook.com.cn","www1.owlook.com.cn"], "url": "return (fun.lp() == '/owllook_content')", "pager": { "nextL": "//div[@class='pre_next']/a[contains(text(), '下一')]", "pageE": "#content", - "insertP": [ - "#content", - 6 - ], + "insertP": ["#content",6], "replaceE": ".pre_next" } }, @@ -2796,10 +2560,7 @@ "pager": { "nextL": "id('footlink')/a[contains(text(), '下一页')]", "pageE": "#contents", - "insertP": [ - "#contents", - 6 - ], + "insertP": ["#contents",6], "insertP6Br": true, "replaceE": "#footlink, #amain dd h1", "scrollD": 900 @@ -2821,10 +2582,7 @@ "pager": { "nextL": "#nextLink", "pageE": "#cp_content", - "insertP": [ - "#cp_content", - 6 - ], + "insertP": ["#cp_content",6], "replaceE": "#pg_bar" } }, @@ -2835,10 +2593,7 @@ "pager": { "nextL": ".page_chapter a.p4", "pageE": "#novelcontent", - "insertP": [ - "#novelcontent", - 6 - ], + "insertP": ["#novelcontent",6], "replaceE": ".page_chapter" }, "function": { @@ -2877,10 +2632,7 @@ "pager": { "nextL": "//div[contains(@class, 'tag-view-type')]//a[text()='下一章']", "pageE": ".tagCol > p", - "insertP": [ - ".tagCol > p", - 6 - ], + "insertP": [".tagCol > p",6], "replaceE": ".tag-view-type" } }, @@ -2910,10 +2662,7 @@ "pager": { "nextL": "id('preAndNextBar')/a[contains(text(), '下一章')]", "pageE": "#contentsource > p", - "insertP": [ - ".discription", - 3 - ], + "insertP": [".discription",3], "replaceE": "#preAndNextBar", "scrollD": 1000 } @@ -3146,10 +2895,7 @@ } }, "反斗软件": { - "host": [ - "www.apprcn.com", - "free.apprcn.com" - ], + "host": ["www.apprcn.com","free.apprcn.com"], "url": "return ((fun.lp() == '/' || fun.indexOF(/^\\/page\\//)) || fun.indexOF('/category/'))", "pager": { "nextL": ".pagination li.current+li>a", @@ -3174,10 +2920,7 @@ "pager": { "nextL": "a.nextpage", "pageE": ".special > .item, .articleWrapper > div", - "insertP": [ - ".special, .articleWrapper", - 3 - ], + "insertP": [".special, .articleWrapper",3], "replaceE": "#pageGroup", "scrollD": 700 } @@ -3187,10 +2930,7 @@ "pager": { "nextL": "a.nextpage", "pageE": ".articleWrapper > .itemArticle, .articleWrapper > .richTextItem.search", - "insertP": [ - ".articleWrapper", - 3 - ], + "insertP": [".articleWrapper",3], "replaceE": "#pageGroup" } }, @@ -3257,8 +2997,7 @@ "pager": { "nextL": "a.page-numbers[title='下一页']", "pageE": "#post > div[id^='post-']", - "replaceE": "#post > #pagenavi", - "scrollD": 1700 + "replaceE": "#post > #pagenavi" } }, "老殁 | 殁漂遥 - 搜索页/分类页": { @@ -3267,8 +3006,7 @@ "pager": { "nextL": "a.page-numbers[title='下一页']", "pageE": "#content > div[class^='entry_box']", - "replaceE": "#content > #pagenavi", - "scrollD": 1700 + "replaceE": "#content > #pagenavi" } }, "腾龙工作室": { @@ -3402,10 +3140,7 @@ } }, "Wiley Online Library + ACS (Publications)": { - "host": [ - "pubs.acs.org", - "onlinelibrary.wiley.com" - ], + "host": ["pubs.acs.org","onlinelibrary.wiley.com"], "url": "/\\/doSearch/", "pager": { "nextL": "a.pagination__btn--next", @@ -3420,10 +3155,7 @@ "pager": { "nextL": "//font/a[contains(text(), '►')]", "pageE": "table[rules='rows'] > tbody > tr:nth-of-type(n+2), .paginator+script:not([src])", - "insertP": [ - "table[rules='rows'] > tbody", - 3 - ], + "insertP": ["table[rules='rows'] > tbody",3], "replaceE": "//td[./font/a[contains(text(), '►')]]", "scriptT": 2, "scrollD": 2000 @@ -3446,10 +3178,7 @@ "pager": { "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", "pageE": "id('searchResultBox')/div | //script[contains(string(), 'pagerOptions')]", - "insertP": [ - "#searchResultBox", - 3 - ], + "insertP": ["#searchResultBox",3], "replaceE": ".paginator", "scriptT": 2, "scrollD": 2000 @@ -3471,10 +3200,7 @@ "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 - ], + "insertP": [".magazine-senior-search-results-list > ul, .magazine-model-content-new > ul",3], "replaceE": ".pagination", "scrollD": 2000 } @@ -3565,10 +3291,7 @@ } }, "谷歌学术": { - "host": [ - "scholar.google.com", - "xs2.dailyheadlines.cc" - ], + "host": ["scholar.google.com", "xs2.dailyheadlines.cc"], "pager": { "nextL": "//a[./span[contains(@class, 'next')]]", "pageE": "#gs_res_ccl_mid > *", @@ -3591,10 +3314,7 @@ } }, "必应学术": { - "host": [ - "www.bing.com", - "cn.bing.com" - ], + "host": ["www.bing.com","cn.bing.com"], "url": "return (fun.lp() == '/academic/search')", "style": "li.aca_algo_count {display: none !important;}", "pager": { @@ -3682,10 +3402,7 @@ "type": 3, "nextL": "js;let next = fun.getCSS('li.next > a[href]'); if (next && next.href.indexOf('/index.') === -1) {return next.href;}; return ''", "pageE": "#maincontent > *:not([class*='prenextnav']):not(#bpn):not(#tpn)", - "insertP": [ - "id('bpn') | //div[contains(@class, 'prenextnav')][last()]", - 1 - ], + "insertP": ["id('bpn') | //div[contains(@class, 'prenextnav')][last()]",1], "replaceE": "ul.prenext, #navsecond", "scrollE": "id('bpn') | //div[contains(@class, 'prenextnav')][last()]", "forceHTTPS": true, @@ -3807,10 +3524,7 @@ } }, "Github - 首页": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "fun.isUrlC(); return (fun.lp() == '/')", "pager": { "type": 2, @@ -3819,27 +3533,18 @@ } }, "Github - 用户 Star 列表": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "/tab=stars/", "pager": { "nextL": "//div[@class='paginate-container']/div/*[last()]", "pageE": "#js-pjax-container .position-relative div[class^='col-lg-'] > div:not(.position-relative):not(.paginate-container)", - "insertP": [ - ".paginate-container", - 1 - ], + "insertP": [".paginate-container",1], "replaceE": ".paginate-container", "scrollD": 3000 } }, "Github - 用户 Repositories 列表": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "/tab=repositories/", "pager": { "nextL": "//div[@class='paginate-container']/div/*[last()]", @@ -3849,10 +3554,7 @@ } }, "Github - Issues 列表 / PR 列表": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF(/\\/(issues|pulls)$/))", "pager": { "nextL": "a.next_page", @@ -3862,10 +3564,7 @@ } }, "Github - Discussions 列表": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF(/\\/discussions$/) || fun.indexOF('/discussions/categories'))", "pager": { "nextL": "a.next_page", @@ -3875,10 +3574,7 @@ } }, "Github - Releases 列表": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF(/\\/releases$/))", "pager": { "nextL": "a.next_page", @@ -3888,10 +3584,7 @@ } }, "Github - Tags 列表": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF(/\\/tags$/))", "pager": { "nextL": "//div[@class='pagination']/*[last()]", @@ -3901,10 +3594,7 @@ } }, "Github - Commits 列表": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "/\\/commits/", "pager": { "nextL": "//div[@class='paginate-container']/div/*[last()]", @@ -3914,10 +3604,7 @@ } }, "Github - Notifications 列表": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "/\\/notifications/", "pager": { "nextL": "nav.paginate-container > a[aria-label='Next']", @@ -3927,10 +3614,7 @@ } }, "Github - Search 列表 - Repositories": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.lp() == '/search' && location.search && (!fun.indexOF('type=', 's') || fun.indexOF('type=repositories', 's')))", "pager": { "nextL": "a.next_page", @@ -3940,10 +3624,7 @@ } }, "Github - Search 列表 - Code": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF('/search') && location.search && (!fun.indexOF('type=', 's') || fun.indexOF('type=code', 's')))", "pager": { "nextL": "a.next_page", @@ -3953,10 +3634,7 @@ } }, "Github - Search 列表 - Commit": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=commits', 's'))", "pager": { "nextL": "a.next_page", @@ -3966,10 +3644,7 @@ } }, "Github - Search 列表 - Issues": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=issues', 's'))", "pager": { "nextL": "a.next_page", @@ -3979,10 +3654,7 @@ } }, "Github - Search 列表 - Discussions": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=discussions', 's'))", "pager": { "nextL": "a.next_page", @@ -3992,10 +3664,7 @@ } }, "Github - Search 列表 - Package": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=registrypackages', 's'))", "pager": { "nextL": "a.next_page", @@ -4005,10 +3674,7 @@ } }, "Github - Search 列表 - Marketplace": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=marketplace', 's'))", "pager": { "nextL": "a.next_page", @@ -4018,10 +3684,7 @@ } }, "Github - Search 列表 - Topics": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=topics', 's'))", "pager": { "nextL": "a.next_page", @@ -4031,10 +3694,7 @@ } }, "Github - Search 列表 - wiki": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=wikis', 's'))", "pager": { "nextL": "a.next_page", @@ -4044,10 +3704,7 @@ } }, "Github - Search 列表 - user": { - "host": [ - "github.com", - "hub.fastgit.xyz" - ], + "host": ["github.com","hub.fastgit.xyz"], "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=users', 's'))", "pager": { "nextL": "a.next_page", @@ -4062,12 +3719,8 @@ "pager": { "nextL": "li.md-nav__item.md-nav__item--active.md-nav__item--nested li.md-nav__item--active+li a", "pageE": "article.md-content__inner", - "insertP": [ - "article.md-content__inner", - 6 - ], - "replaceE": ".md-sidebar.md-sidebar--primary", - "scrollD": 1300 + "insertP": ["article.md-content__inner",6], + "replaceE": ".md-sidebar.md-sidebar--primary" } }, "dusaiphoto": { @@ -4124,10 +3777,7 @@ } }, "36氪": { - "host": [ - "36kr.com", - "www.36kr.com" - ], + "host": ["36kr.com","www.36kr.com"], "url": "if (fun.lp() != '/' && !fun.indexOF('/p/')) {return true;}", "pager": { "type": 2, @@ -4212,10 +3862,7 @@ } }, "wikihow": { - "host": [ - "www.wikihow.com", - "zh.wikihow.com" - ], + "host": ["www.wikihow.com","zh.wikihow.com"], "url": "return (fun.indexOF('/Category:'))", "pager": { "nextL": "a.pag_next", @@ -4225,10 +3872,7 @@ } }, "wikihow - 搜索页": { - "host": [ - "www.wikihow.com", - "zh.wikihow.com" - ], + "host": ["www.wikihow.com","zh.wikihow.com"], "url": "return (fun.indexOF('/wikiHowTo') && fun.indexOF('?search=', 's'))", "pager": { "nextL": "#searchresults_footer > a.buttonright", @@ -4261,8 +3905,7 @@ "pager": { "nextL": "a.next_page", "pageE": "ol#browse-script-list > li", - "replaceE": ".pagination", - "scrollD": 1300 + "replaceE": ".pagination" } }, "GreasyFork - 反馈页": { @@ -4283,8 +3926,7 @@ "pager": { "nextL": "a.next_page", "pageE": ".discussion-list > div", - "replaceE": ".pagination", - "scrollD": 1300 + "replaceE": ".pagination" } }, "UserScript": { @@ -4327,10 +3969,7 @@ } }, "什么值得买 - 分类/搜索页": { - "host": [ - "www.smzdm.com", - "search.smzdm.com" - ], + "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", @@ -4388,11 +4027,7 @@ } }, "yande": { - "host": [ - "konachan.net", - "konachan.com", - "yande.re" - ], + "host": ["konachan.net","konachan.com","yande.re"], "url": "if (fun.indexOF('/post')) {document.head.appendChild(document.createElement('base')).target = '_blank'; return true;}", "style": "html, body {min-height: 1000px;} .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;}", "pager": { @@ -4447,10 +4082,7 @@ "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 - ], + "insertP": ["div[class*='-container'] div[class*='-con'] > ul, div[class*='-container'] div[class*='-con'] > div[class*='-wrap'] > ul",3], "replaceE": ".page", "scrollD": 2000 }, @@ -4529,10 +4161,7 @@ "pager": { "nextL": "id('page')/a[text()='下一页']", "pageE": "ul.xqy_entry_list > li,.xqy_core_text > p:not([style='text-align:center'])", - "insertP": [ - "ul.xqy_entry_list,.xqy_core_text", - 3 - ], + "insertP": ["ul.xqy_entry_list,.xqy_core_text",3], "replaceE": "#page", "scrollD": 2000 } @@ -4574,10 +4203,7 @@ "pager": { "nextL": "//div[@class='fy']/a[contains(text(), '下一页')]", "pageE": ".m1_z > .lbk", - "insertP": [ - ".page", - 1 - ], + "insertP": [".page",1], "replaceE": ".fy", "scrollD": 1000 } @@ -4588,10 +4214,7 @@ "pager": { "nextL": "//div[@class='fy']/a[contains(text(), '下一页')]", "pageE": ".m1_z > .m2_lb", - "insertP": [ - ".page", - 1 - ], + "insertP": [".page",1], "replaceE": ".fy", "scrollD": 1000 } @@ -4690,10 +4313,7 @@ } }, "xvideos": { - "host": [ - "www.xnxx.com", - "www.xvideos.com" - ], + "host": ["www.xnxx.com","www.xvideos.com"], "url": "if (location.hostname == 'www.xnxx.com') {if (fun.indexOF('/search/')) return true;} else {if (fun.lp() == '/' || fun.indexOF(/\\/(c|tags|lang)\\//)) return true;}", "pager": { "nextL": "a.next-page, a.next", @@ -4719,10 +4339,7 @@ } }, "91porn": { - "host": [ - "91porn.com", - "0118.workarea7.live" - ], + "host": ["91porn.com","0118.workarea7.live"], "url": "/\\/v\\.php/", "pager": { "nextL": "id('paging')//a[text()='»']", @@ -4827,11 +4444,7 @@ } }, "Javbooks": { - "host": [ - "javbooks.com", - "jmvbt.com", - "/^[a-z]{2}\\d{4}\\.com$/" - ], + "host": ["javbooks.com","jmvbt.com","/^[a-z]{2}\\d{4}\\.com$/"], "url": "return (document.title.indexOf('Javbooks') > -1 && !fun.indexOF('/content_'))", "pager": { "nextL": "span.pageback > a", @@ -4840,11 +4453,7 @@ } }, "JAV Library": { - "host": [ - "www.javlib.com", - "www.javlibrary.com", - "www.o58c.com" - ], + "host": ["www.javlib.com","www.javlibrary.com","www.o58c.com"], "url": "/\\/vl_/", "pager": { "nextL": "a.next", @@ -4853,11 +4462,7 @@ } }, "JAV Library - 论坛": { - "host": [ - "www.javlib.com", - "www.javlibrary.com", - "www.o58c.com" - ], + "host": ["www.javlib.com","www.javlibrary.com","www.o58c.com"], "url": "/\\/public/", "pager": { "nextL": "a.next", @@ -5088,10 +4693,7 @@ "pager": { "nextL": ".pagesYY a.cur+a", "pageE": "#articleDiv", - "insertP": [ - "#articleDiv", - 6 - ], + "insertP": ["#articleDiv",6], "replaceE": ".pagesYY", "scrollD": 1000 } @@ -5271,11 +4873,7 @@ } }, "kissgoddess": { - "host": [ - "kissgoddess.com", - "tw.kissgoddess.com", - "jp.kissgoddess.com" - ], + "host": ["kissgoddess.com","tw.kissgoddess.com","jp.kissgoddess.com"], "url": "/^\\/album|category\\//", "style": ".td-gallery-content > img {min-height: 300px;}", "pager": { @@ -5346,10 +4944,7 @@ } }, "娱乐吧": { - "host": [ - "www.yuleba.org", - "m.yuleba.org" - ], + "host": ["www.yuleba.org","m.yuleba.org"], "url": "/^\\/a|b\\//", "pager": { "nextL": "//div[@class='paging']/a[text()='下一页']", @@ -5367,11 +4962,7 @@ } }, "凸凹吧/撸女吧": { - "host": [ - "www.tuaom.cc", - "www.tuaow.xyz", - "www.lunu.cc" - ], + "host": ["www.tuaom.cc","www.tuaow.xyz","www.lunu.cc"], "url": "/^\\/(post|web)\\//", "pager": { "type": 3, @@ -5381,10 +4972,7 @@ } }, "高清尤物网": { - "host": [ - "www.gqywt.com", - "www.jjtaotu.com" - ], + "host": ["www.gqywt.com","www.jjtaotu.com"], "url": "/\\/\\d{8}\\/\\d{3,}/", "pager": { "nextL": "//div[@class='pagelist']//a[text()='下一页']", @@ -5414,10 +5002,7 @@ } }, "177 漫画/xxiav": { - "host": [ - "www.177picyy.com", - "www.xxiav.com" - ], + "host": ["www.177picyy.com","www.xxiav.com"], "url": "/\\d+\\.html/", "pager": { "nextL": "//div[@class='page-links']/a[./span[./i[@class='be be-arrowright']]]", @@ -5443,10 +5028,7 @@ } }, "ROSIMM 写真": { - "host": [ - "www.rosi3.cc", - "www.rosimm3.com" - ], + "host": ["www.rosi3.cc","www.rosimm3.com"], "url": "/\\.html$/", "pager": { "nextL": "//div[@class='pagination2']/li/a[text()='下一页']", @@ -5476,10 +5058,7 @@ } }, "Hentai Cosplays - 手机版": { - "host": [ - "hentai-cosplays.com", - "porn-images-xxx.com" - ], + "host": ["hentai-cosplays.com","porn-images-xxx.com"], "url": "return (fun.indexOF('/image/') && fun.isMobile())", "style": ".icon-good-thumbnail, .icon-bad-thumbnail {display: none !important;}", "pager": { @@ -5490,10 +5069,7 @@ } }, "Hentai Cosplays": { - "host": [ - "hentai-cosplays.com", - "porn-images-xxx.com" - ], + "host": ["hentai-cosplays.com","porn-images-xxx.com"], "url": "/^\\/image\\//", "style": ".icon-good-thumbnail, .icon-bad-thumbnail {display: none !important;}", "pager": { @@ -5504,11 +5080,7 @@ } }, "24FA": { - "host": [ - "www.24fa.com", - "www.24faa.com", - "/www\\.\\d{3}w\\.cc/" - ], + "host": ["www.24fa.com","www.24faa.com","/www\\.\\d{3}w\\.cc/"], "url": "/^\\/m?n\\d+/", "style": ".moreR {display: none;} #content img {width: auto; max-width: 99%; height: auto; display: block; margin: 0 auto;}", "pager": { @@ -5539,13 +5111,13 @@ } }, "推图网 - 图片页": { - "host": ["m.tuiimg.com", "www.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{display: none !important;}", "hiddenPN": true }, "推图网 - 分类页": { - "host": ["m.tuiimg.com", "www.tuiimg.com"], + "host": ["www.tuiimg.com", "m.tuiimg.com"], "pager": { "nextL": ".page > .now + a, .page > em+a", "pageE": "#main > li, .beauty > ul > li", From 2ed6201c428418994d45fc255093ad53a5f7dec1 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 19 Mar 2022 09:58:23 +0800 Subject: [PATCH 0040/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=BE=8E?= =?UTF-8?q?=E5=9B=BE=E7=BD=91]=E3=80=81[=E8=A8=80=E8=80=BD=E7=A4=BE]=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 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 1209c3c41..b07a29a31 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2327,6 +2327,29 @@ "scrollD": 2000 } }, + "言耽社": { + "host": "yandanshe.com", + "url": "/^\\/\\d+\\//", + "pager": { + "nextL": "id('navigation')/ul/li[./span]/following-sibling::li[1]/a", + "pageE": ".post-content > p", + "replaceE": "#navigation", + "scrollD": 2000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-src]','data-src'])" + } + }, + "言耽社 - 分类页": { + "host": "yandanshe.com", + "url": "/^\\/b/", + "pager": { + "nextL": "a.next.page-numbers", + "pageE": ".list-grouped > div", + "replaceE": ".nav-links", + "scrollD": 1500 + } + }, "漫画皮": { "host": "www.manhuapi.com", "url": "/\\/chapter\\//", @@ -5137,5 +5160,15 @@ "replaceE": ".pagination-site", "scrollD": 4000 } + }, + "美图网 tuli": { + "host": ["www.tuli.cc","m.tuli.cc"], + "url": "/\\/\\d+(_\\d+)?\\.html$/", + "pager": { + "nextL": "li.thisclass + li > a", + "pageE": ".bodyintroduce, .picbox > img", + "replaceE": ".pageart > ul", + "scrollD": 3000 + } } } From c5128e4fbbd956b8de48b929e8b2dd68a4841f28 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 19 Mar 2022 10:05:36 +0800 Subject: [PATCH 0041/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E8=A8=80?= =?UTF-8?q?=E8=80=BD=E7=A4=BE]=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 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index b07a29a31..81bf0a379 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2332,9 +2332,9 @@ "url": "/^\\/\\d+\\//", "pager": { "nextL": "id('navigation')/ul/li[./span]/following-sibling::li[1]/a", - "pageE": ".post-content > p", + "pageE": ".post-content", "replaceE": "#navigation", - "scrollD": 2000 + "scrollD": 3000 }, "function": { "bF": "return fun.src_bF(pageE, [0,'img[data-src]','data-src'])" @@ -2346,8 +2346,7 @@ "pager": { "nextL": "a.next.page-numbers", "pageE": ".list-grouped > div", - "replaceE": ".nav-links", - "scrollD": 1500 + "replaceE": ".nav-links" } }, "漫画皮": { From 9c4aec12fc9ef137a9a7d5d5f41f5e1c5b9d6d66 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 19 Mar 2022 11:16:45 +0800 Subject: [PATCH 0042/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[WebCrawler=20?= =?UTF-8?q?=E6=90=9C=E7=B4=A2]=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 81bf0a379..85dafbd18 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -259,6 +259,15 @@ "scrollD": 2000 } }, + "WebCrawler 搜索": { + "host": "www.webcrawler.com", + "url": "return (fun.indexOF('qc=web','s') || !fun.indexOF('qc=','s'))", + "pager": { + "nextL": "a.pagination__num--next", + "pageE": ".web-google__result", + "replaceE": ".pagination" + } + }, "豆瓣 - 短评": { "host": "movie.douban.com", "url": "return (fun.indexOF('/subject/') && fun.indexOF('/comments'))", From bb4bfc3466e7e200a483a7cc2dc76a09f5ecee72 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 19 Mar 2022 12:09:23 +0800 Subject: [PATCH 0043/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E5=9C=A8?= =?UTF-8?q?=E7=BD=91=E9=A1=B5=E5=86=85=E5=AE=B9=E6=92=91=E4=B8=8D=E8=B5=B7?= =?UTF-8?q?=E6=9D=A5=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E6=97=B6=EF=BC=88=E7=89=B9=E5=88=AB=E6=98=AF=E6=98=AF=E7=AB=96?= =?UTF-8?q?=E5=B1=8F=E6=98=BE=E7=A4=BA=E5=B1=8F=EF=BC=89=E7=9A=84=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 10 +++++++++- other/Autopage/rules.json | 5 ++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index cf0eb67e9..f1f04d436 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.4.1 +// @version 5.4.2 // @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...) 等網站~ @@ -3468,6 +3468,14 @@ function: { var beforeScrollTop = document.documentElement.scrollTop || document.body.scrollTop, fn = fn1 || function () {}; setTimeout(function () { // 延时 1 秒执行,避免刚载入到页面就触发翻页事件 + + // 避免网页内容太少,高度撑不起来,不显示滚动条而无法触发翻页事件 + let scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop, + scrollHeight = window.innerHeight || document.documentElement.clientHeight + if (scrollTop === 0 && document.documentElement.scrollHeight === scrollHeight) { + insStyle(`html, body {min-height: ${document.documentElement.scrollHeight+10}px;}`) + } + window.addEventListener('scroll', function (e) { var afterScrollTop = document.documentElement.scrollTop || document.body.scrollTop, delta = afterScrollTop - beforeScrollTop; diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 85dafbd18..233ac73c2 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2737,7 +2737,6 @@ "哔哩轻小说 - 手机版": { "host": "w.linovelib.com", "url": "return (fun.indexOF(/\\/novel\\/\\d+\\/.+\\.html/))", - "style": "body {min-height: 1000px;}", "pager": { "nextL": "js;if (ReadParams) {return (location.origin + ReadParams.url_next)}; return '';", "pageE": "id('apage')/div | //body/script[contains(text(), 'var ReadParams')]", @@ -3746,7 +3745,7 @@ }, "OI-Wiki": { "host": "oi-wiki.org", - "style": "blockquote.page-copyright, h2#__comments, form#gitalk-form {display: none !important;} article.md-content__inner{min-height: 700px;}", + "style": "blockquote.page-copyright, h2#__comments, form#gitalk-form {display: none !important;}", "pager": { "nextL": "li.md-nav__item.md-nav__item--active.md-nav__item--nested li.md-nav__item--active+li a", "pageE": "article.md-content__inner", @@ -4060,7 +4059,7 @@ "yande": { "host": ["konachan.net","konachan.com","yande.re"], "url": "if (fun.indexOF('/post')) {document.head.appendChild(document.createElement('base')).target = '_blank'; return true;}", - "style": "html, body {min-height: 1000px;} .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;}", "pager": { "nextL": "a.next_page", "pageE": "ul#post-list-posts > li", From bead369cd39301e8ddda49348fdd43785d173fe1 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 19 Mar 2022 17:13:26 +0800 Subject: [PATCH 0044/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[asciinema]=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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 233ac73c2..0a884372f 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3998,6 +3998,15 @@ "replaceE": "ul.pager" } }, + "asciinema": { + "host": "asciinema.org", + "url": "/^\\/explore/", + "pager": { + "nextL": "a.page-link[rel='next']", + "pageE": ".asciicast-list", + "replaceE": ".pagination" + } + }, "什么值得买 - 分类/搜索页": { "host": ["www.smzdm.com","search.smzdm.com"], "url": "return (location.hostname === 'search.smzdm.com' || fun.indexOF('/fenlei/') || fun.indexOF(/\\/mall\\/.+\\/.+/))", From 2ba3846d9611117587d26ef5403adb13e04b2c84 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 21 Mar 2022 15:28:33 +0800 Subject: [PATCH 0045/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=B0=8F?= =?UTF-8?q?=E6=9C=A8=E8=99=AB=20-=20=E8=80=83=E7=A0=94=E8=B0=83=E5=89=82]?= =?UTF-8?q?=E3=80=81[51CTO]=E3=80=81[Chrome=20Debelopers=20=E6=96=87?= =?UTF-8?q?=E6=A1=A3]=E3=80=81[Goobe]=E3=80=81[CNodeJS]=E3=80=81[Go=20?= =?UTF-8?q?=E8=AF=AD=E8=A8=80=E4=B8=AD=E6=96=87=E7=BD=91]=E3=80=81[Ruby=20?= =?UTF-8?q?China]=E3=80=81[=E5=8A=9B=E6=89=A3]=E3=80=81[=E5=8F=A4=E8=AF=97?= =?UTF-8?q?=E6=96=87=E7=BD=91]=E3=80=81[Pixiv=20-=20=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=89=88]=E3=80=81[iJavTorrent]=E3=80=81[ProjectJav]=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81;=20=E8=A1=A5=E5=85=85=20[=E7=99=BE=E5=BA=A6?= =?UTF-8?q?=E6=90=9C=E7=B4=A2]=20=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 | 161 +++++++++++++++++++++++++++++++++++++- 1 file changed, 157 insertions(+), 4 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 0a884372f..623b4abe4 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1,6 +1,6 @@ { "百度搜索": { - "host": "www.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;}", "pager": { @@ -268,6 +268,15 @@ "replaceE": ".pagination" } }, + "Goobe": { + "host": "goobe.io", + "url": "/^\\/search\\.aspx/", + "pager": { + "nextL": ".PageSelector > .NextPageBTN", + "pageE": ".ContentItem", + "replaceE": ".PageSelector" + } + }, "豆瓣 - 短评": { "host": "movie.douban.com", "url": "return (fun.indexOF('/subject/') && fun.indexOF('/comments'))", @@ -952,7 +961,7 @@ }, "Pixiv - 分类页": { "host": "www.pixiv.net", - "url": "fun.isUrlC(); if (fun.lp() == '/') {fun.forceTarget();} else if (fun.indexOF('/tags/')) {return true;} else if (fun.indexOF('/artworks/')) {setTimeout(function(){fun.getXpath('//button[contains(string(), \"查看全部\") or contains(string(), \"See all\") or contains(string(), \"すべて見る\") or contains(string(), \"모두 보기\")]').click();}, 1000)}", + "url": "fun.isUrlC(); if (fun.isMobile()) {return false}; if (fun.lp() == '/') {fun.forceTarget();} else if (fun.indexOF('/tags/')) {return true;} else if (fun.indexOF('/artworks/')) {setTimeout(function(){fun.getXpath('//button[contains(string(), \"查看全部\") or contains(string(), \"See all\") or contains(string(), \"すべて見る\") or contains(string(), \"모두 보기\")]').click();}, 3000)}", "forceTarget": true, "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, @@ -964,7 +973,7 @@ }, "Pixiv - 用户作品页": { "host": "www.pixiv.net", - "url": "return (fun.indexOF('/users/') && fun.indexOF(/\\/(artworks|illustrations|manga)/))", + "url": "if (fun.isMobile()) {return false}; return (fun.indexOF('/users/') && fun.indexOF(/\\/(artworks|illustrations|manga)/))", "forceTarget": true, "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;}", @@ -974,6 +983,28 @@ "scrollD": 2000 } }, + "Pixiv - 手机版 - 分类页": { + "host": "www.pixiv.net", + "url": "fun.isUrlC(); 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(function(){fun.getCSS('.work-details-thumb-buttons > .button-link').click();}, 3000)}", + "style": ".banner-ad-footer-scale, footer {display: none !important;}", + "iframe": true, + "pager": { + "type": 5, + "nextL": "a.next", + "scrollD": 2000 + } + }, + "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;}", + "iframe": true, + "pager": { + "type": 5, + "nextL": "a.next", + "scrollD": 2000 + } + }, "Vilipix": { "host": "www.vilipix.com", "url": "fun.isUrlC(); if (fun.lp() == '/') {forceTarget();} else if (fun.indexOF(/\\/(tags|user|new|ranking)/)) {return true;}", @@ -3290,6 +3321,15 @@ "scrollD": 2000 } }, + "小木虫 - 考研调剂": { + "host": "muchong.com", + "url": "return (fun.lp() == '/bbs/kaoyan.php')", + "pager": { + "nextL": "//div[contains(@class, 'xmc_Pages')]//a[text()='下一页']", + "pageE": ".forum_body_manage", + "replaceE": ".xmc_Pages" + } + }, "百度学术": { "host": "xueshu.baidu.com", "url": "return (fun.lp() == '/s')", @@ -3436,7 +3476,7 @@ "replaceE": "ul.prenext, #navsecond", "scrollE": "id('bpn') | //div[contains(@class, 'prenextnav')][last()]", "forceHTTPS": true, - "scrollD": 600 + "scrollD": 800 } }, "菜鸟教程 - 分类页": { @@ -3503,6 +3543,98 @@ "scrollD": 1000 } }, + "力扣": { + "host": "leetcode-cn.com", + "url": "return (fun.lp() == '/')", + "style": "html, body {height: 100%; overflow: unset !important;}", + "pager": { + "type": 2, + "nextL": "button[class*='-LoadMoreButton']" + } + }, + "CNodeJS": { + "host": "cnodejs.org", + "url": "return (fun.lp() == '/')", + "pager": { + "nextL": "li.disabled+li:not(.disabled)>a", + "pageE": "#topic_list", + "replaceE": ".pagination" + } + }, + "Go 语言中文网": { + "host": "studygolang.com", + "url": "return (fun.lp() == '/' || fun.indexOF(/^\\/(go|topics|articles|projects|resources)/))", + "pager": { + "nextL": "li.next > a", + "pageE": ".cell.item, .topic, .article, .resources", + "replaceE": ".pagination", + "scrollD": 1000 + } + }, + "Ruby China": { + "host": "ruby-china.org", + "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", + "replaceE": ".pagination" + } + }, + "51CTO": { + "host": "www.51cto.com", + "url": "return (fun.lp() == '/' || fun.lp() == '/dev')", + "pager": { + "type": 2, + "nextL": ".more-btn" + } + }, + "51CTO - 分类页": { + "host": ["www.51cto.com","os.51cto.com","server.51cto.com","network.51cto.com","developer.51cto.com","www.cioage.com"], + "url": "return (!fun.indexOF('/article/'))", + "pager": { + "nextL": "a.next", + "pageE": ".topic-list-content", + "replaceE": ".topic-page" + } + }, + "51CTO - 博客 - 分类页": { + "host": "blog.51cto.com", + "url": "/^\\/nav/", + "pager": { + "nextL": "li.next > a", + "pageE": ".date-list", + "replaceE": ".pagination" + } + }, + "51CTO - 博客": { + "host": "blog.51cto.com", + "url": "return (fun.indexOF(/^\\/u_\\d+/) && !fun.indexOF(/^\\/u_\\d+\\/\\d+/))", + "pager": { + "nextL": "li.next > a", + "pageE": "#common-article-listbox-1", + "replaceE": ".pagination" + } + }, + "51CTO - 博客 - 其他": { + "host": "blog.51cto.com", + "url": "/^\\/(topic|search)\\//", + "pager": { + "nextL": "li.next > a", + "pageE": "ul.search-artical", + "replaceE": ".pagination" + } + }, + "Chrome Debelopers 文档": { + "host": "developer.chrome.com", + "url": "/^\\/docs\\/.+\\/.+\\//", + "style": ".visibility-hidden {visibility: unset !important;} h1.type--h2 {margin-top: 80px;}", + "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']/parent::div/following-sibling::div[@class='navigation-tree__nested']/a[@class='navigation-tree__link'][not(@target='_blank')]", + "pageE": "main article > *", + "replaceE": "main navigation-tree, main .scrollbar", + "scrollD": 1500 + } + }, "Gitee - Explore 列表": { "host": "gitee.com", "url": "/\\/explore\\//", @@ -4045,6 +4177,14 @@ "scrollD": 1000 } }, + "古诗文网": { + "host": ["www.gushiwen.cn","so.gushiwen.cn","m.gushiwen.cn"], + "pager": { + "nextL": "a.amore", + "pageE": ".left .sons:not([id]), .sonspic", + "replaceE": ".pagesright" + } + }, "彼岸图网": { "host": "pic.netbian.com", "style": "li.nextpage {display: none !important;} .alist > ul {height: auto !important;} .alist > ul > li {position: static !important; float: left !important; height: 550px !important;}", @@ -4509,6 +4649,19 @@ "replaceE": ".page_selector" } }, + "JavTorrent": { + "host": [ + "ijavtorrent.com", + "projectjav.com" + ], + "url": "return (!fun.indexOF('/movie/') && !fun.indexOF('/article/') && !fun.indexOF('/actress/'))", + "pager": { + "nextL": "a.gonext", + "pageE": ".movie-list, .articles-list, .actress-list", + "replaceE": "//a[contains(@class, 'gonext')]/parent::div", + "scrollD": 2500 + } + }, "UraakaList": { "host": "uraakalist.com", "url": "/^\\/.+/", From 1db9b662f87da10c7015db6ec35cfeebd3c8ae36 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 21 Mar 2022 16:45:15 +0800 Subject: [PATCH 0046/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=8D=8E?= =?UTF-8?q?=E5=86=9B=E8=BD=AF=E4=BB=B6=E5=9B=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 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 623b4abe4..718294a64 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -985,7 +985,7 @@ }, "Pixiv - 手机版 - 分类页": { "host": "www.pixiv.net", - "url": "fun.isUrlC(); 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(function(){fun.getCSS('.work-details-thumb-buttons > .button-link').click();}, 3000)}", + "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(function(){fun.getCSS('.work-details-thumb-buttons > .button-link').click();}, 3000)}", "style": ".banner-ad-footer-scale, footer {display: none !important;}", "iframe": true, "pager": { @@ -3004,6 +3004,15 @@ "replaceE": ".pagination" } }, + "华军软件园": { + "host": "www.onlinedown.net", + "url": "/^\\/(sort\\/.+|search)/", + "pager": { + "nextL": ".g-pages a.z-cur+a", + "pageE": ".m-list, .m-list2", + "replaceE": ".g-pages" + } + }, "天翼小站": { "host": "yun.hei521.cn", "url": "return (!fun.indexOF('.html'))", From 8746eaada672fe3fc861bbb49bdc8baeed842a2c Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 22 Mar 2022 12:23:25 +0800 Subject: [PATCH 0047/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=97=A0?= =?UTF-8?q?=E8=BF=BD=E6=90=9C=E7=B4=A2]=20=E6=94=AF=E6=8C=81;=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=20[=E7=A5=9E=E9=A9=AC=E6=90=9C=E7=B4=A2]=20=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E5=9F=9F=E5=90=8D;=20=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 --- Autopage.user.js | 9 +++++---- other/Autopage/rules.json | 16 +++++++++++++++- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index f1f04d436..bf4b53104 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.4.2 +// @version 5.4.3 // @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...) 等網站~ @@ -295,6 +295,7 @@ urlC: 对于使用 pjax 技术的网站,需要监听 URL 变化来重新判断翻页规则(需要放在 url: 中,自定义规则的话需要使用 fun.isUrlC()) forceTarget: 强制新标签页打开链接 + noReferer: 获取下一页内容时,不携带 Referer(部分网站携带与不携带可能不一样) hiddenPN: 不显示脚本左下角的页码 history: 添加历史记录 并 修改当前 URL(默认开启,对于不支持的网站要设置为 false) thread: 对于社区类网站,要在 帖子内 的规则中加入这个,用于脚本的 [帖子内自动翻页] 功能(即用户可以选择开启/关闭所有社区类网站帖子内的自动翻页) @@ -2585,7 +2586,7 @@ function: { method: 'GET', overrideMimeType: 'text/html; charset=' + document.charset, headers: { - 'Referer': location.href, + 'Referer': (curSite.noReferer === true) ? '':location.href, 'User-Agent': navigator.userAgent }, timeout: 10000, @@ -2618,7 +2619,7 @@ function: { responseType: type, overrideMimeType: mimeType, headers: { - 'Referer': location.href, + 'Referer': (curSite.noReferer === true) ? '':location.href, 'Content-Type': (method === 'POST') ? 'application/x-www-form-urlencoded':'', 'User-Agent': navigator.userAgent }, @@ -3313,7 +3314,7 @@ function: { }, "这里也可以用中文": { "host": "/\\.ccc\\.com/", - "url": "fun.UrlC(); return (fun.lp() == '/' || fun.indexOF('/s') || fun.isMobile())", + "url": "fun.isUrlC(); return (fun.lp() == '/' || fun.indexOF('/s') || fun.isMobile())", "pager": { "type": 2, "nextL": "#autopbn", diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 718294a64..9341adbba 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -134,13 +134,27 @@ } }, "神马搜索": { - "host": "m.sm.cn", + "host": ["m.sm.cn","quark.sm.cn"], "url": "/^\\/s/", "pager": { "type": 2, "nextL": "#pager:not(.loading)" } }, + "无追搜索": { + "host": "www.wuzhuiso.com", + "url": "if (fun.isMobile()) {return}; fun.isUrlC(); return (fun.lp() == '/s' && !fun.indexOF('a=image','s'))", + "style": ".so-lazyimg{opacity: 1 !important;} .result {border: none !important;}", + "noReferer": true, + "pager": { + "nextL": "#snext", + "pageE": ".result", + "replaceE": "#page" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-isrc]','data-isrc'])" + } + }, "360 搜索": { "host": "www.so.com", "url": "/^\\/.+/", From 35d19662b10029491d27f2a1c690e5aa47cfed86 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 22 Mar 2022 14:41:15 +0800 Subject: [PATCH 0048/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E8=90=8C?= =?UTF-8?q?=E6=90=9C]=20=E6=94=AF=E6=8C=81=E3=80=81=E6=96=B0=E5=A2=9E=20[?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95+?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9C=B0=E5=9D=80/=E6=A0=87=E9=A2=98]=20?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=E8=8F=9C=E5=8D=95=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 27 +++++++--- other/Autopage/rules.json | 111 +++++++++++++++++++++++++++++++++----- 2 files changed, 118 insertions(+), 20 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index bf4b53104..ffb519bbc 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.4.3 +// @version 5.4.4 // @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...) 等網站~ @@ -73,6 +73,7 @@ ['menu_thread', '帖子内自动翻页 (社区类网站)', '帖子内自动翻页 (社区类网站)', true], ['menu_page_number', '显示当前页码及点击暂停翻页', '显示当前页码及点击暂停翻页', true], ['menu_pause_page', '左键双击网页空白处暂停翻页', '左键双击网页空白处暂停翻页', false], + ['menu_history', '添加历史记录+修改地址/标题', '添加历史记录+修改地址/标题', true], ['menu_rules', '更新外置翻页规则 (每天自动)', '更新外置翻页规则 (每天自动)', {}], ['menu_customRules', '自定义翻页规则', '自定义翻页规则', {}] ], menuId = [], webType = 0, curSite = {SiteTypeID: 0}, DBSite, SiteType, pausePage = true, pageNum = {now: 1, _now: 1}, urlC = false, nowLocation = '', lp = location.pathname; @@ -1414,7 +1415,7 @@ function: { GM_setValue('menu_ruleUpdateTime', parseInt(+new Date()/1000)); // 写入当前时间戳 getRulesUrl_(update, true); // 立即更新规则 } else { // 自动更新 - if (parseInt(+new Date()/1000) - GM_getValue('menu_ruleUpdateTime', 0) > 172800) getRulesUrl_(); // 距离上次检查更新超过 48 小时,则对比远程时间戳 + if (parseInt(+new Date()/1000) - GM_getValue('menu_ruleUpdateTime', 0) > 86400) getRulesUrl_(); // 距离上次检查更新超过 24 小时,则对比远程时间戳 } function getRulesUrl_(update = false, notification = false) { @@ -2697,7 +2698,11 @@ function: { iframe.contentWindow.document.documentElement.appendChild(newStyle); // 添加历史记录 - if (curSite.history !== false) addHistory(iframe.contentWindow.document, iframe.contentWindow.document.title); + if (curSite.history === undefined) { + if (GM_getValue('menu_history', true)) addHistory(iframe.contentWindow.document, iframe.contentWindow.document.title); + } else { + if (curSite.history) addHistory(iframe.contentWindow.document, iframe.contentWindow.document.title); + } // 当前页码 + 1 if (!curSite.hiddenPN) { let autopageNumber = getCSS('#Autopage_number', window.top.document) @@ -2802,7 +2807,11 @@ function: { pageNum.now = pageNum._now + 1 // 添加历史记录 - if (curSite.history !== false) addHistory(response); + if (curSite.history === undefined) { + if (GM_getValue('menu_history', true)) addHistory(response); + } else { + if (curSite.history) addHistory(response); + } // 替换待替换元素 if (curSite.pager.replaceE) replaceElems(response); @@ -2848,8 +2857,14 @@ function: { if (curSite.pager.replaceE) { if (replaceElems(response)) { // 如果替换成功 console.log('[自动无缝翻页] 获取主体元素失败,尝试替换元素成功!') - pageNum.now = pageNum._now + 1; // 当前页码 + 1 - if (curSite.history !== false) addHistory(response); // 添加历史记录 + // 当前页码 + 1 + pageNum.now = pageNum._now + 1; + // 添加历史记录 + if (curSite.history === undefined) { + if (GM_getValue('menu_history', true)) addHistory(response); + } else { + if (curSite.history) addHistory(response); + } } else {console.error('[自动无缝翻页] 获取主体元素失败,尝试替换元素失败...')} } } diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 9341adbba..472771e79 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3,9 +3,10 @@ "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, "pager": { "nextL": "id('page')//a[contains(text(),'下一页')]", - "pageE": "#content_left > *", + "pageE": "#content_left", "replaceE": "#page", "scrollD": 2000 } @@ -14,9 +15,10 @@ "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 {display: none !important;}", + "history": true, "pager": { "nextL": "a[class^='new-nextpage']", - "pageE": "#results > *", + "pageE": "#results", "replaceE": "#page-controller", "scrollD": 2000 } @@ -24,6 +26,7 @@ "百度站内搜索": { "host": "zhannei.baidu.com", "url": "return (fun.lp() == '/cse/site')", + "history": true, "pager": { "nextL": "a.pager-next-foot", "pageE": ".result", @@ -44,9 +47,10 @@ "谷歌搜索": { "host": "/^www\\.google\\./", "url": "return (fun.lp() == '/search' && !fun.indexOF('tbm=isch', 's'))", + "history": true, "pager": { "nextL": "#pnnext", - "pageE": "id('search')/* | //style[not(contains(text(), 'table,div,span,p{display:none}'))]", + "pageE": "id('search') | //style[not(contains(text(), 'table,div,span,p{display:none}'))]", "replaceE": "id('navcnt') | id('rcnt')//div[@role='navigation']", "scriptT": 0, "scrollD": 3000 @@ -59,6 +63,7 @@ "host": ["www.bing.com","cn.bing.com"], "url": "if (fun.lp() == '/search') {if (fun.isMobile() && document.documentElement.lang != 'zh') {return false;} else {return true;}}", "style": "#b_footer, .b_imagePair.square_mp > .inner, .b_msg, #b_results > [class='b_ans'] {display: none !important;}", + "history": true, "pager": { "nextL": "a.sb_pagN, a.sb_halfnext, a.sb_fullnpl", "pageE": "#b_results > li.b_algo", @@ -72,9 +77,10 @@ "搜狗搜索": { "host": "www.sogou.com", "url": "/^\\/.+/", + "history": true, "pager": { "nextL": "#sogou_next", - "pageE": ".results > *", + "pageE": ".results", "replaceE": "#pagebar_container", "scriptT": 3, "scrollD": 2000 @@ -103,6 +109,7 @@ "搜狗微信 - 搜索": { "host": "weixin.sogou.com", "url": "return (fun.lp() == '/weixin')", + "history": true, "pager": { "nextL": "#sogou_next", "pageE": "ul[class*='news-list'] > li", @@ -113,6 +120,7 @@ "头条搜索 - 手机版": { "host": "so.toutiao.com", "url": "return (fun.lp() == '/search/' || fun.isMobile())", + "history": true, "pager": { "nextL": "#page-bottom a[class*='containerRight_'], #page-bottom a[class*='container_']", "pageE": "#results > div", @@ -123,6 +131,7 @@ "头条搜索": { "host": "so.toutiao.com", "url": "return (fun.lp() == '/search')", + "history": true, "pager": { "nextL": "//div[contains(@class, '-pagination')]/a[string()='下一页']", "pageE": "div[class*='-result-list'] > .result-content[data-i]", @@ -145,6 +154,7 @@ "host": "www.wuzhuiso.com", "url": "if (fun.isMobile()) {return}; fun.isUrlC(); return (fun.lp() == '/s' && !fun.indexOF('a=image','s'))", "style": ".so-lazyimg{opacity: 1 !important;} .result {border: none !important;}", + "history": true, "noReferer": true, "pager": { "nextL": "#snext", @@ -159,6 +169,7 @@ "host": "www.so.com", "url": "/^\\/.+/", "style": "img {opacity: 1 !important;}", + "history": true, "pager": { "nextL": "a#snext", "pageE": "ul.result > li, style:not(src)", @@ -187,6 +198,7 @@ "Startpage 搜索": { "host": ["startpage.com","www.startpage.com"], "url": "/\\/search/", + "history": true, "pager": { "nextL": "js; return fun.getNextF('//div[contains(@class, 'pagination ')]/form[./button[@class='pagination__next-prev-button next']]')", "pageE": "section.w-gl--desktop > div", @@ -197,9 +209,10 @@ "Yandex 搜索": { "host": ["yandex.com","yandex.ru","yandex.ua","yandex.by","yandex.kz","yandex.uz","yandex.com.tr"], "url": "return (fun.lp() == '/search/')", + "history": true, "pager": { "nextL": "a.pager__item_kind_next", - "pageE": "#search-result > *, style", + "pageE": "#search-result, style", "replaceE": ".pager" } }, @@ -217,6 +230,7 @@ "Yahoo 搜索": { "host": "search.yahoo.com", "url": "/\\/search/", + "history": true, "pager": { "nextL": ".pagination a.next", "pageE": "#web ol > li", @@ -227,6 +241,7 @@ "Yahoo 搜索 - JP": { "host": "search.yahoo.co.jp", "url": "/\\/search/", + "history": true, "pager": { "nextL": ".Pagenation__next > a", "pageE": ".Contents__innerGroupBody > div", @@ -247,6 +262,7 @@ "Ecosia 搜索": { "host": "www.ecosia.org", "url": "return (fun.lp() == '/search')", + "history": true, "pager": { "nextL": "nav.pagination a[aria-label='Next page']", "pageE": "section.mainline > div:not(.related-queries)", @@ -266,6 +282,7 @@ "host": ["ask.com","www.ask.com"], "url": "return (fun.lp() == '/web')", "style": ".PartialSearchResults-heading {display: none !important;}", + "history": true, "pager": { "nextL": "li.PartialWebPagination-next > a", "pageE": ".PartialSearchResults.mid", @@ -276,6 +293,7 @@ "WebCrawler 搜索": { "host": "www.webcrawler.com", "url": "return (fun.indexOF('qc=web','s') || !fun.indexOF('qc=','s'))", + "history": true, "pager": { "nextL": "a.pagination__num--next", "pageE": ".web-google__result", @@ -285,12 +303,27 @@ "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'] {display: none !important;}", + "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": "movie.douban.com", "url": "return (fun.indexOF('/subject/') && fun.indexOF('/comments'))", @@ -2331,6 +2364,7 @@ "host": ["www.haoman6.com","www.g-lens.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, "pager": { "nextL": "js;if (fun.getCSS('a.rd-aside__item.j-rd-next')) return location.origin + fun.getCSS('a.rd-aside__item.j-rd-next').getAttribute('_href')", "pageE": ".rd-article-wr > div", @@ -2359,6 +2393,7 @@ "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;}", + "history": true, "pager": { "nextL": "//footer//a[./label[text()='下一章']]", "pageE": ".lazyBox", @@ -2384,6 +2419,7 @@ "言耽社": { "host": "yandanshe.com", "url": "/^\\/\\d+\\//", + "history": true, "pager": { "nextL": "id('navigation')/ul/li[./span]/following-sibling::li[1]/a", "pageE": ".post-content", @@ -2406,6 +2442,7 @@ "漫画皮": { "host": "www.manhuapi.com", "url": "/\\/chapter\\//", + "history": true, "pager": { "nextL": "//div[@class='page']/a[text()='下一页' or text()='下一章']", "pageE": ".mh_list img[src]", @@ -2464,6 +2501,7 @@ "木马漫画 - 阅读页": { "host": "www.omyschool.com", "url": "/\\/article_detail\\//", + "history": true, "pager": { "type": 6, "nextL": "a.nav_button.next", @@ -2486,6 +2524,7 @@ "host": ["www.webmota.com","cn.webmota.com","cn.baozimh.com"], "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, "pager": { "nextL": ".next_chapter > a", "pageE": ".comic-contain > amp-img", @@ -2497,6 +2536,7 @@ "host": ["www.gllmh8.com","m.gllmh8.com"], "url": "/\\/\\d+(_\\d+)?\\.html$/", "style": ".article-content img {visibility: visible; opacity: 1;} .swiper-container {display: none !important;}", + "history": true, "pager": { "nextL": "li.thisclass+li > a", "pageE": ".article-content p, #newsArticle p", @@ -2526,6 +2566,7 @@ "起点中文 - 阅读页": { "host": "read.qidian.com", "style": ".admire-wrap {display: none !important;}", + "history": true, "pager": { "nextL": "a[id$='chapterNext']", "pageE": ".main-text-wrap > div:not(.admire-wrap)", @@ -2536,6 +2577,7 @@ "七猫中文 - 阅读页": { "host": "www.qimao.com", "url": "return (fun.indexOF(/\\/shuku\\/\\d+-\\d+\\//) || fun.indexOF('/reader/index/'))", + "history": true, "pager": { "nextL": "//div[@class='reader-footer']/a[text()='下一章']", "pageE": ".article > p", @@ -2573,10 +2615,31 @@ "scrollD": 900 } }, + "下书网": { + "host": "mip.xiashucom.com", + "url": "/\\/yue_/", + "history": true, + "pager": { + "nextL": "a.pt-nextchapter", + "pageE": ".pt-read-text > p", + "replaceE": ".pt-read-btn" + } + }, + "下书网 - 手机版": { + "host": "wap.xiashucom.com", + "url": "/\\/yue_/", + "history": true, + "pager": { + "nextL": ".pt-nextchapter > a", + "pageE": "#pt-pop", + "replaceE": ".border-c" + } + }, "御书网": { "host": "www.yushubo.com", "url": "return (fun.indexOF('/read_'))", "style": ".readbg.mt10 {display: none !important;}", + "history": true, "pager": { "nextL": "//div[contains(@class, 'articlebtn')]/a[contains(text(), '下一页') or contains(text(), '下一章')]", "pageE": "#BookText", @@ -2609,6 +2672,7 @@ "host": "www.soxscc.org", "url": "if (fun.indexOF(/\\/\\d{4,}.html/)) {fun.xs_bF(fun.getAllCSS('.content'), [/(
    )?( )+您可以在百度.+?最新章节!/, '']); return true}", "style": ".content > p, img {display: none !important;}", + "history": true, "pager": { "nextL": "//font[contains(text(), '下一章')]/following-sibling::a[1]", "pageE": ".content", @@ -2623,6 +2687,7 @@ "owlook": { "host": ["www.owlook.com.cn","www1.owlook.com.cn"], "url": "return (fun.lp() == '/owllook_content')", + "history": true, "pager": { "nextL": "//div[@class='pre_next']/a[contains(text(), '下一')]", "pageE": "#content", @@ -2633,6 +2698,7 @@ "无错小说网": { "host": "www.xineyby.com", "url": "return (fun.indexOF('/read/'))", + "history": true, "pager": { "nextL": "id('footlink')/a[contains(text(), '下一页')]", "pageE": "#contents", @@ -2655,6 +2721,7 @@ "无弹窗小说网": { "host": "www.530p.com", "url": "return (fun.indexOF(/\\/\\d{4,}\\.htm/))", + "history": true, "pager": { "nextL": "#nextLink", "pageE": "#cp_content", @@ -2666,6 +2733,7 @@ "host": "m.xiaoshuo77.net", "url": "if (fun.indexOF('.html')) {fun.xs_bF(fun.getAllCSS('#novelcontent'), [/(
    )?( )+内容未完,下一页.*$|【本章阅读.*$/, '
    ']); return true}", "style": "#novelcontent > p, img {display: none !important;}", + "history": true, "pager": { "nextL": ".page_chapter a.p4", "pageE": "#novelcontent", @@ -2679,6 +2747,7 @@ "铅笔小说": { "host": "www.23qb.com", "url": "if (fun.indexOF(/\\/book\\/\\d+\\/.+\\.html/)) {fun.xs_bF(fun.getAllCSS('#mlfy_main_text > *'), [/(继续下一页).+|铅笔小说.+/, '']); return true}", + "history": true, "pager": { "nextL": "js;return (location.origin + ReadParams.url_next)", "pageE": "id('TextContent')/p | //script[contains(text(), 'ReadParams')]", @@ -2705,6 +2774,7 @@ "皇帝之家": { "host": "www.huangdizhijia.com", "url": "/chapter-\\d+\\.html/", + "history": true, "pager": { "nextL": "//div[contains(@class, 'tag-view-type')]//a[text()='下一章']", "pageE": ".tagCol > p", @@ -2724,6 +2794,7 @@ "轻之文库": { "host": "www.linovel.net", "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(), '下一页')]", "pageE": ".rank-book-list > div", @@ -2735,6 +2806,7 @@ "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;}", + "history": true, "pager": { "nextL": "id('preAndNextBar')/a[contains(text(), '下一章')]", "pageE": "#contentsource > p", @@ -2746,6 +2818,7 @@ "哔哩轻小说": { "host": "www.linovelib.com", "url": "return (fun.indexOF(/\\/novel\\/\\d+\\/.+\\.html/))", + "history": true, "pager": { "nextL": "//p[@class='mlfy_page']/a[contains(text(), '下一页') or contains(text(), '下一章')]", "pageE": "#mlfy_main_text > *", @@ -2782,6 +2855,7 @@ "哔哩轻小说 - 手机版": { "host": "w.linovelib.com", "url": "return (fun.indexOF(/\\/novel\\/\\d+\\/.+\\.html/))", + "history": true, "pager": { "nextL": "js;if (ReadParams) {return (location.origin + ReadParams.url_next)}; return '';", "pageE": "id('apage')/div | //body/script[contains(text(), 'var ReadParams')]", @@ -2815,6 +2889,7 @@ "AO3-阅读页": { "host": "archiveofourown.org", "url": "return (fun.indexOF(/\\/works\\/\\d+\\/chapters\\//))", + "history": true, "pager": { "nextL": "li.chapter.next a", "pageE": "#workskin > div", @@ -3226,6 +3301,7 @@ "Wiley Online Library + ACS (Publications)": { "host": ["pubs.acs.org","onlinelibrary.wiley.com"], "url": "/\\/doSearch/", + "history": true, "pager": { "nextL": "a.pagination__btn--next", "pageE": "ul.items-results > *", @@ -3236,6 +3312,7 @@ "Library Genesis": { "host": "/libgen/", "url": "return (fun.lp() == '/search.php')", + "history": true, "pager": { "nextL": "//font/a[contains(text(), '►')]", "pageE": "table[rules='rows'] > tbody > tr:nth-of-type(n+2), .paginator+script:not([src])", @@ -3259,6 +3336,7 @@ "Z-Library": { "host": "/(\\dlib|b-ok\\d?|booksc|z-lib)\\./", "url": "/\\/s\\//", + "history": true, "pager": { "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", "pageE": "id('searchResultBox')/div | //script[contains(string(), 'pagerOptions')]", @@ -3281,6 +3359,7 @@ "X-MOL": { "host": "www.x-mol.com", "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", @@ -3356,6 +3435,7 @@ "百度学术": { "host": "xueshu.baidu.com", "url": "return (fun.lp() == '/s')", + "history": true, "pager": { "nextL": "id('page')/a[./i[@class='c-icon-pager-next']]", "pageE": "#bdxs_result_lists > div.result", @@ -3366,6 +3446,7 @@ "百度学术 - journal": { "host": "xueshu.baidu.com", "url": "/journal\\/navigation/", + "history": true, "pager": { "nextL": "a.res-page-next", "pageE": "#journaldetail > div", @@ -3376,6 +3457,7 @@ "百度学术 - paper": { "host": "xueshu.baidu.com", "url": "/paper\\/show/", + "history": true, "pager": { "type": 2, "nextL": "div:not([style*='display: none']) > .more_btn", @@ -3385,6 +3467,7 @@ }, "谷歌学术": { "host": ["scholar.google.com", "xs2.dailyheadlines.cc"], + "history": true, "pager": { "nextL": "//a[./span[contains(@class, 'next')]]", "pageE": "#gs_res_ccl_mid > *", @@ -3395,6 +3478,7 @@ }, "谷歌学术 - 镜像站": { "host": "sc.panda321.com", + "history": true, "pager": { "nextL": "//a[./span[contains(@class, 'next')]]", "pageE": "#gs_res_ccl_mid > *", @@ -3410,6 +3494,7 @@ "host": ["www.bing.com","cn.bing.com"], "url": "return (fun.lp() == '/academic/search')", "style": "li.aca_algo_count {display: none !important;}", + "history": true, "pager": { "nextL": "a.sb_pagN", "pageE": "#b_results > li.aca_algo", @@ -3481,6 +3566,7 @@ "host": "www.w3cschool.cn", "url": "return (location.pathname.split('/').length > 2)", "style": ".widget-body, #rfbanner {display: none !important;}", + "history": true, "pager": { "nextL": ".next-link > a", "pageE": "#pro-mian-header, .content-bg", @@ -3491,6 +3577,7 @@ "host": "www.w3school.com.cn", "url": "return (location.pathname.split('/').length > 2)", "style": "#maincontent h1:not(:nth-of-type(1)) {margin-top: 30px;}", + "history": true, "pager": { "type": 3, "nextL": "js;let next = fun.getCSS('li.next > a[href]'); if (next && next.href.indexOf('/index.') === -1) {return next.href;}; return ''", @@ -3516,6 +3603,7 @@ "菜鸟教程 - 文章页": { "host": "www.runoob.com", "url": "/^\\/w3cnote\\/.+\\.html$/", + "history": true, "pager": { "nextL": "//ul[@class='membership']/li[not(a)]/following-sibling::li[1]/a", "pageE": ".article-heading, .article-body", @@ -3528,6 +3616,7 @@ "host": "www.runoob.com", "url": "if (location.pathname.split('/').length > 2 && fun.getCSS('#leftcolumn')) return true", "style": "#comments, #postcomments, #respond, #footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;}", + "history": true, "pager": { "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']", @@ -3651,6 +3740,7 @@ "host": "developer.chrome.com", "url": "/^\\/docs\\/.+\\/.+\\//", "style": ".visibility-hidden {visibility: unset !important;} h1.type--h2 {margin-top: 80px;}", + "history": true, "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']/parent::div/following-sibling::div[@class='navigation-tree__nested']/a[@class='navigation-tree__link'][not(@target='_blank')]", "pageE": "main article > *", @@ -3901,6 +3991,7 @@ "OI-Wiki": { "host": "oi-wiki.org", "style": "blockquote.page-copyright, h2#__comments, form#gitalk-form {display: none !important;}", + "history": true, "pager": { "nextL": "li.md-nav__item.md-nav__item--active.md-nav__item--nested li.md-nav__item--active+li a", "pageE": "article.md-content__inner", @@ -3912,6 +4003,7 @@ "host": "www.dusaiphoto.com", "url": "/\\/article\\//", "style": "h1.article-title {margin-top: 80px;}", + "history": true, "pager": { "nextL": "a.hvr-bounce-to-left", "pageE": "#main > .mt-4 >div > .mb-4, #article_body", @@ -4330,15 +4422,6 @@ "scrollD": 1800 } }, - "下书网": { - "host": "mip.xiashucom.com", - "url": "/\\/yue_/", - "pager": { - "nextL": "a.pt-nextchapter", - "pageE": ".pt-read-text > p", - "replaceE": ".pt-read-btn" - } - }, "二手车之家": { "host": "www.che168.com", "url": "return (fun.lp() != '/' && !fun.indexOF('/dealer/'))", From ae9a4653aecb97e0af452e3fe79c9742762981a4 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 22 Mar 2022 17:47:36 +0800 Subject: [PATCH 0049/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=BC=82?= =?UTF-8?q?=E6=98=9F=E5=B7=A5=E5=8E=82=20Mod]=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 472771e79..6afdefe42 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1677,6 +1677,15 @@ "scrollD": 3000 } }, + "异星工厂 Mod": { + "host": "mods.factorio.com", + "url": "return (!fun.indexOF(/^\\/mod\\//))", + "pager": { + "nextL": "a.active+a:not(.disabled)", + "pageE": ".mod-list", + "replaceE": "//a[contains(@class,'active')]/parent::div" + } + }, "Steam 创意工坊 - 项目列表": { "host": "steamcommunity.com", "url": "return (fun.indexOF('/workshop/browse'))", From c0ce75854651fb0a5e0db8e93c529c341e0d0f30 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 23 Mar 2022 09:05:22 +0800 Subject: [PATCH 0050/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Javhd]=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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 6afdefe42..3f548512a 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4737,6 +4737,15 @@ "replaceE": ".pagination" } }, + "Javhd": { + "host": "javhd.today", + "url": "return (fun.lp() != '/' && fun.lp() != '/channels/')", + "pager": { + "nextL": ".pagination > li.active + li > a", + "pageE": "ul.videos, ul.playlists, div.models", + "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 9c3576a201724f1ff51dc3df18d370331dfe30b3 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 23 Mar 2022 13:33:39 +0800 Subject: [PATCH 0051/1272] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20fastgit=20?= =?UTF-8?q?=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 230ffad1c..0a0be3a85 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -3,14 +3,14 @@ // @name:zh-CN Github 增强 - 高速下载 // @name:zh-TW Github 增強 - 高速下載 // @name:en Github Enhancement - High Speed Download -// @version 1.9.0 +// @version 1.9.1 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-TW 高速下載 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、項目列表單文件快捷下載 (☁) // @description:en High-speed download of Git Clone/SSH, Release, Raw, Code(ZIP) and other files, project list file quick download (☁) // @match *://github.com/* -// @match *://hub.fastgit.org/* +// @match *://hub.fastgit.xyz/* // @icon https://i.loli.net/2021/03/30/ULV9XunaHesqGIR.png // @grant GM_registerMenuCommand // @grant GM_unregisterMenuCommand @@ -34,6 +34,7 @@ ['https://gh.xiu.workers.dev/https://github.com', '美国 2', '美国 Cloudflare CDN - 该公益加速源由 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'], ['https://ghgo.feizhuqwq.workers.dev/https://github.com', '美国 3', '美国 Cloudflare CDN'], ['https://git.yumenaka.net/https://github.com', '美国 4', '美国 圣何塞'], ['https://gh.ddlc.top/https://github.com', '美国 5', '美国 Cloudflare CDN - 该公益加速源由 @mtr-static-official 提供'], @@ -44,10 +45,11 @@ ], clone_url = [ ['https://github.do/https://github.com', '国内', '中国 国内 - 该公益加速源由 小麦云服 提供'], - //['https://gitclone.com', '国内', ''], + //['https://gitclone.com', '国内', '中国 国内'], ['https://api.mtr.pub', '香港', '中国 香港 - 该公益加速源由 @mtr-static-official 提供'], ['https://hub.fastgit.xyz', '日本', '日本 东京 - 该公益加速源由 FastGit 提供'], ['https://ghproxy.com/https://github.com', '韩国', '韩国 首尔'], + ['https://gh.gcdn.mirr.one', '俄罗斯', '俄罗斯 G-Core Labs CDN'], ['https://hub.0z.gs', '美国', '美国 Cloudflare CDN'], ['https://hub.shutcm.cf', '美国', '美国 Cloudflare CDN'] ], @@ -68,6 +70,7 @@ ['https://raw.fastgit.org', '日本 3', '日本 东京 - 该公益加速源由 FastGit 提供 注意: - 单个文件太大时可能会提示超时(实时获取中),请重试。'], //['https://cdn.jsdelivr.net/gh', '美国', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], ['https://gcore.jsdelivr.net/gh', '其他 1', '该公益加速源由 JSDelivr 提供 适合 [移动/电信] 用户,移动走香港,电信走日本。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], + //['https://raw-gh.gcdn.mirr.one', '俄罗斯', '俄罗斯 G-Core Labs CDN'], ['https://raw.githubusercontents.com', '其他 2', '该加速源有香港、新加坡、美国等服务器,并不固定。 - 该加速源不支持大小超过 1 MB 的文件。'] ], svg = [ @@ -153,7 +156,7 @@ // 循环生成 HTML 标签 for (let i=0;i -1) url = url.replace('https://download.fastgit.org','https://archive.fastgit.org') _html += `${download_url[i][1]}` @@ -174,7 +177,7 @@ for (let i=0;i -1) url = url.replace('https://download.fastgit.org','https://archive.fastgit.org') _html += `
  • ${svg[0]}Download ZIP ${download_url[i][1]}
  • ` From 1c9fc142467abc21a7f0372c457b2ec3e059ee77 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 23 Mar 2022 14:11:56 +0800 Subject: [PATCH 0052/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Ventoy=20?= =?UTF-8?q?=E8=AE=BA=E5=9D=9B]=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 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 3f548512a..412175aa2 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4575,6 +4575,25 @@ "scrollD": 2000 } }, + "Ventoy 论坛": { + "host": "forums.ventoy.net", + "url": "/^\\/(forumdisplay|search)\\.php/", + "pager": { + "nextL": ".pagination_next", + "pageE": ".tborder > tbody > tr.inline_row", + "replaceE": ".pagination" + } + }, + "Ventoy 论坛 - 帖子内": { + "host": "forums.ventoy.net", + "url": "/^\\/showthread\\.php/", + "thread": true, + "pager": { + "nextL": ".pagination:not(#breadcrumb_multipage_popup) .pagination_next", + "pageE": "#posts > *", + "replaceE": ".pagination:not(#breadcrumb_multipage_popup)" + } + }, "学佛网": { "host": "www.xuefo.tw", "pager": { From 059ed97c1fbb408f0732c9aab7fbaba0f98ee1d8 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 23 Mar 2022 14:19:08 +0800 Subject: [PATCH 0053/1272] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[=E6=9E=9C?= =?UTF-8?q?=E6=A0=B8=E5=89=A5=E5=A3=B3-=E9=A6=96=E9=A1=B5]=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 412175aa2..6a923ffb6 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -3028,9 +3028,9 @@ "url": "return (fun.lp() == '/' && !location.search)", "pager": { "type": 2, - "nextL": ".load-more", + "nextL": ".active .load-more", "interval": 1000, - "scrollD": 5000 + "scrollD": 4000 } }, "果核剥壳 - 分类/搜索页": { From 07016edb3434bebe9a5a9537d0808563f3139a44 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 24 Mar 2022 00:35:23 +0800 Subject: [PATCH 0054/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Searxng=20?= =?UTF-8?q?=E8=81=9A=E5=90=88=E6=90=9C=E7=B4=A2]=20=E6=94=AF=E6=8C=81;=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[Startpage=20=E6=90=9C=E7=B4=A2]=20?= =?UTF-8?q?=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 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 6a923ffb6..059571e64 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -195,12 +195,23 @@ "url": "fun.isUrlC(); if (fun.getCookie('av') != '1') {document.cookie='av=1; expires=Thu, 18 Dec 2031 12:00:00 GMT; path=/'; location.reload();}", "history": false }, + "Searxng 搜索": { + "host": "searx.owlook.com.cn", + "url": "/^\\/search/", + "history": false, + "pager": { + "nextL": "js; return fun.getNextF('.next_page')", + "pageE": "article.result", + "replaceE": "#pagination", + "scrollD": 2000 + } + }, "Startpage 搜索": { "host": ["startpage.com","www.startpage.com"], "url": "/\\/search/", - "history": true, + "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", "scrollD": 2000 From 1221d13e71104db94325d85763a4c5f544054857 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 24 Mar 2022 09:55:38 +0800 Subject: [PATCH 0055/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E7=BB=85?= =?UTF-8?q?=E5=A3=AB=E4=BB=93=E5=BA=93]=E3=80=81[7mmtv]=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 | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 059571e64..807f0d4eb 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1536,6 +1536,7 @@ }, "3DM MOD站": { "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')]", @@ -1711,6 +1712,7 @@ "host": "steamcommunity.com", "url": "return (fun.indexOF(/eventcomments\\/\\d/))", "style": ".forum_paging_controls {display: none !important;}", + "history": true, "pager": { "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", @@ -2201,6 +2203,7 @@ "SkrBT": { "host": "/skrbt/", "url": "return (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 '';}", "pageE": "div[class='row'] > .col-md-6 > ul", @@ -2331,6 +2334,7 @@ "伪射手网": { "host": "assrt.net", "url": "return (fun.lp() === '/sub/')", + "history": true, "pager": { "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)", @@ -2969,6 +2973,7 @@ "host": "www.macwk.com", "url": "fun.isUrlC(); return (fun.indexOF(/^\\/(soft|article)\\/.+\\/p\\d/))", "style": ".app-content-bottom {display: none !important;}", + "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" @@ -3201,6 +3206,7 @@ "腾龙工作室 - 动态加载": { "host": "www.tenlonstudio.com", "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)", "pageE": "li.post-list-item", @@ -4042,6 +4048,7 @@ "host": "www.landian.vip", "url": "return (fun.lp() != '/' && !fun.indexOF('/archives/') && !fun.indexOF('/search/'))", "style": ".pagination {display: none !important;}", + "history": true, "pager": { "nextL": "js;return fun.getNextUPN(/(?<=\\/page\\/)\\d+/, /\\/page\\/\\d+/, '/page/', '', '2', fun.getCSS('.pagination > button.end').textContent)", "pageE": ".content li.color-border" @@ -4102,6 +4109,7 @@ "观察者网": { "host": "www.guancha.cn", "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)", "pageE": ".column-list > li", @@ -4153,6 +4161,7 @@ "host": "/www\\.upyunso[0-9]?\\.com/", "url": "return (fun.lp() == '/search.html')", "style": ".pager-wrap {display: none !important;}", + "history": true, "pager": { "nextL": "js;return fun.getNextUP('page=', /page=\\d+/)", "pageE": "#res_list > div" @@ -4295,6 +4304,7 @@ "书签地球": { "host": "www.bookmarkearth.com", "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)", "pageE": ".document-piece", @@ -4305,6 +4315,7 @@ "书签地球 - 搜索页": { "host": "www.bookmarkearth.com", "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+/)", "pageE": ".document-piece", @@ -4825,6 +4836,20 @@ "replaceE": "[id='pagenation']" } }, + "绅士仓库": { + "host": "cangku.icu", + "url": "fun.isUrlC(); return (fun.lp() == '/' || fun.indexOF('/category/'))", + "pager": { + "type": 6, + "nextL": "js;return fun.getNextEP('li.number.active+li.number', 'page=', /page=\\d+/)", + "pageE": "#post-list > .row, .category-post > .row", + "replaceE": ".el-pager", + "loadTime": 1000 + }, + "function": { + "bF": "return fun.src_bF(pageE, [1,'div[data-src]','data-src'])" + } + }, "美女推 - 图片页": { "host": "mvtui.com", "url": "/\\.html/", @@ -5493,5 +5518,20 @@ "replaceE": ".pageart > ul", "scrollD": 3000 } + }, + "7mmtv": { + "host": ["7mmtv.tv","cc4871.com"], + "url": "return (fun.lp() != '/' && !fun.indexOF('_content/'))", + "pager": { + "nextL": "li.page-item.current + li.page-item > a", + "pageE": ".latest-korean-slider > .row:first-of-type > div", + "replaceE": ".pagination-row" + } + }, + "7mmtv - 漫画": { + "host": "gw24sy.cc4871.com", + "url": "if (fun.indexOF('/hcomic_content/')) {let _img=''; for (let i=1;i<=Large_cgurl.length;i++){_img += `
  • `;}; document.getElementById('show_cg_html').innerHTML = _img; return true;}", + "style": ".video-introduction-images-row > center > *:not(#content) {display: none !important;}", + "hiddenPN": true } } From 9074ca5c0b3bafe671037912fc1122cf2a78b737 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 24 Mar 2022 10:25:10 +0800 Subject: [PATCH 0056/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[byrutor]=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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 807f0d4eb..a1f80c17b 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1798,6 +1798,15 @@ "replaceE": ".gensmall[align='right']" } }, + "byrutor": { + "host": "byrut.org", + "url": "return (!fun.indexOF(/^\\/\\d+-/))", + "pager": { + "nextL": "//span[@class='pnext']/parent::a", + "pageE": ".short_item", + "replaceE": ".bottom-page" + } + }, "GBAtemp - 帖子内": { "host": "gbatemp.net", "url": "/^\\/threads\\//", From 8e44558adf8ae4ce07afd633759bc087abbe4d81 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 24 Mar 2022 13:16:18 +0800 Subject: [PATCH 0057/1272] =?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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index ffb519bbc..6355eb3c9 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.4.4 +// @version 5.4.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...) 等網站~ @@ -232,15 +232,17 @@ } else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) { console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 103; } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { - if (getAllCSS('article').length > 2 && getCSS('#nav-below, nav.navigation, nav.pagination, nav.paging-navigation')) { + if (getAllCSS('article[class]').length > 2 && getCSS('#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation')) { if (getCSS('a.next')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)`); return 104; + } else if (getCSS('a[rel="next"], a[aria-label="Next Page"]')) { + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a[rel="next"])`); return 105; } else if (getCSS('li.next-page > a')) { - console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)`); return 105; + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)`); return 106; } else if (getCSS('.nav-previous a')) { - console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)`); return 106; - } else if (getXpath('//nav[@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]')) { - console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)`); return 107; + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)`); return 107; + } else if (getXpath('//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]', getCSS('#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation'))) { + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)`); return 108; } } } 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) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { @@ -278,12 +280,14 @@ DBSite.begin.url(); break; case 104: // < 部分使用 WordPress 的网站 (a.next) > DBSite.wp_article.url('a.next'); break; - case 105: // < 部分使用 WordPress 的网站 (li.next-page > a) > + case 105: // < 部分使用 WordPress 的网站 (a[rel="next"]) > + DBSite.wp_article.url('a[rel="next"], a[aria-label="Next Page"]'); break; + case 106: // < 部分使用 WordPress 的网站 (li.next-page > a) > DBSite.wp_article.url('li.next-page > a'); break; - case 106: // < 部分使用 WordPress 的网站 (旧文章) > + case 107: // < 部分使用 WordPress 的网站 (旧文章) > DBSite.wp_article.url('.nav-previous a'); break; - case 107: // < 部分使用 WordPress 的网站 (下一页) > - DBSite.wp_article.url('//nav[@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]'); break; + case 108: // < 部分使用 WordPress 的网站 (下一页) > + DBSite.wp_article.url('//nav[@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")] | //ul[contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]'); break; case 200: // < 所有使用 笔趣阁 模板的小说网站 > DBSite.biquge.url(); break; } @@ -590,8 +594,8 @@ function: { wp_article: { url: function(nextL) {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, pager: { - pageE: 'article', - replaceE: '#nav-below, nav.navigation, nav.pagination, nav.paging-navigation', + pageE: 'article[class]', + replaceE: '#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation', scrollD: 2000 } }, // Wordpress 的 nav.navigation 规则 From 118b76c2f2a8cc146b831f0533dd6cf553b2646f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 24 Mar 2022 15:21:22 +0800 Subject: [PATCH 0058/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E8=B1=86?= =?UTF-8?q?=E7=93=A3=20-=20=E7=89=87=E5=8D=95/=E6=A0=87=E7=AD=BE=E7=AD=89]?= =?UTF-8?q?=20=E6=94=AF=E6=8C=81;=20=E4=BC=98=E5=8C=96=20[=E8=B1=86?= =?UTF-8?q?=E7=93=A3]=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 | 55 +++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index a1f80c17b..10de418b2 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -337,77 +337,94 @@ }, "豆瓣 - 短评": { "host": "movie.douban.com", - "url": "return (fun.indexOF('/subject/') && fun.indexOF('/comments'))", + "url": "/^\\/subject\\/\\d+\\/comments/", "pager": { "nextL": "a.next", - "pageE": "#comments > .comment-item", + "pageE": ".comment-item", "replaceE": "#paginator" } }, "豆瓣 - 分集短评": { "host": "movie.douban.com", - "url": "return (fun.indexOF('/subject/') && (fun.indexOF('/episode') || fun.indexOF('/tv_discuss')))", + "url": "/^\\/subject\\/\\d+\\/(episode|tv_discuss)/", "pager": { "nextL": "link[rel='next']", - "pageE": "#comments > div", + "pageE": "#comments", "replaceE": ".paginator" } }, "豆瓣 - 剧评影评": { "host": "movie.douban.com", - "url": "return (fun.indexOF('/subject/') && fun.indexOF('/reviews'))", + "url": "/^\\/subject\\/\\d+\\/reviews/", "pager": { "nextL": "link[rel='next']", - "pageE": ".review-list > div", + "pageE": ".review-list", "replaceE": ".paginator" } }, - "豆瓣 - 看过的电影": { + "豆瓣 - 在看/想看/看过的电影": { "host": "movie.douban.com", - "url": "return (fun.indexOF('/people/') && fun.indexOF('/collect'))", + "url": "/^\\/people\\/\\d+\\/(do|wish|collect)/", "pager": { "nextL": "link[rel='next']", - "pageE": ".grid-view > div", + "pageE": ".grid-view", "replaceE": ".paginator" } }, "豆瓣 - 作品": { "host": "movie.douban.com", - "url": "return (fun.indexOF('/celebrity/') && fun.indexOF('/movies'))", + "url": "/^\\/celebrity\\/\\d+\\/movies/", "pager": { "nextL": "link[rel='next']", "pageE": ".grid_view > ul > li", "replaceE": ".paginator" } }, + "豆瓣 - 片单": { + "host": "www.douban.com", + "url": "/^\\/doulist\\//", + "pager": { + "nextL": "link[rel='next']", + "pageE": ".doulist-item", + "replaceE": ".paginator" + } + }, + "豆瓣 - 标签": { + "host": "www.douban.com", + "url": "/^\\/tag\\//", + "pager": { + "nextL": "link[rel='next']", + "pageE": ".article > .mod", + "replaceE": ".paginator" + } + }, "豆瓣 - 小组讨论精选": { "host": "www.douban.com", - "url": "return (fun.indexOF('/group/explore'))", + "url": "/^\\/group\\/explore/", "pager": { "nextL": "span.next > a", - "pageE": "#content .article > div > .channel-item", + "pageE": ".channel-item", "replaceE": ".paginator" } }, "豆瓣 - 小组/讨论区 - 帖子内": { "host": ["www.douban.com", "movie.douban.com"], - "url": "return (fun.indexOF('/group/topic/') || fun.indexOF(/\\/subject\\/\\d+\\/discussion\\/\\d+/))", + "url": "return (fun.indexOF('/group/topic/') || fun.indexOF(/^\\/subject\\/\\d+\\/discussion\\/\\d+/))", "thread": true, "pager": { - "nextL": "span.next > a", - "pageE": "#comments > .comment-item", + "nextL": "link[rel='next']", + "pageE": ".comment-item", "replaceE": ".paginator", "scrollD": 2500 } }, "豆瓣 - 小组/讨论区": { "host": ["www.douban.com", "movie.douban.com"], - "url": "return ((fun.indexOF('/group/') || fun.indexOF('/subject/')) && fun.indexOF('/discussion'))", + "url": "/^\\/(group|subject)\\/\\d+\\/discussion/", "pager": { - "nextL": "span.next > a", + "nextL": "link[rel='next']", "pageE": "table.olt > tbody > tr:not(:first-of-type)", - "replaceE": ".paginator", - "scrollD": 1000 + "replaceE": ".paginator" } }, "烂番茄": { From 186f53edcbafa61d8dc3f15d5af166aa46e2d739 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 25 Mar 2022 12:51:44 +0800 Subject: [PATCH 0059/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Jable]=E3=80=81?= =?UTF-8?q?[=E7=BB=85=E5=A3=AB=E4=BB=93=E5=BA=93=20-=20=E6=8E=92=E8=A1=8C/?= =?UTF-8?q?=E4=BD=9C=E8=80=85=E5=A2=99]=20=E6=94=AF=E6=8C=81;=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20[=E7=BB=85=E5=A3=AB=E4=BB=93=E5=BA=93]=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 | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 10de418b2..dc650be33 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4813,6 +4813,16 @@ "replaceE": ".pagination" } }, + "Jable.TV": { + "host": "jable.tv", + "url": "return (fun.lp() != '/' && !fun.indexOF('/videos/'))", + "history": false, + "pager": { + "nextL": "js; let next = fun.getXpath(\"//li[@class='page-item' and ./span[contains(@class,'active')]]/following-sibling::li/a\"); if (next) {return `${location.origin}${location.pathname}?mode=async&function=get_block&block_id=${next.dataset.blockId}&${next.dataset.parameters.replace('from_videos+','from_videos=' + next.textContent + '&').replaceAll(':','=').replaceAll(';','&').replaceAll('+','&')}&_=${+new Date()}`;}", + "pageE": "section > .row", + "replaceE": ".pagination" + } + }, "Javbooks": { "host": ["javbooks.com","jmvbt.com","/^[a-z]{2}\\d{4}\\.com$/"], "url": "return (document.title.indexOf('Javbooks') > -1 && !fun.indexOF('/content_'))", @@ -4868,14 +4878,22 @@ "pager": { "type": 6, "nextL": "js;return fun.getNextEP('li.number.active+li.number', 'page=', /page=\\d+/)", - "pageE": "#post-list > .row, .category-post > .row", + "pageE": ".post-list > .row, .category-post > .row", "replaceE": ".el-pager", - "loadTime": 1000 + "loadTime": 1500 }, "function": { "bF": "return fun.src_bF(pageE, [1,'div[data-src]','data-src'])" } }, + "绅士仓库 - 排行/作者墙": { + "host": "cangku.icu", + "url": "/^\\/(rank|author)/", + "pager": { + "type": 2, + "nextL": ".container .el-button:not(.is-loading)" + } + }, "美女推 - 图片页": { "host": "mvtui.com", "url": "/\\.html/", From 37596532434ed4366e70ac4c886fbc349f14cc37 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 25 Mar 2022 15:10:57 +0800 Subject: [PATCH 0060/1272] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[BD=20=E5=BD=B1?= =?UTF-8?q?=E8=A7=86]=20=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index dc650be33..bc158df7c 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2128,7 +2128,7 @@ } }, "BD 影视": { - "host": "www.bd2020.com", + "host": ["www.bd2020.com","www.bd2020.co"], "url": "return (fun.lp() != '/' && !fun.indexOF(/\\/d+.htm/))", "pager": { "type": 2, From d6702a96cf281beb2b2596ba801b621d183c1e31 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 25 Mar 2022 17:53:52 +0800 Subject: [PATCH 0061/1272] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[Library=20Genes?= =?UTF-8?q?is]=E3=80=81[Z-Library]=E3=80=81[JavBus]=E3=80=81[=E7=BB=85?= =?UTF-8?q?=E5=A3=AB=E4=BB=93=E5=BA=93]=20=E7=AD=89=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 | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index bc158df7c..948f3fca3 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1904,7 +1904,7 @@ }, "91 美剧网": { "host": "/mjw\\d+\\.com/", - "url": "return (!fun.indexOF('/w/') && !fun.indexOF('/dp/'))", + "url": "return (document.title.indexOf('91美剧') > -1 && !fun.indexOF('/w/') && !fun.indexOF('/dp/'))", "pager": { "nextL": ".next-page > a", "pageE": ".m-movies > article", @@ -2218,8 +2218,8 @@ } }, "琉璃神社": { - "host": "/\\.hacg\\./", - "url": "return (fun.indexOF('/wp/') && !fun.indexOF(/d+.html/))", + "host": "/^www\\.hacg\\./", + "url": "return (fun.indexOF('/wp/') && !fun.indexOF(/\\d+\\.html/))", "pager": { "nextL": "a.nextpostslink", "pageE": "article[id^='post-']", @@ -2258,7 +2258,7 @@ }, "1337x": { "host": "/1337x\\./", - "url": "return (fun.indexOF('search/'))", + "url": "return (document.title.indexOf('1337x') > -1 && fun.indexOF('search/'))", "pager": { "nextL": "//div[@class='pagination']//a[text()='>>']", "pageE": "table.table-list > tbody > tr", @@ -2268,7 +2268,7 @@ }, "RARBG": { "host": "/rarbg/", - "url": "return (fun.lp() == '/torrents.php')", + "url": "return (document.title.indexOf('RARBG') > -1 && fun.lp() == '/torrents.php')", "pager": { "nextL": "#pager_links > a[title='next page']", "pageE": "table.lista2t tr.lista2", @@ -3363,13 +3363,12 @@ }, "Library Genesis": { "host": "/libgen/", - "url": "return (fun.lp() == '/search.php')", + "url": "return (document.title.indexOf('Library Genesis') > -1 && fun.lp() == '/index.php' && fun.indexOF('req=','s'))", "history": true, "pager": { - "nextL": "//font/a[contains(text(), '►')]", - "pageE": "table[rules='rows'] > tbody > tr:nth-of-type(n+2), .paginator+script:not([src])", - "insertP": ["table[rules='rows'] > tbody",3], - "replaceE": "//td[./font/a[contains(text(), '►')]]", + "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", + "pageE": "#tablelibgen > tbody > tr, .paginator+script:not([src])", + "replaceE": ".paginator", "scriptT": 2, "scrollD": 2000 } @@ -3387,12 +3386,11 @@ }, "Z-Library": { "host": "/(\\dlib|b-ok\\d?|booksc|z-lib)\\./", - "url": "/\\/s\\//", + "url": "return (document.title.indexOf('Z-Library') > -1 && fun.indexOF('/s/'))", "history": true, "pager": { "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", - "pageE": "id('searchResultBox')/div | //script[contains(string(), 'pagerOptions')]", - "insertP": ["#searchResultBox",3], + "pageE": "id('searchResultBox') | //script[contains(string(), 'pagerOptions')]", "replaceE": ".paginator", "scriptT": 2, "scrollD": 2000 @@ -4796,7 +4794,7 @@ }, "JavBus": { "host": "/^www\\.(jav.+|.+jav)\\./", - "url": "return (document.title.indexOf('JavBus') > -1 && !fun.indexOF('/forum/'))", + "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;}", "pager": { "nextL": "#next", @@ -4874,11 +4872,11 @@ }, "绅士仓库": { "host": "cangku.icu", - "url": "fun.isUrlC(); return (fun.lp() == '/' || fun.indexOF('/category/'))", + "url": "fun.isUrlC(); if (fun.indexOF('/category/')){fun.forceTarget()}; return (fun.lp() == '/' || fun.indexOF('/category/') || fun.indexOF('/user/'))", "pager": { "type": 6, "nextL": "js;return fun.getNextEP('li.number.active+li.number', 'page=', /page=\\d+/)", - "pageE": ".post-list > .row, .category-post > .row", + "pageE": ".post-list > .row, .category-post > .row, #user-post > .row, #user-favorite > .row, #user-comment .comment-list", "replaceE": ".el-pager", "loadTime": 1500 }, From b3b5a32288940c3b6976e2941382792b626e875f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 25 Mar 2022 21:13:01 +0800 Subject: [PATCH 0062/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Github=20-=20Gi?= =?UTF-8?q?st=20-=20Search]=20=E6=94=AF=E6=8C=81;=20=E4=BC=98=E5=8C=96=20[?= =?UTF-8?q?=E7=BB=85=E5=A3=AB=E4=BB=93=E5=BA=93]=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 | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 948f3fca3..0a42ef9c5 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -4038,6 +4038,16 @@ "scrollD": 3000 } }, + "Github - Gist - Search": { + "host": "gist.github.com", + "url": "return (fun.lp() == '/search' && location.search != '')", + "pager": { + "nextL": "a.next_page", + "pageE": ".gist-snippet", + "replaceE": ".pagination", + "scrollD": 2000 + } + }, "OI-Wiki": { "host": "oi-wiki.org", "style": "blockquote.page-copyright, h2#__comments, form#gitalk-form {display: none !important;}", @@ -4871,12 +4881,13 @@ } }, "绅士仓库": { - "host": "cangku.icu", - "url": "fun.isUrlC(); if (fun.indexOF('/category/')){fun.forceTarget()}; return (fun.lp() == '/' || fun.indexOF('/category/') || fun.indexOF('/user/'))", + "host": "/^cangku\\./", + "url": "if (document.title.indexOf('绅士') == -1){return} fun.isUrlC(); return (fun.lp() == '/' || 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", + "pageE": ".post-list > .row, #user-post > .row, #user-favorite > .row, #user-comment .comment-list", "replaceE": ".el-pager", "loadTime": 1500 }, @@ -4885,8 +4896,8 @@ } }, "绅士仓库 - 排行/作者墙": { - "host": "cangku.icu", - "url": "/^\\/(rank|author)/", + "host": "/^cangku\\./", + "url": "return (document.title.indexOf('绅士') > -1 && (fun.lp() == '/rank' || fun.lp() == '/author'))", "pager": { "type": 2, "nextL": ".container .el-button:not(.is-loading)" From 8498cea02e6fac7ff5e2d056b3af86007fc3f596 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Mar 2022 08:16:19 +0800 Subject: [PATCH 0063/1272] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=88=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/ruleUpdateTime.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/Autopage/ruleUpdateTime.json b/other/Autopage/ruleUpdateTime.json index 3dfe116ec..cc403909c 100644 --- a/other/Autopage/ruleUpdateTime.json +++ b/other/Autopage/ruleUpdateTime.json @@ -1 +1 @@ -1647566527 \ No newline at end of file +1648253741 \ No newline at end of file From 761695359d99e11e3fde32d57e746eaf5cde77a6 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Mar 2022 08:31:16 +0800 Subject: [PATCH 0064/1272] =?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;=20=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 | 83 +++++++++++++++++++++++++++--------------------- 1 file changed, 46 insertions(+), 37 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 6355eb3c9..25abae199 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,13 +3,16 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.4.5 +// @version 5.4.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...) 等網站~ // @description:en Append the next page content to the bottom seamlessly (like a waterfall)~ // @match *://*/* // @connect userscript.xiu2.xyz +// @connect raw.iqiq.io +// @connect raw.fastgit.org +// @connect hk1.monika.love // @connect www.xuexiniu.com // @connect bbs.xuexiniu.com // @connect weili.ooopic.com @@ -232,16 +235,16 @@ } else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) { console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 103; } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { - if (getAllCSS('article[class]').length > 2 && getCSS('#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation')) { + if (getAllCSS('article[class]').length > 2 && getCSS('#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation, .wp-pagenavi, .pagenavi')) { if (getCSS('a.next')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)`); return 104; - } else if (getCSS('a[rel="next"], a[aria-label="Next Page"]')) { + } else if (getCSS('a[rel="next" i], a[aria-label="Next Page" i], a[aria-label="下一页"]')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a[rel="next"])`); return 105; } else if (getCSS('li.next-page > a')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)`); return 106; } else if (getCSS('.nav-previous a')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)`); return 107; - } else if (getXpath('//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]', getCSS('#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation'))) { + } else if (getXpath('//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]', getCSS('#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation, .wp-pagenavi, .pagenavi'))) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)`); return 108; } } @@ -281,13 +284,13 @@ case 104: // < 部分使用 WordPress 的网站 (a.next) > DBSite.wp_article.url('a.next'); break; case 105: // < 部分使用 WordPress 的网站 (a[rel="next"]) > - DBSite.wp_article.url('a[rel="next"], a[aria-label="Next Page"]'); break; + DBSite.wp_article.url('a[rel="next" i], a[aria-label="Next Page" i], a[aria-label="下一页"]'); break; case 106: // < 部分使用 WordPress 的网站 (li.next-page > a) > DBSite.wp_article.url('li.next-page > a'); break; case 107: // < 部分使用 WordPress 的网站 (旧文章) > DBSite.wp_article.url('.nav-previous a'); break; case 108: // < 部分使用 WordPress 的网站 (下一页) > - DBSite.wp_article.url('//nav[@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")] | //ul[contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]'); break; + DBSite.wp_article.url('//nav[@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")] | //ul[contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")] | //div[contains(@class, "pagenavi")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]'); break; case 200: // < 所有使用 笔趣阁 模板的小说网站 > DBSite.biquge.url(); break; } @@ -595,7 +598,7 @@ function: { url: function(nextL) {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, pager: { pageE: 'article[class]', - replaceE: '#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation', + replaceE: '#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation, .wp-pagenavi, .pagenavi', scrollD: 2000 } }, // Wordpress 的 nav.navigation 规则 @@ -1415,52 +1418,58 @@ function: { // 如果是原来的时间格式 或 刚安装脚本,则需要立即更新 if (typeof(GM_getValue('menu_ruleUpdateTime', '')) == 'string') update = true + let urlArr = ['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://cdn.staticaly.com/gh/XIU2/UserScript/master/other/Autopage/rules.json', + //'https://cdn.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json', + //'https://fastly.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json', + //'https://github.do/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json' + if (update) { // 手动更新(或安装后首次更新) - GM_setValue('menu_ruleUpdateTime', parseInt(+new Date()/1000)); // 写入当前时间戳 - getRulesUrl_(update, true); // 立即更新规则 - } else { // 自动更新 - if (parseInt(+new Date()/1000) - GM_getValue('menu_ruleUpdateTime', 0) > 86400) getRulesUrl_(); // 距离上次检查更新超过 24 小时,则对比远程时间戳 + getRulesUrl_(true); + } else if (parseInt(+new Date()/1000) - GM_getValue('menu_ruleUpdateTime', 0) > 259200) { // 自动更新,距离上次检查更新超过 3 天,则立即更新规则 + getRulesUrl_(); } - function getRulesUrl_(update = false, notification = false) { + function getRulesUrl_(n = false) { + let url = urlArr[Math.floor(Math.random()*urlArr.length)]; + if (n) url = 'https://userscript.xiu2.xyz/other/Autopage/rules.json' GM_xmlhttpRequest({ - url: (update === true) ? 'https://userscript.xiu2.xyz/other/Autopage/rules.json' : 'https://userscript.xiu2.xyz/other/Autopage/ruleUpdateTime.json', + url: url, method: 'GET', - responseType: (update === true) ? 'json' : 'text', - overrideMimeType: (update === true) ? 'application/json; charset=utf-8' : 'text/plain; charset=utf-8', + responseType: 'json', + overrideMimeType: 'application/json; charset=utf-8', timeout: 5000, onload: function (response) { try { - //console.log('最终 URL:' + response.finalUrl, '返回内容:',response.response) + //console.log('最终 URL:' + response.finalUrl, '返回内容:',response.response, response.responseHeaders) if (response.response) { + GM_setValue('menu_rules', response.response); // 写入最新规则 + GM_setValue('menu_ruleUpdateTime', parseInt(+new Date()/1000)); // 写入当前时间戳 - if (!update) { // 获取远程时间戳并对比 - if (parseInt(response.response) && parseInt(response.response) > GM_getValue('menu_ruleUpdateTime', 0)) { - GM_setValue('menu_ruleUpdateTime', parseInt(+new Date()/1000)); // 写入当前时间戳 - getRulesUrl_(true); - } else {GM_setValue('menu_ruleUpdateTime', parseInt(+new Date()/1000));} - - } else { // 写入最新规则 - - GM_setValue('menu_rules', response.response); - - curSite = {SiteTypeID: 0}; pageNum.now = 1; // 重置规则+页码 - registerMenuCommand(); // 重新判断规则 - if (curSite.style) {insStyle(curSite.style)} // 插入 Style CSS 样式 - pageLoading(); // 自动无缝翻页 + curSite = {SiteTypeID: 0}; pageNum.now = 1; // 重置规则+页码 + registerMenuCommand(); // 重新判断规则 + if (curSite.style) {insStyle(curSite.style)} // 插入 Style CSS 样式 + pageLoading(); // 自动无缝翻页 - if (GM_getValue('menu_page_number')) {pageNumber('add');} else {pageNumber('set');} // 显示页码 - pausePageEvent(); // 左键双击网页空白处暂停翻页 + if (GM_getValue('menu_page_number')) {pageNumber('add');} else {pageNumber('set');} // 显示页码 + pausePageEvent(); // 左键双击网页空白处暂停翻页 - if (notification) GM_notification({text: '✅ 已更新外置翻页规则!\n如果依然无法翻页,则说明还不支持当前网页,欢迎点击此处提交申请~', timeout: 5000, onclick: function(){window.GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});window.GM_openInTab('https://greasyfork.org/zh-CN/scripts/419215/feedback', {active: true,insert: true,setParent: true});}}); - } + if (n) GM_notification({text: '✅ 已更新外置翻页规则!\n如果依然无法翻页,则说明还不支持当前网页,欢迎点击此处提交申请~', timeout: 5000, onclick: function(){window.GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});window.GM_openInTab('https://greasyfork.org/zh-CN/scripts/419215/feedback', {active: true,insert: true,setParent: true});}}); } else { - GM_notification({text: '❌ 更新失败,请联系作者解决...', timeout: 5000}); + GM_notification({text: '❌ 为空!更新失败,请联系作者解决...', timeout: 5000}); } } catch (e) { console.log(e); - GM_notification({text: '❌ 更新失败,请联系作者解决...', timeout: 5000}); + GM_notification({text: '❌ 报错!更新失败,请联系作者解决...', timeout: 5000}); } + }, + onerror: function (response) { + GM_notification({text: '❌ 错误!更新失败,请联系作者解决...', timeout: 5000}); + }, + ontimeout: function (response) { + GM_notification({text: '❌ 超时!更新失败,请联系作者解决...', timeout: 5000}); } }) } @@ -3312,7 +3321,7 @@ function: { "style": ".aaaa {display: none !important;}", "forceTarget": true, "hiddenPN": true, - "history": false + "history": false, "thread": true, "iframe": true, "pager": { From 7f22bcef3d635c702cce7e28ef4ee4f619b71d6f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Mar 2022 09:22:26 +0800 Subject: [PATCH 0065/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[BT=20=E4=B9=8B?= =?UTF-8?q?=E5=AE=B6]=E3=80=81[SkrBT]=20=E7=AD=89=E8=A7=84=E5=88=99;=20?= =?UTF-8?q?=E5=90=88=E5=B9=B6=20[=E7=90=89=E7=92=83=E7=A5=9E=E7=A4=BE]=20?= =?UTF-8?q?=E8=A7=84=E5=88=99=E8=87=B3=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 --- other/Autopage/rules.json | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 0a42ef9c5..2ef5dc062 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2119,10 +2119,11 @@ } }, "BT 之家": { - "host": "/\\d?btbtt\\d?/", + "host": "/btbtt/", + "url": "return (fun.getCSS(\".logo>a[title='BT之家']\") != null && (fun.lp() == '/' || fun.indexOF(/^\\/(index|forum|search)-/)))", "pager": { - "nextL": "//div[@class='page']/a[contains(text(), '▶') or contains(text(), '下一页')]", - "pageE": "#threadlist > *", + "nextL": "//div[@class='page']/a[text()='▶' or text()='下一页']", + "pageE": "#threadlist", "replaceE": ".page", "scrollD": 2000 } @@ -2167,7 +2168,7 @@ } }, "扶她动漫": { - "host": "/futaacg\\./", + "host": ["futaacg.com", "www.futaacg.com"], "pager": { "nextL": "ul.pagination a[rel='next']", "pageE": ".topic-list > div", @@ -2217,18 +2218,9 @@ "replaceE": ".wp-pagenavi" } }, - "琉璃神社": { - "host": "/^www\\.hacg\\./", - "url": "return (fun.indexOF('/wp/') && !fun.indexOF(/\\d+\\.html/))", - "pager": { - "nextL": "a.nextpostslink", - "pageE": "article[id^='post-']", - "replaceE": ".wp-pagenavi" - } - }, "SkrBT": { "host": "/skrbt/", - "url": "return (fun.lp() == '/search')", + "url": "return (fun.getCSS(\"link[href*='/skrbt/'], img[src*='/skrbt/']\") != null && 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 '';}", From 513c829a1a61f9daf19e4ca51639f44dc7c99b95 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Mar 2022 09:22:54 +0800 Subject: [PATCH 0066/1272] =?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(=E5=8A=A0=E4=BA=86=E4=B8=AA=E6=8F=90?= =?UTF-8?q?=E9=86=92)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Autopage.user.js b/Autopage.user.js index 25abae199..2a4f7d9e2 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -1427,6 +1427,7 @@ function: { //'https://github.do/https://raw.githubusercontent.com/XIU2/UserScript/master/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 天,则立即更新规则 getRulesUrl_(); From f64c2cc7d52d113592eb2afabd28a9e0e510632e Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Mar 2022 11:47:34 +0800 Subject: [PATCH 0067/1272] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=E5=8A=A0?= =?UTF-8?q?=E9=80=9F=E6=BA=90=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 86 +++++++++++----------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 0a0be3a85..464c169d5 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.1 +// @version 1.9.2 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) @@ -30,48 +30,48 @@ 'use strict'; 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 - 该公益加速源由 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'], - ['https://ghgo.feizhuqwq.workers.dev/https://github.com', '美国 3', '美国 Cloudflare CDN'], - ['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://download.fastgit.org', '日本', '日本 东京 - 该公益加速源由 FastGit 提供'], - ['https://ghproxy.com/https://github.com', '韩国', '韩国 首尔'] + ['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.api.99988866.xyz/https://github.com', '美国 2', '[美国 Cloudflare CDN]'], + //['https://github.rc1844.workers.dev', '美国 3', '[美国 Cloudflare CDN]'], + //['https://gh-rep.mirr.one', '美国', '[美国 Cloudflare CDN]'], + ['https://ghgo.feizhuqwq.workers.dev/https://github.com', '美国 3', '[美国 Cloudflare CDN]'], + ['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://download.fastgit.org', '日本', '[日本 东京] - 该公益加速源由 [FastGit] 提供'], + ['https://ghproxy.com/https://github.com', '韩国', '[韩国 首尔]'] ], clone_url = [ - ['https://github.do/https://github.com', '国内', '中国 国内 - 该公益加速源由 小麦云服 提供'], - //['https://gitclone.com', '国内', '中国 国内'], - ['https://api.mtr.pub', '香港', '中国 香港 - 该公益加速源由 @mtr-static-official 提供'], - ['https://hub.fastgit.xyz', '日本', '日本 东京 - 该公益加速源由 FastGit 提供'], - ['https://ghproxy.com/https://github.com', '韩国', '韩国 首尔'], - ['https://gh.gcdn.mirr.one', '俄罗斯', '俄罗斯 G-Core Labs CDN'], - ['https://hub.0z.gs', '美国', '美国 Cloudflare CDN'], - ['https://hub.shutcm.cf', '美国', '美国 Cloudflare CDN'] + ['https://github.do/https://github.com', '国内', '[中国 国内] - 该公益加速源由 [小麦云服] 提供'], + //['https://gitclone.com', '国内', '[中国 国内]'], + ['https://api.mtr.pub', '香港', '[中国 香港] - 该公益加速源由 [@mtr-static-official] 提供'], + ['https://hub.fastgit.xyz', '日本', '[日本 东京] - 该公益加速源由 [FastGit] 提供'], + ['https://ghproxy.com/https://github.com', '韩国', '[韩国 首尔]'], + ['https://gh.gcdn.mirr.one', '俄罗斯', '[俄罗斯 G-Core Labs CDN]'], + ['https://hub.0z.gs', '美国', '[美国 Cloudflare CDN]'], + ['https://hub.shutcm.cf', '美国', '[美国 Cloudflare CDN]'] ], clone_ssh_url = [ - ['git@ssh.fastgit.org', '香港', '中国 香港 - 该公益加速源由 FastGit 提供'], - ['git@git.zhlh6.cn', '美国', '美国 洛杉矶'] + ['git@ssh.fastgit.org', '香港', '[中国 香港] - 该公益加速源由 [FastGit] 提供'], + ['git@git.zhlh6.cn', '美国', '[美国 洛杉矶]'] ], 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', '中国 香港 - 该公益加速源由 iQZone 提供'], - ['https://hk1.monika.love', '香港 2', '中国 香港 - 该公益加速源由 @mtr-static-official 提供'], - ['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', '韩国 首尔'], - ['https://fastly.jsdelivr.net/gh', '日本 1', '日本 东京 - 该公益加速源由 JSDelivr 提供 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], - ['https://cdn.staticaly.com/gh', '日本 2', '日本 东京 - 该公益加速源由 Statically CDN 提供 注意: - 该加速是全球 Anycast CDN,国内一般分配到日本节点。'], - ['https://raw.fastgit.org', '日本 3', '日本 东京 - 该公益加速源由 FastGit 提供 注意: - 单个文件太大时可能会提示超时(实时获取中),请重试。'], - //['https://cdn.jsdelivr.net/gh', '美国', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], - ['https://gcore.jsdelivr.net/gh', '其他 1', '该公益加速源由 JSDelivr 提供 适合 [移动/电信] 用户,移动走香港,电信走日本。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], - //['https://raw-gh.gcdn.mirr.one', '俄罗斯', '俄罗斯 G-Core Labs CDN'], - ['https://raw.githubusercontents.com', '其他 2', '该加速源有香港、新加坡、美国等服务器,并不固定。 - 该加速源不支持大小超过 1 MB 的文件。'] + ['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://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)'], + ['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.githubusercontents.com', '其他 2', '[香港、新加坡、美国](不固定) - 缓存:有 - 该加速源不支持大小超过 1 MB 的文件'] ], svg = [ '', @@ -233,9 +233,9 @@ switch(i) { //case 1: // ghproxy.fsou.cc // url = raw_url[i][0] + href; break; - case 5: // fastly.jsdelivr.net - case 8: // cdn.jsdelivr.net - //case 9: // gcore.jsdelivr.net + case 4: // fastly.jsdelivr.net + case 7: // gcore.jsdelivr.net + //case 6: // cdn.jsdelivr.net url = raw_url[i][0] + href.replace('/blob/','@'); break; default: url = raw_url[i][0] + href2; @@ -282,9 +282,9 @@ switch(menu_raw_fast) { //case 1: // ghproxy.fsou.cc // url = raw_url[menu_raw_fast][0] + href; break; - case 5: // fastly.jsdelivr.net - case 8: // cdn.jsdelivr.net - //case 9: // gcore.jsdelivr.net + 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; From 846c874d7affab3ae3c56f8a38b51bbfcdeae328 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Mar 2022 16:11:09 +0800 Subject: [PATCH 0068/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[Anime=20Picture?= =?UTF-8?q?s]=E3=80=81[TBIB]=E3=80=81[Safebooru]=E3=80=81[Illusion=20Game?= =?UTF-8?q?=20Cards]=E3=80=81[hentai=20img]=E3=80=81[ACG=20RW]=E3=80=81[La?= =?UTF-8?q?tino=20Hentai]=E3=80=81[Hentai=20Anime=20Zone]=E3=80=81[Avbebe]?= =?UTF-8?q?=E3=80=81[hanime1]=E3=80=81[xHamster]=E3=80=81[=E5=A6=96?= =?UTF-8?q?=E6=AC=A1=E5=85=83=E9=87=8C=E7=95=AA]=E3=80=81[=E7=BB=85?= =?UTF-8?q?=E5=A3=AB=E4=BC=9A=E6=89=80]=E3=80=81[=E4=BF=BA=E3=81=AE3D?= =?UTF-8?q?=E3=82=A8=E3=83=AD=E5=8B=95=E7=94=BB]=E3=80=81[H=E6=AC=A1?= =?UTF-8?q?=E5=85=83]=20=E7=AD=89=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 | 387 ++++++++++++++++++++++++++++---------- 1 file changed, 284 insertions(+), 103 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 2ef5dc062..cf37ec29d 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -451,7 +451,7 @@ "知乎 - 用户主页/收藏夹": { "host": "www.zhihu.com", "url": "fun.isUrlC(); if (fun.indexOF(/\\/people\\/.+\\/.+/) || fun.indexOF('/collection/')) {if (self != top) {fun.insStyle('#ProfileHeader {display: none !important;}')}; return true;}", - "forceTarget": true, + "blank": 2, "iframe": true, "pager": { "type": 5, @@ -1037,7 +1037,7 @@ "Pixiv - 分类页": { "host": "www.pixiv.net", "url": "fun.isUrlC(); if (fun.isMobile()) {return false}; if (fun.lp() == '/') {fun.forceTarget();} else if (fun.indexOF('/tags/')) {return true;} else if (fun.indexOF('/artworks/')) {setTimeout(function(){fun.getXpath('//button[contains(string(), \"查看全部\") or contains(string(), \"See all\") or contains(string(), \"すべて見る\") or contains(string(), \"모두 보기\")]').click();}, 3000)}", - "forceTarget": true, + "blank": 2, "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": { @@ -1049,7 +1049,7 @@ "Pixiv - 用户作品页": { "host": "www.pixiv.net", "url": "if (fun.isMobile()) {return false}; return (fun.indexOF('/users/') && fun.indexOF(/\\/(artworks|illustrations|manga)/))", - "forceTarget": true, + "blank": 2, "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;}", "pager": { @@ -1083,7 +1083,7 @@ "Vilipix": { "host": "www.vilipix.com", "url": "fun.isUrlC(); if (fun.lp() == '/') {forceTarget();} else if (fun.indexOF(/\\/(tags|user|new|ranking)/)) {return true;}", - "forceTarget": true, + "blank": 2, "pager": { "type": 6, "nextL": "js;let next = fun.getCSS('li.number.active+li.number'); if (next) return (location.origin + location.pathname + '?p=' + next.textContent)", @@ -1368,7 +1368,7 @@ "iconfont": { "host": "www.iconfont.cn", "url": "fun.isUrlC(); return (fun.indexOF('/search/'))", - "forceTarget": true, + "blank": 2, "style": ".footer, header .bind-tips, .block-pagination-wrap, #magix_vf_main .block-sub-banner, #J_block_sidebar {display: none !important;}", "iframe": true, "pager": { @@ -4233,7 +4233,7 @@ "GreasyFork": { "host": "greasyfork.org", "url": "return (fun.indexOF(/\\/scripts$/) || fun.indexOF('/scripts/by-site/'))", - "forceTarget": true, + "blank": 2, "pager": { "nextL": "a.next_page", "pageE": "ol#browse-script-list > li", @@ -4243,7 +4243,7 @@ "GreasyFork - 反馈页": { "host": "greasyfork.org", "url": "return (fun.indexOF(/\\/feedback$/))", - "forceTarget": true, + "blank": 2, "pager": { "nextL": "a.next_page", "pageE": ".script-discussion-list > div", @@ -4254,7 +4254,7 @@ "GreasyFork - 讨论页": { "host": "greasyfork.org", "url": "return (fun.indexOF('/discussions') && !fun.indexOF(/\\/\\d+/))", - "forceTarget": true, + "blank": 2, "pager": { "nextL": "a.next_page", "pageE": ".discussion-list > div", @@ -4368,62 +4368,31 @@ }, "必应壁纸": { "host": "bing.ioliu.cn", - "url": "if (!fun.indexOF('/photo/') && !fun.indexOF('.html')) {document.head.appendChild(document.createElement('base')).target = '_blank'; return true;}", + "url": "return (!fun.indexOF('/photo/') && !fun.indexOF('.html'))", "style": ".progressive--not-loaded {filter: none !important;}", + "blank": 1, "pager": { "nextL": "//div[@class='page']/a[contains(text(), '下一页')]", "pageE": "body > .container > div.item", - "replaceE": ".page", - "scrollD": 1000 - } - }, - "yande": { - "host": ["konachan.net","konachan.com","yande.re"], - "url": "if (fun.indexOF('/post')) {document.head.appendChild(document.createElement('base')).target = '_blank'; return true;}", - "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;}", - "pager": { - "nextL": "a.next_page", - "pageE": "ul#post-list-posts > li", - "replaceE": "#paginator", - "scrollD": 1000 - } - }, - "Gelbooru": { - "host": "gelbooru.com", - "url": "/page=post&s=list/", - "pager": { - "nextL": "#paginator > a[alt='next']", - "pageE": ".thumbnail-preview", - "replaceE": "#paginator", - "scrollD": 1000 - } - }, - "Danbooru": { - "host": "danbooru.donmai.us", - "url": "return (fun.lp() == '/' || fun.lp() == '/posts')", - "pager": { - "nextL": "a.paginator-next", - "pageE": ".post-preview", - "replaceE": ".paginator", - "scrollD": 1000 + "replaceE": ".page" } }, "nastol": { "host": "www.nastol.com.ua", + "blank": 1, "pager": { "nextL": "//a[./span[@class='nav-next']]", "pageE": "#dle-content > div", - "replaceE": ".navigation", - "scrollD": 1000 + "replaceE": ".navigation" } }, "hdqwalls": { "host": "hdqwalls.com", + "blank": 1, "pager": { "nextL": "a#next", "pageE": ".wallpapers_container > div.wall-resp", - "replaceE": "ul.pagination", - "scrollD": 1000 + "replaceE": "ul.pagination" } }, "新片场": { @@ -4676,6 +4645,7 @@ "xvideos": { "host": ["www.xnxx.com","www.xvideos.com"], "url": "if (location.hostname == 'www.xnxx.com') {if (fun.indexOF('/search/')) return true;} else {if (fun.lp() == '/' || fun.indexOF(/\\/(c|tags|lang)\\//)) return true;}", + "blank": 1, "pager": { "nextL": "a.next-page, a.next", "pageE": ".mozaique > *", @@ -4690,6 +4660,7 @@ "host": "/\\.pornhub\\.com/", "url": "/\\/video/", "style": ".footerContentWrapper, .pre-footer {display: none !important;}", + "blank": 1, "pager": { "nextL": "li.page_next > a", "pageE": "#videoSearchResult > li.pcVideoListItem, #videoCategory > li.pcVideoListItem", @@ -4702,12 +4673,23 @@ "91porn": { "host": ["91porn.com","0118.workarea7.live"], "url": "/\\/v\\.php/", + "blank": 1, "pager": { "nextL": "id('paging')//a[text()='»']", "pageE": ".row .row > div", "replaceE": "#paging" } }, + "xHamster": { + "host": "/xhamster(\\d+)?\\.com/", + "url": "return (document.title.indexOf('xHamster') > -1 && !fun.indexOF('/videos/'))", + "pager": { + "nextL": "li.next > a", + "pageE": ".thumb-list", + "replaceE": ".pager-section", + "scrollD": 2500 + } + }, "t66y - 帖子列表": { "host": "www.t66y.com", "url": "/^\\/thread/", @@ -4730,61 +4712,77 @@ "scrollD": 1000 } }, - "E-Hentai-g": { - "host": "e-hentai.org", - "url": "/^\\/g\\//", + "ACG RW": { + "host": "www.acg.rw", + "url": "return (!fun.indexOF('.html'))", + "blank": 1, "pager": { - "nextL": "//table[@class='ptt']//a[text()='>']", - "pageE": "#gdt > .gdtm", - "replaceE": ".ptt, .ptb", - "scrollD": 1000 + "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'])" } }, - "E-Hentai-s": { - "host": "e-hentai.org", - "url": "/^\\/s\\//", - "style": "#img {max-width: 100% !important;height: auto !important;}", + "Latino Hentai": { + "host": "latinohentai.com", + "url": "return (!fun.indexOF('/ver/'))", + "blank": 1, "pager": { - "nextL": "a#next", - "pageE": "#img", - "replaceE": ".sn", - "scrollD": 1000 + "nextL": ".current+a", + "pageE": ".items", + "replaceE": ".pagination" } }, - "E-Hentai": { - "host": "e-hentai.org", + "妖次元里番": { + "host": "www.ycylf.men", + "url": "return (fun.lp() == '/search.php' || fun.indexOF('.html'))", + "blank": 1, "pager": { - "nextL": "//table[@class='ptt']//a[text()='>']", - "pageE": ".itg > tbody > tr:not(:first-of-type)", - "replaceE": ".ptt, .ptb", - "scrollD": 1000 + "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'])" } }, - "nhentai": { - "host": "nhentai.net", - "url": "return (fun.lp() == '/' || fun.lp() == '/search/' || fun.indexOF(/\\/(tag|artist|character)\\//))", + "Hentai Anime Zone": { + "host": "hentaianimezone.com", + "url": "return (!fun.indexOF('.html'))", + "blank": 1, "pager": { - "nextL": "a.next", - "pageE": ".gallery", - "replaceE": ".pagination" - }, - "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-src]','data-src'])" + "nextL": ".navigation>span+a", + "pageE": ".thumb", + "replaceE": ".navigation" } }, - "nhentai - 图片页": { - "host": "nhentai.net", - "url": "/\\/g\\/\\d+\\/\\d+\\//", + "Avbebe": { + "host": "avbebe.com", + "url": "return (!fun.indexOF(/^\\/archives\\/\\d/))", + "blank": 1, + "pager": { + "nextL": "li.active_page+li>a, .navigation > .floatleft > a", + "pageE": "#index-news > .posts-default, #archive-posts > .posts-default", + "replaceE": "#wp_page_numbers, .navigation" + } + }, + "H次元": { + "host": "h-ciyuan.com", + "url": "return (fun.lp() == '/' ||fun.indexOF('/category/') || fun.indexOF('/tag/'))", "pager": { "nextL": "a.next", - "pageE": "#image-container img", - "replaceE": ".reader-pagination" + "pageE": ".gridview-posts", + "replaceE": ".category", + "scrollD": 2000 } }, "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;}", + "blank": 1, "pager": { "nextL": "a.pagination-next", "pageE": ".grid-item.column, .section-container > div", @@ -4798,6 +4796,7 @@ "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;}", + "blank": 1, "pager": { "nextL": "#next", "pageE": "#waterfall > .item", @@ -4807,6 +4806,7 @@ "Javhd": { "host": "javhd.today", "url": "return (fun.lp() != '/' && fun.lp() != '/channels/')", + "blank": 1, "pager": { "nextL": ".pagination > li.active + li > a", "pageE": "ul.videos, ul.playlists, div.models", @@ -4816,6 +4816,7 @@ "Jable.TV": { "host": "jable.tv", "url": "return (fun.lp() != '/' && !fun.indexOF('/videos/'))", + "blank": 1, "history": false, "pager": { "nextL": "js; let next = fun.getXpath(\"//li[@class='page-item' and ./span[contains(@class,'active')]]/following-sibling::li/a\"); if (next) {return `${location.origin}${location.pathname}?mode=async&function=get_block&block_id=${next.dataset.blockId}&${next.dataset.parameters.replace('from_videos+','from_videos=' + next.textContent + '&').replaceAll(':','=').replaceAll(';','&').replaceAll('+','&')}&_=${+new Date()}`;}", @@ -4826,6 +4827,7 @@ "Javbooks": { "host": ["javbooks.com","jmvbt.com","/^[a-z]{2}\\d{4}\\.com$/"], "url": "return (document.title.indexOf('Javbooks') > -1 && !fun.indexOF('/content_'))", + "blank": 1, "pager": { "nextL": "span.pageback > a", "pageE": ".Po_topic, .Po_u_topic", @@ -4872,6 +4874,196 @@ "replaceE": "[id='pagenation']" } }, + "俺の3Dエロ動画": { + "host": "oreno3d.com", + "url": "return (!fun.indexOF('/movies/'))", + "blank": 1, + "pager": { + "nextL": "a[rel='next']", + "pageE": ".g-main-grid > article", + "replaceE": ".pagination", + "scrollD": 2500 + } + }, + "hanime1": { + "host": "hanime1.me", + "url": "return (fun.lp() == '/search')", + "blank": 1, + "pager": { + "nextL": "a[rel='next']", + "pageE": ".home-rows-videos-wrapper", + "replaceE": ".pagination", + "scrollD": 2500 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-src]','data-src'])" + } + }, + "hanime1 - 漫画 - 分类页": { + "host": "hanime1.me", + "url": "return (fun.lp() == '/comics' || fun.indexOF(/^\\/(tags|artists|characters|parodies|groups)\\//))", + "blank": 1, + "pager": { + "nextL": "a[rel='next']", + "pageE": ".comic-rows-videos-div", + "replaceE": ".pagination", + "forceHTTPS": true, + "scrollD": 2500 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-srcset]','data-srcset'])" + } + }, + "hanime1 - 漫画": { + "host": "hanime1.me", + "url": "/^\\/comic\\/\\d+\\/\\d/", + "style": "#current-page-image {display: block !important; margin: 0 auto !important; max-height: calc(250vh) !important;}", + "pager": { + "nextL": "a.comic-show-content-nav-item-wrapper.arrow-right", + "pageE": "img#current-page-image", + "replaceE": ".comic-show-content-nav" + } + }, + "E-Hentai-g": { + "host": "e-hentai.org", + "url": "/^\\/g\\//", + "pager": { + "nextL": "//table[@class='ptt']//a[text()='>']", + "pageE": "#gdt > .gdtm", + "replaceE": ".ptt, .ptb", + "scrollD": 1000 + } + }, + "E-Hentai-s": { + "host": "e-hentai.org", + "url": "/^\\/s\\//", + "style": "#img {max-width: 100% !important;height: auto !important;}", + "pager": { + "nextL": "a#next", + "pageE": "#img", + "replaceE": ".sn", + "scrollD": 1000 + } + }, + "E-Hentai": { + "host": "e-hentai.org", + "pager": { + "nextL": "//table[@class='ptt']//a[text()='>']", + "pageE": ".itg > tbody > tr:not(:first-of-type)", + "replaceE": ".ptt, .ptb", + "scrollD": 1000 + } + }, + "nhentai": { + "host": "nhentai.net", + "url": "return (fun.lp() == '/' || fun.lp() == '/search/' || fun.indexOF(/\\/(tag|artist|character)\\//))", + "pager": { + "nextL": "a.next", + "pageE": ".gallery", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-src]','data-src'])" + } + }, + "nhentai - 图片页": { + "host": "nhentai.net", + "url": "/\\/g\\/\\d+\\/\\d+\\//", + "pager": { + "nextL": "a.next", + "pageE": "#image-container img", + "replaceE": ".reader-pagination" + } + }, + "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;}", + "blank": 1, + "pager": { + "nextL": "a.next_page", + "pageE": "ul#post-list-posts", + "replaceE": "#paginator" + } + }, + "Anime Pictures": { + "host": "anime-pictures.net", + "url": "return (fun.indexOF('/pictures/') && !fun.indexOF('/view_post/'))", + "blank": 1, + "pager": { + "nextL": ".active+a", + "pageE": ".posts_block, .image_body, table.all_tags, table.scores, table#comments", + "replaceE": ".numeric_pages" + } + }, + "Gelbooru": { + "host": ["gelbooru.com","tbib.org","safebooru.org","illusioncards.booru.org"], + "url": "/s=list/", + "blank": 1, + "pager": { + "nextL": "a[alt='next']", + "pageE": ".thumbnail-container, span.thumb", + "replaceE": "#paginator" + } + }, + "Danbooru": { + "host": "danbooru.donmai.us", + "url": "return (fun.lp() == '/' || fun.lp() == '/posts')", + "blank": 1, + "pager": { + "nextL": "a.paginator-next", + "pageE": ".posts-container", + "replaceE": ".paginator" + } + }, + "Hentai Cosplays - 手机版 - 图片页": { + "host": ["hentai-cosplays.com","porn-images-xxx.com","hentai-img.com"], + "url": "return (fun.indexOF('/image/') && fun.isMobile())", + "style": ".icon-good-thumbnail, .icon-bad-thumbnail {display: none !important;}", + "pager": { + "nextL": "a.paginator_page[rel='next']", + "pageE": "#detail_list", + "replaceE": ".paginator_area", + "scrollD": 3500 + } + }, + "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;}", + "pager": { + "nextL": "id('paginator')//a[contains(text(), '>')]", + "pageE": ".icon-overlay", + "replaceE": "#paginator", + "scrollD": 3000 + } + }, + "Hentai Cosplays - 手机版 - 分类页": { + "host": ["hentai-cosplays.com","porn-images-xxx.com","hentai-img.com"], + "url": "return (fun.isMobile())", + "blank": 1, + "pager": { + "type": 3, + "nextL": "a.paginator_page[rel='next']", + "pageE": "#page > #right_sidebar > #entry_list", + "replaceE": "#page > #page_nation", + "scrollD": 700 + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])" + } + }, + "Hentai Cosplays - 分类页": { + "host": ["hentai-cosplays.com","porn-images-xxx.com","hentai-img.com"], + "blank": 1, + "pager": { + "type": 3, + "nextL": "a.nextpostslink", + "pageE": "#center > #display_area_image > #image-list", + "replaceE": ".wp-pagenavi", + "scrollD": 700 + } + }, "绅士仓库": { "host": "/^cangku\\./", "url": "if (document.title.indexOf('绅士') == -1){return} fun.isUrlC(); return (fun.lp() == '/' || fun.indexOF('/user/'))", @@ -4895,6 +5087,17 @@ "nextL": ".container .el-button:not(.is-loading)" } }, + "绅士会所": { + "host": ["www.hentaiclub.net","/^www\\.sshs\\./"], + "url": "return (document.title.indexOf('绅士会所') > -1 && !fun.indexOF('/archives/'))", + "blank": 1, + "pager": { + "nextL": "li.next-page > a", + "pageE": "article[class]:not(.excerpt-minic-index)", + "replaceE": ".pagination", + "scrollD": 1500 + } + }, "美女推 - 图片页": { "host": "mvtui.com", "url": "/\\.html/", @@ -5473,28 +5676,6 @@ "scrollD": 2000 } }, - "Hentai Cosplays - 手机版": { - "host": ["hentai-cosplays.com","porn-images-xxx.com"], - "url": "return (fun.indexOF('/image/') && fun.isMobile())", - "style": ".icon-good-thumbnail, .icon-bad-thumbnail {display: none !important;}", - "pager": { - "nextL": "a.paginator_page[rel='next']", - "pageE": "#detail_list > li", - "replaceE": ".paginator_area", - "scrollD": 3500 - } - }, - "Hentai Cosplays": { - "host": ["hentai-cosplays.com","porn-images-xxx.com"], - "url": "/^\\/image\\//", - "style": ".icon-good-thumbnail, .icon-bad-thumbnail {display: none !important;}", - "pager": { - "nextL": "id('paginator')//a[contains(text(), '>')]", - "pageE": ".icon-overlay", - "replaceE": "#paginator", - "scrollD": 3000 - } - }, "24FA": { "host": ["www.24fa.com","www.24faa.com","/www\\.\\d{3}w\\.cc/"], "url": "/^\\/m?n\\d+/", From e77264dfefdd00f6d0466a09504e8cb2d3442cdc Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Mar 2022 16:12:26 +0800 Subject: [PATCH 0069/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E8=AE=BF?= =?UTF-8?q?=E9=97=AE=E4=B8=8B=E4=B8=80=E9=A1=B5=E8=B6=85=E6=97=B6=E7=AD=89?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA;=20=E4=BC=98=E5=8C=96=20?= =?UTF-8?q?=E8=A7=84=E5=88=99(forceTarget=20=E6=94=B9=E4=B8=BA=20blank)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 86 +++++++++++++++++++++++++++++++----------------- 1 file changed, 55 insertions(+), 31 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 2a4f7d9e2..1fb2670fa 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.4.6 +// @version 5.4.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...) 等網站~ @@ -80,7 +80,7 @@ ['menu_rules', '更新外置翻页规则 (每天自动)', '更新外置翻页规则 (每天自动)', {}], ['menu_customRules', '自定义翻页规则', '自定义翻页规则', {}] ], menuId = [], webType = 0, curSite = {SiteTypeID: 0}, DBSite, SiteType, pausePage = true, pageNum = {now: 1, _now: 1}, urlC = false, nowLocation = '', lp = location.pathname; - window.autoPage = {lp: ()=>location.pathname, indexOF: indexOF, isMobile: isMobile, isUrlC: isUrlC, forceTarget: forceTarget, getAll: getAll, getOne: getOne, getAllXpath: getAllXpath, getXpath: getXpath, getAllCSS: getAllCSS, getCSS: getCSS, getNextE: getNextE, getNextEP: getNextEP, getNextEPN: getNextEPN, getNextUPN: getNextUPN, getNextUP: getNextUP, getNextF: getNextF, getCookie: getCookie, insStyle: insStyle, insScript: insScript, src_bF: src_bF, xs_bF: xs_bF} + window.autoPage = {lp: ()=>location.pathname, indexOF: indexOF, isMobile: isMobile, isUrlC: isUrlC, blank: forceTarget, getAll: getAll, getOne: getOne, getAllXpath: getAllXpath, getXpath: getXpath, getAllCSS: getAllCSS, getCSS: getCSS, getNextE: getNextE, getNextEP: getNextEP, getNextEPN: getNextEPN, getNextUPN: getNextUPN, getNextUP: getNextUP, getNextF: getNextF, getCookie: getCookie, insStyle: insStyle, insScript: insScript, src_bF: src_bF, xs_bF: xs_bF} for (let i=0;i 主题的网站`); return 103; } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { - if (getAllCSS('article[class]').length > 2 && getCSS('#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation, .wp-pagenavi, .pagenavi')) { + if (getAllCSS('article[class]').length > 2 && getCSS('#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi')) { if (getCSS('a.next')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)`); return 104; } else if (getCSS('a[rel="next" i], a[aria-label="Next Page" i], a[aria-label="下一页"]')) { @@ -244,7 +244,7 @@ console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)`); return 106; } else if (getCSS('.nav-previous a')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)`); return 107; - } else if (getXpath('//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]', getCSS('#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation, .wp-pagenavi, .pagenavi'))) { + } else if (getXpath('//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]', getCSS('#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi'))) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)`); return 108; } } @@ -290,7 +290,7 @@ case 107: // < 部分使用 WordPress 的网站 (旧文章) > DBSite.wp_article.url('.nav-previous a'); break; case 108: // < 部分使用 WordPress 的网站 (下一页) > - DBSite.wp_article.url('//nav[@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")] | //ul[contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")] | //div[contains(@class, "pagenavi")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]'); break; + DBSite.wp_article.url('//*[self::ul or self::nav or self::div][@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination") or contains(@class, "pagenavi")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]'); break; case 200: // < 所有使用 笔趣阁 模板的小说网站 > DBSite.biquge.url(); break; } @@ -302,13 +302,13 @@ url: 匹配到该域名后要执行的函数/正则(一般用于根据 URL 分配相应翻页规则) urlC: 对于使用 pjax 技术的网站,需要监听 URL 变化来重新判断翻页规则(需要放在 url: 中,自定义规则的话需要使用 fun.isUrlC()) - forceTarget: 强制新标签页打开链接 noReferer: 获取下一页内容时,不携带 Referer(部分网站携带与不携带可能不一样) hiddenPN: 不显示脚本左下角的页码 history: 添加历史记录 并 修改当前 URL(默认开启,对于不支持的网站要设置为 false) thread: 对于社区类网站,要在 帖子内 的规则中加入这个,用于脚本的 [帖子内自动翻页] 功能(即用户可以选择开启/关闭所有社区类网站帖子内的自动翻页) style: 要插入网页的 CSS Style 样式 retry: 允许获取失败后重试 + blank: 强制新标签页打开链接(1 = base 方式,2 = 点击委托事件方式) pager: { type: 翻页模式 @@ -598,7 +598,7 @@ function: { url: function(nextL) {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, pager: { pageE: 'article[class]', - replaceE: '#nav-below, nav.navigation, nav.pagination, ul.pagination, nav.paging-navigation, .wp-pagenavi, .pagenavi', + replaceE: '#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi', scrollD: 2000 } }, // Wordpress 的 nav.navigation 规则 @@ -643,7 +643,7 @@ function: { } }, // 百度贴吧 - 帖子列表 baidu_tieba_post: { - forceTarget: true, + blank: 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;}', // 签名、印记、头像边框、VIP 元素 pager: { @@ -1467,9 +1467,11 @@ function: { } }, onerror: function (response) { + console.log(response) GM_notification({text: '❌ 错误!更新失败,请联系作者解决...', timeout: 5000}); }, ontimeout: function (response) { + console.log(response) GM_notification({text: '❌ 超时!更新失败,请联系作者解决...', timeout: 5000}); } }) @@ -1493,8 +1495,8 @@ function: { if (GM_getValue('menu_page_number')) {pageNumber('add');} else {pageNumber('set');} // 左键双击网页空白处暂停翻页 pausePageEvent(); - // 强制新标签页打开链接(翻页模式 5/6) - if (curSite.forceTarget) forceTarget(); + // 强制新标签页打开链接 + if (curSite.blank != undefined || curSite.forceTarget != undefined) forceTarget(); // 对于使用 pjax 技术的网站,需要监听 URL 变化来重新判断翻页规则 if (urlC) { @@ -2612,6 +2614,14 @@ function: { } catch (e) { console.error('[自动无缝翻页] - 处理获取到的下一页内容时出现问题,请检查!', e); } + }, + onerror: function (response) { + console.log(response) + GM_notification({text: '❌ 获取下一页失败...', timeout: 5000}); + }, + ontimeout: function (response) { + console.log(response) + GM_notification({text: '❌ 获取下一页超时...', timeout: 5000}); } }); } @@ -2655,6 +2665,14 @@ function: { } catch (e) { console.log(e); } + }, + onerror: function (response) { + console.log(response) + GM_notification({text: '❌ 获取下一页失败...', timeout: 5000}); + }, + ontimeout: function (response) { + console.log(response) + GM_notification({text: '❌ 获取下一页超时...', timeout: 5000}); } }); } @@ -3173,32 +3191,38 @@ function: { } - // 强制新标签页打开链接(翻页模式 5/6) + // 强制新标签页打开链接 function forceTarget() { - document.body.addEventListener('click', function(e) { - if (e.target.tagName === 'A') { - forceTarget_(e.target, e); - } else { - let path = e.path || e.composedPath(); - for (let i = 1; i < path.length - 3; i++) { - //console.log(path[i]) - if (path[i].tagName === 'A') { - forceTarget_(path[i], e); - break; + // 过渡 + if (curSite.forceTarget != undefined && curSite.blank == undefined) curSite.blank = curSite.forceTarget + if (curSite.blank === 1) { + document.head.appendChild(document.createElement('base')).target = '_blank'; + } else if (curSite.blank === 2 || curSite.blank === true) { + document.body.addEventListener('click', function(e) { + if (e.target.tagName === 'A') { + forceTarget_(e.target, e); + } else { + let path = e.path || e.composedPath(); + for (let i = 1; i < path.length - 3; i++) { + //console.log(path[i]) + if (path[i].tagName === 'A') { + forceTarget_(path[i], e); + break; + } } } - } - }); + }); - function forceTarget_(target, e){ - if (target.href && target.target != '_blank' && !(target.getAttribute('onclick')) && target.href.slice(0,4) == 'http' && target.getAttribute('href').slice(0,1) != '#') { - e.preventDefault(); // 阻止默认打开链接事件 - //console.log(target.href); - //window.top.location.href = target.href; - window.GM_openInTab(target.href, {active: true,insert: true,setParent: true}); + function forceTarget_(target, e){ + if (target.href && target.target != '_blank' && !(target.getAttribute('onclick')) && target.href.slice(0,4) == 'http' && target.getAttribute('href').slice(0,1) != '#') { + e.preventDefault(); // 阻止默认打开链接事件 + //console.log(target.href); + //window.top.location.href = target.href; + window.GM_openInTab(target.href, {active: true,insert: true,setParent: true}); + } } + //document.head.appendChild(document.createElement('base')).target = '_top'; } - //document.head.appendChild(document.createElement('base')).target = '_top'; } // 判断元素是否隐藏(隐藏返回 true) function isHidden(el){ @@ -3320,7 +3344,7 @@ function: { "host": ["bbb1.com", "bbb2.com"], "url": "/^\\/s$/", "style": ".aaaa {display: none !important;}", - "forceTarget": true, + "blank": 1, "hiddenPN": true, "history": false, "thread": true, From 033566041ff34898edc2d7476d32ef867d185273 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Mar 2022 16:25:49 +0800 Subject: [PATCH 0070/1272] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[kingdom]=20?= =?UTF-8?q?=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 | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index cf37ec29d..20540e08a 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5470,12 +5470,12 @@ "kingdom": { "host": "www.kingdom-en.com", "url": "/\\d+\\.html/", - "style": ".pic_center img {min-height: 300px;} .arcmain > .title, .footer, .index-list-title, .listmain_st {display: none !important;}", + "style": ".pic_center img {min-height: 300px;}", "pager": { - "nextL": "a.page_next", + "nextL": "//div[@class='pages2' or @class='article_page']//a[text()='下一页']", "pageE": ".pic_center img", - "replaceE": ".pagenav", - "scrollD": 4000 + "replaceE": ".pages2, .article_page", + "scrollD": 3000 } }, "kingdom_list": { @@ -5483,12 +5483,8 @@ "url": "/^\\/.+/", "pager": { "nextL": "a.page_next", - "pageE": "li.media", - "replaceE": ".pagination", - "scrollD": 1000 - }, - "function": { - "bF": "return fun.src_bF(pageE, [0,'img[data-src]','data-src'])" + "pageE": ".channel_list3 > ul", + "replaceE": ".pages" } }, "kissgoddess": { From 6e5ee2424da735892d841817eb1dce1ffbfd5b4c Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Mar 2022 18:32:38 +0800 Subject: [PATCH 0071/1272] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[=E5=9C=A8?= =?UTF-8?q?=E7=BA=BF=E4=B9=8B=E5=AE=B6]=20=E5=9F=9F=E5=90=8D;=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=20=E9=83=A8=E5=88=86=E8=A7=84=E5=88=99(=E5=BC=BA?= =?UTF-8?q?=E5=88=B6=E6=96=B0=E6=A0=87=E7=AD=BE=E9=A1=B5=E6=89=93=E5=BC=80?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=EF=BC=8C=E4=BB=A5=E6=8F=90=E9=AB=98=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E4=BD=93=E9=AA=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 25 +++++++++++- other/Autopage/rules.json | 85 +++++++++++++++++++++++++++++---------- 2 files changed, 87 insertions(+), 23 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 1fb2670fa..34558fbd3 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.4.8 +// @version 5.4.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...) 等網站~ @@ -596,12 +596,13 @@ function: { }, // WordPress 的 Begin 主题 - 搜索页 wp_article: { url: function(nextL) {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, + blank: 1, pager: { pageE: 'article[class]', replaceE: '#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi', scrollD: 2000 } - }, // Wordpress 的 nav.navigation 规则 + }, // Wordpress 的 nav.navigation 规则 biquge: { url: ()=> {if (indexOF(/\d+\/\d+\.html/)) {curSite = DBSite.biquge;}}, style: 'img, .posterror {display: none !important;}', @@ -663,6 +664,7 @@ function: { nexusmods: { host: 'www.nexusmods.com', url: ()=> {urlC = true; if (!(lp == '/' || indexOF(/\/mods\/\d+/))) {curSite = DBSite.nexusmods;}}, + blank: 1, history: false, pager: { nextL: nexusmods_nextL, @@ -752,6 +754,7 @@ function: { } }, // 动漫狂 cartoonmad_list: { + blank: 1, pager: { nextL: '//a[@class="pages"][contains(text(), "下一頁")]', pageE: 'td[background="/image/content_box4.gif"]+td > table > tbody > tr', @@ -785,6 +788,7 @@ function: { } }, // 漫画猫 manhuacat_list: { + blank: 1, pager: { nextL: '//div[contains(@class, "pagination")]//a[contains(text(), "下一页") or contains(text(), "下页")]', pageE: '.comic-main-section > *', @@ -827,6 +831,7 @@ function: { } }, // 爱漫画 + 188漫画网 imanhuaw_list: { + blank: 1, pager: { nextL: '//div[@class="NewPages"]//a[text()="下一页"]', pageE: 'ul.mh-search-list > li', @@ -856,6 +861,7 @@ function: { } }, // 漫画柜 manhuagui_list: { + blank: 1, pager: { nextL: '//div[@class="pager"]/a[text()="下一页" or text()="下一頁"]', pageE: '.book-result > ul > li, .book-list > ul > li', @@ -893,6 +899,7 @@ function: { } }, // 36漫画 _36manga_list: { + blank: 1, pager: { nextL: 'ul.pagination li.next a', pageE: '#contList', @@ -964,6 +971,7 @@ function: { }, // 动漫之家 - 原创 dmzj_list: { style: '.wrap_mhlist_l.con_left, .wrap_list {height: auto!important;}', + blank: 1, pager: { nextL: 'a.pg_next', pageE: 'ul.list_con_li > li', @@ -1010,6 +1018,7 @@ function: { } },*/ // 动漫之家 - 日漫 - 分类页 dmzj_manhua_update: { + blank: 1, pager: { nextL: '//div[@class="pages"]/a[contains(text(), "下一页")]', pageE: '.newpic_content > *:not(.pages)', @@ -1040,6 +1049,7 @@ function: { } }, // 动漫戏说 acgn_list: { + blank: 1, pager: { nextL: 'a[rel="next"]', pageE: 'ul#display > li', @@ -1072,6 +1082,7 @@ function: { } }, // 优酷漫画 ykmh_list: { + blank: 1, pager: { nextL: 'li.next > a', pageE: 'li.list-comic', @@ -1100,6 +1111,7 @@ function: { } }, // 漫画星球 mhxqiu_list: { + blank: 1, pager: { nextL: '//div[@class="NewPages"]//a[contains(text(), "下一页")]', pageE: '.cy_list_mh > ul', @@ -1142,6 +1154,7 @@ function: { } }, // 乐语漫画 leyuman_list: { + blank: 1, pager: { nextL: '//a[@class="page-link"][contains(text(), "下一页")]', pageE: '.works_recommend.classification_works > ul', @@ -1174,6 +1187,7 @@ function: { } }, // 新新漫画 _77mh_list: { + blank: 1, pager: { nextL: '//div[@class="pages_s"]/a[text()="下一页"]', pageE: '.ar_list_co > ul > li', @@ -1183,6 +1197,7 @@ function: { }, // 新新漫画 - 分类页 _77mh_search: { host: 'so.77mh.cc', + blank: 1, pager: { nextL: 'a.next', pageE: '.ar_list_co > ul > dl', @@ -1211,6 +1226,7 @@ function: { } }, // 古风漫画网 gufengmh_list: { + blank: 1, pager: { nextL: 'li.next > a', pageE: 'ul.book-list > li', @@ -1242,6 +1258,7 @@ function: { } }, // 砂之船动漫家 szcdmj_list: { + blank: 1, pager: { nextL: '#nextPage', pageE: 'ul.mh-list > li', @@ -1271,6 +1288,7 @@ function: { } }, // Mangabz 漫画 mangabz_list: { + blank: 1, pager: { nextL: '//div[contains(@class,"page-pagination")]//a[contains(text(), ">")]', pageE: 'ul.mh-list > li', @@ -1322,6 +1340,7 @@ function: { } }, // Xmanhua 漫画 xmanhua_list: { + blank: 1, pager: { nextL: '//div[@class="page-pagination"]//a[contains(text(), ">")]', pageE: 'ul.mh-list > li', @@ -1357,6 +1376,7 @@ function: { } }, // COCOMANGA 漫画 cocomanga_list: { + blank: 1, pager: { nextL: ()=> getNextEP('.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\d+/), pageE: 'ul.fed-list-info > li', @@ -1369,6 +1389,7 @@ function: { } }, // COCOMANGA 漫画 - 分类页 cocomanga_search: { + blank: 1, pager: { nextL: ()=> getNextEP('.fed-page-info a.fed-btns-green+a[onclick]', 'page=', /page=\d+/), pageE: 'dl.fed-deta-info', diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 20540e08a..50c1b3c4e 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1028,6 +1028,7 @@ }, "LowEndTalk": { "host": "lowendtalk.com", + "blank": 1, "pager": { "nextL": "a.Next", "pageE": "ul.DataList > li", @@ -1380,6 +1381,7 @@ "IconArchive": { "host": "iconarchive.com", "url": "/\\/(tag|search|category)/", + "blank": 1, "pager": { "nextL": "a.next", "pageE": ".icondetail", @@ -1739,6 +1741,7 @@ }, "小霸王其乐无穷": { "host": "www.yikm.net", + "blank": 1, "pager": { "nextL": "//ul[@class='pager']//a[text()='下一页']", "pageE": "//h2[contains(text(), '所有游戏') or contains(text(), '搜索结果')]/following-sibling::div[1]/div", @@ -1748,6 +1751,7 @@ "Switch520": { "host": ["switch520.com","switch520.net"], "url": "return (!fun.indexOF('.html'))", + "blank": 1, "pager": { "nextL": "a.next", "pageE": ".row.posts-wrapper > div", @@ -1790,6 +1794,7 @@ "RuTracker - 帖子列表": { "host": ["rutracker.org", "rutracker.net"], "url": "/viewforum\\.php/", + "blank": 1, "pager": { "nextL": "#pagination b~a.pg", "pageE": "tr[id^='tr-']", @@ -1809,6 +1814,7 @@ "RuTrackerIN - 帖子列表": { "host": "rutracker.in", "url": "/viewforum\\.php/", + "blank": 1, "pager": { "nextL": ".gensmall[align='right'] strong~a", "pageE": "//table[@class='tablebg']/tbody/tr[./td[@class='row1']]", @@ -1818,6 +1824,7 @@ "byrutor": { "host": "byrut.org", "url": "return (!fun.indexOF(/^\\/\\d+-/))", + "blank": 1, "pager": { "nextL": "//span[@class='pnext']/parent::a", "pageE": ".short_item", @@ -1857,6 +1864,7 @@ "低端影视": { "host": ["ddrk.me","ddys.tv"], "url": "return (fun.lp() == '/' || fun.indexOF(/^\\/page\\//) || fun.indexOF(/\\/(category|tag)\\//))", + "blank": 1, "pager": { "nextL": "a.next", "pageE": ".post-box-list > article", @@ -1876,9 +1884,10 @@ } }, "在线之家": { - "host": ["www.zxzj.me","www.zxzj.fun"], + "host": "www.zxzjtv.com", "url": "return (fun.lp() != '/' && !fun.indexOF('/detail/') && !fun.indexOF('/video/'))", "style": "div.stui-page__all {display: none !important;}", + "blank": 1, "pager": { "nextL": "//ul[contains(@class, 'stui-page__item')]//a[text()='下一页']", "pageE": "ul.stui-vodlist > li", @@ -1891,7 +1900,8 @@ }, "嗯哩嗯哩": { "host": "enlienli.com", - "url": "return (fun.indexOF('/show/') || fun.indexOF('/search'))", + "url": "return (fun.indexOF('/show/') || fun.indexOF('/search') || (fun.indexOF('/type/') && fun.getCSS('#page') != null))", + "blank": 1, "pager": { "nextL": "a.page-number.page-next", "pageE": ".module-items > *", @@ -1905,6 +1915,7 @@ "91 美剧网": { "host": "/mjw\\d+\\.com/", "url": "return (document.title.indexOf('91美剧') > -1 && !fun.indexOF('/w/') && !fun.indexOF('/dp/'))", + "blank": 1, "pager": { "nextL": ".next-page > a", "pageE": ".m-movies > article", @@ -1917,6 +1928,7 @@ "真不卡影院": { "host": "/www\\.zhenbuka\\d\\.com/", "url": "return (fun.indexOF('/vodtype/'))", + "blank": 1, "pager": { "nextL": "//ul[contains(@class, 'stui-page')]/li/a[text()='下一页']", "pageE": "ul.stui-vodlist > li", @@ -1975,6 +1987,7 @@ "樱花动漫": { "host": ["www.imomoe.la","www.imomoe.live"], "url": "return (fun.indexOF('/list/'))", + "blank": 1, "pager": { "nextL": "//div[@class='pages']/a[text()='下一页']", "pageE": "#contrainer > .img> ul > li", @@ -1985,6 +1998,7 @@ "樱花动漫 - 搜索页等": { "host": ["www.imomoe.la","www.imomoe.live"], "url": "return (fun.lp() == '/so.asp' || fun.lp() == '/search.asp')", + "blank": 1, "pager": { "nextL": "//div[@class='pages']/a[text()='下一页']", "pageE": "#contrainer .fire .pics > ul > li", @@ -2018,6 +2032,7 @@ "漫岛动漫": { "host": "www.mandao.tv", "url": "return (fun.lp() != '/' && !fun.indexOF('/man'))", + "blank": 1, "pager": { "nextL": "//div[contains(@class, 'page')]/a[text()='>']", "pageE": ".index-tj > ul > li", @@ -2031,6 +2046,7 @@ "AGE 动漫 - 全部/搜索": { "host": ["www.agemys.com","www.age.tv"], "url": "return (fun.indexOF('/catalog/') || fun.lp() == '/search')", + "blank": 1, "pager": { "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", "pageE": "#container .blockcontent1 > div", @@ -2041,6 +2057,7 @@ "AGE 动漫 - 其他页": { "host": ["www.agemys.com","www.age.tv"], "url": "return (fun.lp() == '/recommend' || fun.lp() == '/update')", + "blank": 1, "pager": { "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", "pageE": "#container .blockcontent > ul > li", @@ -2051,6 +2068,7 @@ "AGE 动漫 - 排行榜": { "host": ["www.agemys.com","www.age.tv"], "url": "return (fun.lp() == '/rank')", + "blank": 1, "pager": { "nextL": "id('container')/ul[@style][not(@class)]/li/a[contains(text(), '下一页')]", "pageE": "#container > .div_right .blockcontent.div_right_r_3 > ul", @@ -2061,6 +2079,7 @@ "233 动漫": { "host": "www.dm233.cc", "url": "return (fun.indexOF('/catalog/') || fun.lp() == '/recommend/' || fun.lp() == '/search')", + "blank": 1, "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", "pageE": ".dhnew ul > li", @@ -2071,6 +2090,7 @@ "233 动漫 - 动漫情报/资讯": { "host": "www.dm233.cc", "url": "return (fun.lp() == '/article/')", + "blank": 1, "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", "pageE": ".xgyd ul > li", @@ -2081,6 +2101,7 @@ "233 动漫 - 排行榜": { "host": "www.dm233.cc", "url": "return (fun.lp() == '/rank/')", + "blank": 1, "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", "pageE": ".side-update.normal-wai > .normal-nei", @@ -2101,6 +2122,7 @@ "host": ["clg.im","ciligou.top","clg00.site"], "url": "/^\\/search/", "style": "body, html {overflow-x: initial !important;}", + "blank": 1, "pager": { "nextL": ".pagination > li.active + li > a", "pageE": "#Search_list_wrapper > li", @@ -2134,8 +2156,7 @@ "pager": { "type": 2, "nextL": "div.layui-flow-more > a", - "nextText": "加载更多", - "scrollD": 1000 + "nextText": "加载更多" } }, "高清电台": { @@ -2143,8 +2164,7 @@ "pager": { "type": 2, "nextL": ".col-md-12 > a, #loadmore > a", - "interval": 1500, - "scrollD": 1000 + "interval": 1500 } }, "爱恋动漫/漫猫动漫/末日动漫": { @@ -2177,6 +2197,8 @@ }, "ACG.RIP": { "host": "acg.rip", + "url": "return (!fun.indexOF('/t/'))", + "blank": 1, "pager": { "nextL": "li.next>a", "pageE": "table.post-index > tbody > tr", @@ -2232,6 +2254,7 @@ }, "Nyaa": { "host": ["nyaa.si","sukebei.nyaa.si"], + "blank": 1, "pager": { "nextL": "a[rel='next'], li.next > a", "pageE": "table.torrent-list > tbody > tr", @@ -2242,6 +2265,7 @@ "YTS": { "host": "yts.mx", "url": "/^\\/browse-movies/", + "blank": 1, "pager": { "nextL": "//ul[contains(@class, 'tsc_pagination')]/li[./a[@class='current']]/following-sibling::li[1]/a", "pageE": ".browse-movie-wrap", @@ -2251,6 +2275,7 @@ "1337x": { "host": "/1337x\\./", "url": "return (document.title.indexOf('1337x') > -1 && fun.indexOF('search/'))", + "blank": 1, "pager": { "nextL": "//div[@class='pagination']//a[text()='>>']", "pageE": "table.table-list > tbody > tr", @@ -2261,6 +2286,7 @@ "RARBG": { "host": "/rarbg/", "url": "return (document.title.indexOf('RARBG') > -1 && fun.lp() == '/torrents.php')", + "blank": 1, "pager": { "nextL": "#pager_links > a[title='next page']", "pageE": "table.lista2t tr.lista2", @@ -2271,6 +2297,7 @@ "Zooqle": { "host": "zooqle.com", "url": "return (fun.lp() == '/search' || fun.indexOF('/browse/') || fun.indexOF('/mov/'))", + "blank": 1, "pager": { "nextL": "a[aria-label='Next']", "pageE": ".table > tbody > tr", @@ -2290,6 +2317,7 @@ "WebHD - 搜索页": { "host": "webhd.cc", "url": "return (fun.indexOF('/search'))", + "blank": 1, "pager": { "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", "pageE": ".col-lg-9 .bg-white.shadow-sm.rounded-3", @@ -2301,6 +2329,7 @@ "MINI4K - 论坛": { "host": "www.mini4k.com", "url": "return (fun.indexOF('/forum') && !fun.indexOF('/topic'))", + "blank": 1, "pager": { "nextL": "a.pager__item--next", "pageE": "#block-white-content tbody > tr", @@ -2311,6 +2340,7 @@ "MINI4K": { "host": "www.mini4k.com", "url": "return (fun.lp() != '/' && !fun.indexOF(/\\/\\d{3,}/))", + "blank": 1, "pager": { "nextL": "a.pager__item--next", "pageE": "div[class*='-item-list'] > ul > li", @@ -2321,6 +2351,7 @@ "A4k 字幕网": { "host": "www.a4k.net", "url": "return (!fun.indexOF('/subtitle/'))", + "blank": 1, "pager": { "nextL": "a.pager__item--next", "pageE": "ul.list > li", @@ -2386,6 +2417,7 @@ "中文字幕网 zimuzimu": { "host": "cn.zimuzimu.com", "url": "return (fun.lp() == '/so_zimu.htm')", + "blank": 1, "pager": { "nextL": "li.page-item.active+li > a", "pageE": "li.thread", @@ -3345,6 +3377,7 @@ "Wiley Online Library + ACS (Publications)": { "host": ["pubs.acs.org","onlinelibrary.wiley.com"], "url": "/\\/doSearch/", + "blank": 1, "history": true, "pager": { "nextL": "a.pagination__btn--next", @@ -3356,6 +3389,7 @@ "Library Genesis": { "host": "/libgen/", "url": "return (document.title.indexOf('Library Genesis') > -1 && fun.lp() == '/index.php' && fun.indexOF('req=','s'))", + "blank": 1, "history": true, "pager": { "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", @@ -3369,6 +3403,7 @@ "host": "www.sciencedirect.com", "url": "fun.isUrlC(); if (fun.lp() == '/search') {setTimeout(function(){fun.insStyle('html, body {height: ' + (document.documentElement.scrollHeight || document.body.scrollHeight) + 'px;}')}, 2000); return true}", "style": "footer {display: none !important;}", + "blank": 1, "iframe": true, "pager": { "type": 5, @@ -3379,6 +3414,7 @@ "Z-Library": { "host": "/(\\dlib|b-ok\\d?|booksc|z-lib)\\./", "url": "return (document.title.indexOf('Z-Library') > -1 && fun.indexOF('/s/'))", + "blank": 1, "history": true, "pager": { "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", @@ -3547,6 +3583,7 @@ "StackOverflow - Questions": { "host": "stackoverflow.com", "url": "return (fun.lp() == '/questions')", + "blank": 1, "pager": { "nextL": "a[rel='next']", "pageE": "#questions > div", @@ -3557,6 +3594,7 @@ "StackOverflow - Search": { "host": "stackoverflow.com", "url": "return (fun.lp() == '/search')", + "blank": 1, "pager": { "nextL": "a[rel='next']", "pageE": ".js-search-results > div:first-child > div", @@ -3567,6 +3605,7 @@ "StackOverflow - Tags": { "host": "stackoverflow.com", "url": "return (fun.lp() == '/tags')", + "blank": 1, "pager": { "nextL": "a[rel='next']", "pageE": "#tags-browser > div", @@ -3577,6 +3616,7 @@ "StackOverflow - Users": { "host": "stackoverflow.com", "url": "return (fun.lp() == '/users')", + "blank": 1, "pager": { "nextL": "a[rel='next']", "pageE": "#user-browser > div:first-child > div", @@ -4233,7 +4273,7 @@ "GreasyFork": { "host": "greasyfork.org", "url": "return (fun.indexOF(/\\/scripts$/) || fun.indexOF('/scripts/by-site/'))", - "blank": 2, + "blank": 1, "pager": { "nextL": "a.next_page", "pageE": "ol#browse-script-list > li", @@ -4243,7 +4283,7 @@ "GreasyFork - 反馈页": { "host": "greasyfork.org", "url": "return (fun.indexOF(/\\/feedback$/))", - "blank": 2, + "blank": 1, "pager": { "nextL": "a.next_page", "pageE": ".script-discussion-list > div", @@ -4254,7 +4294,7 @@ "GreasyFork - 讨论页": { "host": "greasyfork.org", "url": "return (fun.indexOF('/discussions') && !fun.indexOF(/\\/\\d+/))", - "blank": 2, + "blank": 1, "pager": { "nextL": "a.next_page", "pageE": ".discussion-list > div", @@ -4264,16 +4304,17 @@ "UserScript": { "host": "www.userscript.zone", "url": "return (fun.lp() == '/search')", + "blank": 1, "pager": { "nextL": "js;return fun.getNextF('.next > form')", "pageE": ".row.script", - "replaceE": ".pagination", - "scrollD": 1000 + "replaceE": ".pagination" } }, "UserStyles": { "host": "userstyles.world", "url": "return (fun.lp() == '/explore')", + "blank": 1, "pager": { "nextL": "a.Pagination-button.next", "pageE": ".card", @@ -4283,6 +4324,7 @@ "Quicker": { "host": "getquicker.net", "url": "/\\/Share\\//", + "blank": 1, "pager": { "nextL": "//a[@class='page-link' and text()='下一页']", "pageE": "table.table > tbody > tr:not(:first-child), script[src^='/js/site.js']", @@ -4294,6 +4336,7 @@ "Xposed": { "host": "repo.xposed.info", "url": "/\\/module-overview/", + "blank": 1, "pager": { "nextL": "li.pager-next > a", "pageE": ".view-content > table > tbody > tr", @@ -4395,6 +4438,16 @@ "replaceE": "ul.pagination" } }, + "Anime Pictures": { + "host": "anime-pictures.net", + "url": "return (fun.indexOF('/pictures/') && !fun.indexOF('/view_post/'))", + "blank": 1, + "pager": { + "nextL": ".active+a", + "pageE": ".posts_block, .image_body, table.all_tags, table.scores, table#comments", + "replaceE": ".numeric_pages" + } + }, "新片场": { "host": "www.xinpianchang.com", "url": "return (fun.lp() != '/')", @@ -4986,16 +5039,6 @@ "replaceE": "#paginator" } }, - "Anime Pictures": { - "host": "anime-pictures.net", - "url": "return (fun.indexOF('/pictures/') && !fun.indexOF('/view_post/'))", - "blank": 1, - "pager": { - "nextL": ".active+a", - "pageE": ".posts_block, .image_body, table.all_tags, table.scores, table#comments", - "replaceE": ".numeric_pages" - } - }, "Gelbooru": { "host": ["gelbooru.com","tbib.org","safebooru.org","illusioncards.booru.org"], "url": "/s=list/", From 5c41a7b01ae535c8ee049abd34ce4c1a2dcea27f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sat, 26 Mar 2022 22:14:15 +0800 Subject: [PATCH 0072/1272] =?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 --- TargetBlank.user.js | 31 +++++++++++++++++++++++++++++-- other/Autopage/rules.json | 17 ++++++++--------- 2 files changed, 37 insertions(+), 11 deletions(-) diff --git a/TargetBlank.user.js b/TargetBlank.user.js index 542cd3bdd..561102b4d 100644 --- a/TargetBlank.user.js +++ b/TargetBlank.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 新标签页打开链接 -// @version 1.0.6 +// @version 1.0.7 // @author X.I.U // @description 将网页中所有链接改为新标签页打开~ // @match *://*/* @@ -15,7 +15,7 @@ (function() { 'use strict'; - targetBlank(); // 修改为新标签页打开 + forceTarget(); // 修改为新标签页打开 targetDiscuz(); // 针对 Discuz! 论坛的帖子 aObserver(); // 针对动态加载内容中的 a 标签 @@ -32,6 +32,33 @@ if (!_this.target) {_this.target = '_self'} }); } + function forceTarget() { + document.body.addEventListener('click', function(e) { + if (e.target.tagName === 'A') { + forceTarget_(e.target, e); + } else { + let path = e.path || e.composedPath(); + for (let i = 1; i < path.length - 4; i++) { + //console.log(path[i]) + if (path[i].tagName === 'A') { + forceTarget_(path[i], e); + break; + } + } + } + }); + + function forceTarget_(target, e){ + if (target.href && target.target != '_blank' && !(target.getAttribute('onclick')) && target.href.slice(0,4) == 'http' && target.getAttribute('href').slice(0,1) != '#') { + e.preventDefault(); // 阻止默认打开链接事件 + e.stopImmediatePropagation(); + //console.log(target.href); + //window.top.location.href = target.href; + window.GM_openInTab(target.href, {active: true,insert: true,setParent: true}); + } + } + //document.head.appendChild(document.createElement('base')).target = '_top'; + } // 针对 Discuz! 论坛的帖子 diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 50c1b3c4e..42b1daf7b 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1037,7 +1037,7 @@ }, "Pixiv - 分类页": { "host": "www.pixiv.net", - "url": "fun.isUrlC(); if (fun.isMobile()) {return false}; if (fun.lp() == '/') {fun.forceTarget();} else if (fun.indexOF('/tags/')) {return true;} else if (fun.indexOF('/artworks/')) {setTimeout(function(){fun.getXpath('//button[contains(string(), \"查看全部\") or contains(string(), \"See all\") or contains(string(), \"すべて見る\") or contains(string(), \"모두 보기\")]').click();}, 3000)}", + "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(function(){fun.getXpath('//button[contains(string(), \"查看全部\") or contains(string(), \"See all\") or contains(string(), \"すべて見る\") or contains(string(), \"모두 보기\")]').click();}, 3000)}", "blank": 2, "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, @@ -1083,7 +1083,7 @@ }, "Vilipix": { "host": "www.vilipix.com", - "url": "fun.isUrlC(); if (fun.lp() == '/') {forceTarget();} else if (fun.indexOF(/\\/(tags|user|new|ranking)/)) {return true;}", + "url": "fun.isUrlC(); if (fun.lp() == '/') {fun.blank();} else if (fun.indexOF(/\\/(tags|user|new|ranking)/)) {return true;}", "blank": 2, "pager": { "type": 6, @@ -3710,7 +3710,7 @@ }, "博客园 - 文章列表": { "host": "www.cnblogs.com", - "url": "if (fun.getCSS('#post_list')) return true", + "url": "return (fun.getCSS('#post_list') != null)", "pager": { "nextL": "//div[@class='pager']//a[contains(text(), '>')]", "pageE": "#post_list > article", @@ -3720,7 +3720,8 @@ }, "博客园 - 文章列表 - 个人": { "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') != null) { if (!fun.getCSS('#homepage_top_pager')) {fun.getCSS('#centercontent, .forFlow').insertAdjacentHTML('afterbegin', '
    '); fun.getCSS('#centercontent, .forFlow').insertAdjacentHTML('beforeend', '
    ');}; return true}", + "blank": 1, "pager": { "nextL": "//div[@class='topicListFooter']//a[contains(text(), '下一页')]", "pageE": "div.day", @@ -3826,8 +3827,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']/parent::div/following-sibling::div[@class='navigation-tree__nested']/a[@class='navigation-tree__link'][not(@target='_blank')]", "pageE": "main article > *", - "replaceE": "main navigation-tree, main .scrollbar", - "scrollD": 1500 + "replaceE": "main navigation-tree, main .scrollbar" } }, "Gitee - Explore 列表": { @@ -5137,8 +5137,7 @@ "pager": { "nextL": "li.next-page > a", "pageE": "article[class]:not(.excerpt-minic-index)", - "replaceE": ".pagination", - "scrollD": 1500 + "replaceE": ".pagination" } }, "美女推 - 图片页": { @@ -5212,7 +5211,7 @@ "replaceE": ".pagination" } }, - "tvv": { + "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;}", From 8e2209812b9489cea5cb12d66d30ec04beb5a00f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 27 Mar 2022 10:08:56 +0800 Subject: [PATCH 0073/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[blank:=203]=20?= =?UTF-8?q?=E8=A7=84=E5=88=99;=20=E6=96=B0=E5=A2=9E=20=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E9=87=8D=E8=AF=95=20=E5=8A=9F=E8=83=BD;=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=20[s1.byrutor.com]=20=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 75 +++++++++++++++++++++------------------ other/Autopage/rules.json | 16 ++++++++- 2 files changed, 55 insertions(+), 36 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 34558fbd3..3a7cc760b 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -3,7 +3,7 @@ // @name:zh-CN 自动无缝翻页 // @name:zh-TW 自動無縫翻頁 // @name:en AutoPager -// @version 5.4.9 +// @version 5.5.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...) 等網站~ @@ -13,6 +13,7 @@ // @connect raw.iqiq.io // @connect raw.fastgit.org // @connect hk1.monika.love +// @connect cdn.staticaly.com // @connect www.xuexiniu.com // @connect bbs.xuexiniu.com // @connect weili.ooopic.com @@ -308,7 +309,7 @@ thread: 对于社区类网站,要在 帖子内 的规则中加入这个,用于脚本的 [帖子内自动翻页] 功能(即用户可以选择开启/关闭所有社区类网站帖子内的自动翻页) style: 要插入网页的 CSS Style 样式 retry: 允许获取失败后重试 - blank: 强制新标签页打开链接(1 = base 方式,2 = 点击委托事件方式) + blank: 强制新标签页打开链接(1 = ,2 = 对 body 点击事件委托,3 = 仅对 pageE 的父元素点击事件委托) pager: { type: 翻页模式 @@ -1441,11 +1442,9 @@ function: { let urlArr = ['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://cdn.staticaly.com/gh/XIU2/UserScript/master/other/Autopage/rules.json', - //'https://cdn.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json', - //'https://fastly.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json', - //'https://github.do/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json' + 'https://raw.fastgit.org/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'] if (update) { // 手动更新(或安装后首次更新) GM_notification({text: '🔄 更新外置翻页规则中,请勿操作网页...', timeout: 3000}); @@ -1483,16 +1482,16 @@ function: { GM_notification({text: '❌ 为空!更新失败,请联系作者解决...', timeout: 5000}); } } catch (e) { - console.log(e); + console.log('URL:' + url, e); GM_notification({text: '❌ 报错!更新失败,请联系作者解决...', timeout: 5000}); } }, onerror: function (response) { - console.log(response) + console.log('URL:' + url, response) GM_notification({text: '❌ 错误!更新失败,请联系作者解决...', timeout: 5000}); }, ontimeout: function (response) { - console.log(response) + console.log('URL:' + url, response) GM_notification({text: '❌ 超时!更新失败,请联系作者解决...', timeout: 5000}); } }) @@ -2637,12 +2636,13 @@ function: { } }, onerror: function (response) { - console.log(response) + console.log('URL:' + url, response) GM_notification({text: '❌ 获取下一页失败...', timeout: 5000}); }, ontimeout: function (response) { - console.log(response) - GM_notification({text: '❌ 获取下一页超时...', timeout: 5000}); + setTimeout(function(){curSite.pageUrl = '';}, 3000) + console.log('URL:' + url, response) + GM_notification({text: '❌ 获取下一页超时,可 3 秒后再次滚动网页重试(或尝试刷新网页)...', timeout: 5000}); } }); } @@ -2688,12 +2688,13 @@ function: { } }, onerror: function (response) { - console.log(response) + console.log('URL:' + url, response) GM_notification({text: '❌ 获取下一页失败...', timeout: 5000}); }, ontimeout: function (response) { - console.log(response) - GM_notification({text: '❌ 获取下一页超时...', timeout: 5000}); + setTimeout(function(){curSite.pageUrl = '';}, 3000) + console.log('URL:' + url, response) + GM_notification({text: '❌ 获取下一页超时,可 3 秒后再次滚动网页重试(或尝试刷新网页)...', timeout: 5000}); } }); } @@ -3214,35 +3215,39 @@ function: { // 强制新标签页打开链接 function forceTarget() { - // 过渡 + // 过渡,过几个星期后删除这两个判断 if (curSite.forceTarget != undefined && curSite.blank == undefined) curSite.blank = curSite.forceTarget + if (curSite.blank === true) curSite.blank = 2 + // 过渡,过几个星期后删除这两个判断 + if (curSite.blank === 1) { document.head.appendChild(document.createElement('base')).target = '_blank'; - } else if (curSite.blank === 2 || curSite.blank === true) { - document.body.addEventListener('click', function(e) { - if (e.target.tagName === 'A') { - forceTarget_(e.target, e); - } else { - let path = e.path || e.composedPath(); - for (let i = 1; i < path.length - 3; i++) { - //console.log(path[i]) - if (path[i].tagName === 'A') { - forceTarget_(path[i], e); - break; - } - } - } - }); + + } else { + let d; + if (curSite.blank === 2) { + d = document.body + } else if (curSite.blank === 3) { + let dd = toE5pop(getAll(curSite.pager.pageE)); + if (dd && dd.parentElement != null) d = dd.parentElement + } + if (!d) return function forceTarget_(target, e){ if (target.href && target.target != '_blank' && !(target.getAttribute('onclick')) && target.href.slice(0,4) == 'http' && target.getAttribute('href').slice(0,1) != '#') { e.preventDefault(); // 阻止默认打开链接事件 - //console.log(target.href); - //window.top.location.href = target.href; window.GM_openInTab(target.href, {active: true,insert: true,setParent: true}); } } - //document.head.appendChild(document.createElement('base')).target = '_top'; + d.addEventListener('click', function(e) { + //console.log(e.target.tagName, e.path) + if (e.target.tagName === 'A') { + forceTarget_(e.target, e); + } else { + let path = e.path || e.composedPath(); + for (let i = 1; i < path.length - 4; i++) {if (path[i].tagName === 'A') {forceTarget_(path[i], e); break;}} + } + }); } } // 判断元素是否隐藏(隐藏返回 true) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 42b1daf7b..35783fb1d 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1821,7 +1821,7 @@ "replaceE": ".gensmall[align='right']" } }, - "byrutor": { + "byrut.org": { "host": "byrut.org", "url": "return (!fun.indexOF(/^\\/\\d+-/))", "blank": 1, @@ -1831,6 +1831,20 @@ "replaceE": ".bottom-page" } }, + "s1.byrutor.com": { + "host": "s1.byrutor.com", + "url": "return (!fun.indexOF('do=search','s') && fun.getCSS('.paging-wrapper-bottom') != null)", + "blank": 3, + "pager": { + "nextL": ".paging-wrapper-bottom > span + a", + "pageE": "div[id^='entryID']", + "replaceE": ".paging-wrapper-bottom", + "scrollD": 2000 + }, + "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\\//", From 61e71b26fdf2df14afd09dcc4ada0d93d05ffda6 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 27 Mar 2022 10:30:39 +0800 Subject: [PATCH 0074/1272] =?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?= 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 3a7cc760b..78cce434a 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -236,7 +236,7 @@ } else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) { console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 103; } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { - if (getAllCSS('article[class]').length > 2 && getCSS('#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi')) { + if (getAllCSS('article[class], div[id^="post-"]').length > 2 && getCSS('#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi')) { if (getCSS('a.next')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)`); return 104; } else if (getCSS('a[rel="next" i], a[aria-label="Next Page" i], a[aria-label="下一页"]')) { @@ -599,7 +599,7 @@ function: { url: function(nextL) {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, blank: 1, pager: { - pageE: 'article[class]', + pageE: 'article[class], div[id^="post-"]', replaceE: '#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi', scrollD: 2000 } From 73e85ce581ac6b980951f135f6399d849f92592b Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 27 Mar 2022 11:57:44 +0800 Subject: [PATCH 0075/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E8=B5=84?= =?UTF-8?q?=E6=9C=AC=E5=B8=82=E5=9C=BA=E7=94=B5=E5=AD=90=E5=8C=96=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=8A=AB=E9=9C=B2=E5=B9=B3=E5=8F=B0]=E3=80=81[?= =?UTF-8?q?=E8=9C=9C=E6=9F=91=E8=AE=A1=E5=88=92=20-=20Mikan]=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 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 35783fb1d..2165cad6b 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2201,6 +2201,15 @@ "aF": "document.body.appendChild(document.createElement('script')).textContent = `$('#topic_list > tbody > tr:even:not(.even):not(.odd)').addClass('even'); $('#topic_list > tbody > tr:odd:not(.even):not(.odd)').addClass('odd');`" } }, + "蜜柑计划 - Mikan": { + "host": "mikanani.me", + "url": "/^\\/Home\\/Classic/", + "pager": { + "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 + } + }, "扶她动漫": { "host": ["futaacg.com", "www.futaacg.com"], "pager": { @@ -4597,6 +4606,16 @@ "scrollD": 1000 } }, + "资本市场电子化信息披露平台": { + "host": "eid.csrc.gov.cn", + "url": "/\\/\\d+\\/index/", + "pager": { + "nextL": "js; if (fun.getCSS('li.on+li:not(.click) > a') == null) {return}; if (fun.indexOF('_f.html')) {fun.getCSS('#channelFilterForm').action = `index_${fun.getCSS('li.on+li:not(.click) > a').textContent}_f.html`; return fun.getNextF('#channelFilterForm');} else {return fun.getCSS('img[src$=\"location.png\"]~a:last-of-type').href.replace('.html',`_${fun.getCSS('li.on+li:not(.click) > a').textContent}.html`);}", + "pageE": "table > tbody > tr:not(:first-of-type)", + "replaceE": "ul.g-ul", + "scrollD": 1000 + } + }, "医学考研网": { "host": "info.medkaoyan.net", "url": "/\\/archives/", From f8180302589fd610510c0d66944990b26fe0e15f Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 27 Mar 2022 12:13:19 +0800 Subject: [PATCH 0076/1272] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20[=E6=B2=A1?= =?UTF-8?q?=E5=BE=97=E6=AF=94=20-=20=E5=88=86=E7=B1=BB/=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E9=A1=B5]=E3=80=81[=E9=93=85=E7=AC=94=E5=B0=8F=E8=AF=B4=20-=20?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E9=A1=B5]=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 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 2165cad6b..06b66c1bf 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2857,12 +2857,11 @@ }, "铅笔小说 - 分类页": { "host": "www.23qb.com", - "url": "return (fun.lp != '/' && !fun.indexOF(/\\/book\\/\\d+\\//))", + "url": "return (fun.lp() != '/' && !fun.indexOF(/\\/book\\/\\d+\\//))", "pager": { "nextL": ".pages a.next, .pages > strong+a", "pageE": "#sitebox > dl", - "replaceE": ".pages", - "scrollD": 1000 + "replaceE": ".pages" }, "function": { "bF": "return fun.src_bF(pageE, [0, 'img[_src]', '_src'])" @@ -4386,7 +4385,7 @@ }, "没得比 - 分类/搜索页": { "host": "www.meidebi.com", - "url": "return (fun.indexOF('/fenlei/') || fun.lp == '/Search')", + "url": "return (fun.indexOF('/fenlei/') || fun.lp() == '/Search')", "pager": { "nextL": "a.next", "pageE": ".share-list > ul > li", From f9b75d7a9ab26a9bca7fe9e65f66b47a7b052908 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 27 Mar 2022 13:00:25 +0800 Subject: [PATCH 0077/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E4=BB=A3?= =?UTF-8?q?=E7=A0=81(=E5=8C=BA=E5=88=86=E5=A4=A7=E5=B0=8F=E5=86=99?= =?UTF-8?q?=E7=9B=B8=E5=85=B3)?= 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 78cce434a..dac13cd41 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.0 +// @version 5.5.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...) 等網站~ @@ -151,7 +151,7 @@ for (let i of DBSite[now].host) { // 遍历 数组 // 针对自定义翻页规则中的正则 - if (typeof i === 'string' && i.slice(0,1) === '/') i = new RegExp(i.slice(1,i.length-1), 'i') + if (typeof i === 'string' && i.slice(0,1) === '/') i = new RegExp(i.slice(1,i.length-1)) if ((i instanceof RegExp && i.test(location.hostname)) || (typeof i === 'string' && i === location.hostname)) { if (self != top) {if (!DBSite[now].iframe) break end;} // 如果当前位于 iframe 框架下,就需要判断是否需要继续执行 @@ -179,7 +179,7 @@ // 如果是 正则/字符串 } else { // 针对自定义翻页规则中的正则 - if (typeof DBSite[now].host === 'string' && DBSite[now].host.slice(0,1) === '/') DBSite[now].host = new RegExp(DBSite[now].host.slice(1,DBSite[now].host.length-1), 'i') + if (typeof DBSite[now].host === 'string' && DBSite[now].host.slice(0,1) === '/') DBSite[now].host = new RegExp(DBSite[now].host.slice(1,DBSite[now].host.length-1)) if ((DBSite[now].host instanceof RegExp && DBSite[now].host.test(location.hostname)) || (typeof DBSite[now].host === 'string' && DBSite[now].host === location.hostname)) { if (self != top) {if (!DBSite[now].iframe) break;} // 如果当前位于 iframe 框架下,就需要判断是否需要继续执行 @@ -3263,7 +3263,7 @@ function: { urlC = true; } // 判断 URL 是否存在指定文本 - function indexOF(e, l = 'p', low = false){ + function indexOF(e, l = 'p', low = true){ switch (l) { case 'h': l = location.href; break; @@ -3273,11 +3273,11 @@ function: { l = location.search; break; } //console.log(l,e,l.indexOf(e)) - if (low) {e = e.toLowerCase(); l = l.toLowerCase();} // 全部转为小写 if (e instanceof RegExp) { if (e.test(l)) return true } else { - if (l.indexOf(e) > -1) return true + if (low) {e = e.toLowerCase(); l = l.toLowerCase();} // 全部转为小写(即不区分大小写) + if (l.indexOf(e) != -1) return true } return false } From 0d94b522883778a094bebb6589ca4a0ad68d98a6 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 27 Mar 2022 17:48:21 +0800 Subject: [PATCH 0078/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[AniRena]=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 | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 06b66c1bf..a7bd93cd0 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2086,8 +2086,7 @@ "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])", - "scrollD": 1000 + "replaceE": "#container > ul[style]:not([class])" } }, "233 动漫": { @@ -2108,8 +2107,7 @@ "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", "pageE": ".xgyd ul > li", - "replaceE": ".pagelist", - "scrollD": 1000 + "replaceE": ".pagelist" } }, "233 动漫 - 排行榜": { @@ -2119,8 +2117,7 @@ "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", "pageE": ".side-update.normal-wai > .normal-nei", - "replaceE": ".pagelist", - "scrollD": 1000 + "replaceE": ".pagelist" } }, "音范丝": { @@ -2218,6 +2215,16 @@ "replaceE": "ul.pagination" } }, + "AniRena": { + "host": "www.anirena.com", + "url": "return (fun.lp() == '/' || fun.lp() == '/index.php')", + "pager": { + "nextL": "a.disabled+a:not(.disabled)", + "pageE": ".full2, .full2+script", + "replaceE": ".full3.buttons", + "scriptT": 2 + } + }, "ACG.RIP": { "host": "acg.rip", "url": "return (!fun.indexOF('/t/'))", @@ -2281,8 +2288,7 @@ "pager": { "nextL": "a[rel='next'], li.next > a", "pageE": "table.torrent-list > tbody > tr", - "replaceE": "ul.pagination", - "scrollD": 2000 + "replaceE": "ul.pagination" } }, "YTS": { @@ -2302,8 +2308,7 @@ "pager": { "nextL": "//div[@class='pagination']//a[text()='>>']", "pageE": "table.table-list > tbody > tr", - "replaceE": ".pagination", - "scrollD": 1200 + "replaceE": ".pagination" } }, "RARBG": { @@ -2313,8 +2318,7 @@ "pager": { "nextL": "#pager_links > a[title='next page']", "pageE": "table.lista2t tr.lista2", - "replaceE": "#pager_links", - "scrollD": 1200 + "replaceE": "#pager_links" } }, "Zooqle": { From abcb9882d291760c701fb715949738459a4b8a5e Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 27 Mar 2022 17:48:40 +0800 Subject: [PATCH 0079/1272] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TargetBlank.user.js | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/TargetBlank.user.js b/TargetBlank.user.js index 561102b4d..6b9f61ff2 100644 --- a/TargetBlank.user.js +++ b/TargetBlank.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 新标签页打开链接 -// @version 1.0.7 +// @version 1.0.8 // @author X.I.U // @description 将网页中所有链接改为新标签页打开~ // @match *://*/* @@ -15,7 +15,7 @@ (function() { 'use strict'; - forceTarget(); // 修改为新标签页打开 + targetBlank(); // 修改为新标签页打开 targetDiscuz(); // 针对 Discuz! 论坛的帖子 aObserver(); // 针对动态加载内容中的 a 标签 @@ -32,33 +32,6 @@ if (!_this.target) {_this.target = '_self'} }); } - function forceTarget() { - document.body.addEventListener('click', function(e) { - if (e.target.tagName === 'A') { - forceTarget_(e.target, e); - } else { - let path = e.path || e.composedPath(); - for (let i = 1; i < path.length - 4; i++) { - //console.log(path[i]) - if (path[i].tagName === 'A') { - forceTarget_(path[i], e); - break; - } - } - } - }); - - function forceTarget_(target, e){ - if (target.href && target.target != '_blank' && !(target.getAttribute('onclick')) && target.href.slice(0,4) == 'http' && target.getAttribute('href').slice(0,1) != '#') { - e.preventDefault(); // 阻止默认打开链接事件 - e.stopImmediatePropagation(); - //console.log(target.href); - //window.top.location.href = target.href; - window.GM_openInTab(target.href, {active: true,insert: true,setParent: true}); - } - } - //document.head.appendChild(document.createElement('base')).target = '_top'; - } // 针对 Discuz! 论坛的帖子 From 36ef806e77c51c3ac863fb9a2148d929c88841c1 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 27 Mar 2022 22:09:45 +0800 Subject: [PATCH 0080/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[JavDisk]=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81;=20=E4=BC=98=E5=8C=96=20=E8=A7=84=E5=88=99(?= =?UTF-8?q?=E5=B0=86=E9=83=A8=E5=88=86=20blank=20=E8=A7=84=E5=88=99?= =?UTF-8?q?=E4=BB=8E=201=20=E6=94=B9=E4=B8=BA=203)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- other/Autopage/rules.json | 178 ++++++++++++++++++++------------------ 1 file changed, 96 insertions(+), 82 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index a7bd93cd0..db119a96d 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1028,7 +1028,7 @@ }, "LowEndTalk": { "host": "lowendtalk.com", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.Next", "pageE": "ul.DataList > li", @@ -1381,7 +1381,7 @@ "IconArchive": { "host": "iconarchive.com", "url": "/\\/(tag|search|category)/", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.next", "pageE": ".icondetail", @@ -1741,7 +1741,7 @@ }, "小霸王其乐无穷": { "host": "www.yikm.net", - "blank": 1, + "blank": 3, "pager": { "nextL": "//ul[@class='pager']//a[text()='下一页']", "pageE": "//h2[contains(text(), '所有游戏') or contains(text(), '搜索结果')]/following-sibling::div[1]/div", @@ -1751,7 +1751,7 @@ "Switch520": { "host": ["switch520.com","switch520.net"], "url": "return (!fun.indexOF('.html'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.next", "pageE": ".row.posts-wrapper > div", @@ -1794,7 +1794,7 @@ "RuTracker - 帖子列表": { "host": ["rutracker.org", "rutracker.net"], "url": "/viewforum\\.php/", - "blank": 1, + "blank": 3, "pager": { "nextL": "#pagination b~a.pg", "pageE": "tr[id^='tr-']", @@ -1814,7 +1814,7 @@ "RuTrackerIN - 帖子列表": { "host": "rutracker.in", "url": "/viewforum\\.php/", - "blank": 1, + "blank": 3, "pager": { "nextL": ".gensmall[align='right'] strong~a", "pageE": "//table[@class='tablebg']/tbody/tr[./td[@class='row1']]", @@ -1824,7 +1824,7 @@ "byrut.org": { "host": "byrut.org", "url": "return (!fun.indexOF(/^\\/\\d+-/))", - "blank": 1, + "blank": 3, "pager": { "nextL": "//span[@class='pnext']/parent::a", "pageE": ".short_item", @@ -1878,7 +1878,7 @@ "低端影视": { "host": ["ddrk.me","ddys.tv"], "url": "return (fun.lp() == '/' || fun.indexOF(/^\\/page\\//) || fun.indexOF(/\\/(category|tag)\\//))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.next", "pageE": ".post-box-list > article", @@ -1901,7 +1901,7 @@ "host": "www.zxzjtv.com", "url": "return (fun.lp() != '/' && !fun.indexOF('/detail/') && !fun.indexOF('/video/'))", "style": "div.stui-page__all {display: none !important;}", - "blank": 1, + "blank": 3, "pager": { "nextL": "//ul[contains(@class, 'stui-page__item')]//a[text()='下一页']", "pageE": "ul.stui-vodlist > li", @@ -1915,7 +1915,7 @@ "嗯哩嗯哩": { "host": "enlienli.com", "url": "return (fun.indexOF('/show/') || fun.indexOF('/search') || (fun.indexOF('/type/') && fun.getCSS('#page') != null))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.page-number.page-next", "pageE": ".module-items > *", @@ -1929,7 +1929,7 @@ "91 美剧网": { "host": "/mjw\\d+\\.com/", "url": "return (document.title.indexOf('91美剧') > -1 && !fun.indexOF('/w/') && !fun.indexOF('/dp/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": ".next-page > a", "pageE": ".m-movies > article", @@ -1942,7 +1942,7 @@ "真不卡影院": { "host": "/www\\.zhenbuka\\d\\.com/", "url": "return (fun.indexOF('/vodtype/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "//ul[contains(@class, 'stui-page')]/li/a[text()='下一页']", "pageE": "ul.stui-vodlist > li", @@ -2001,7 +2001,7 @@ "樱花动漫": { "host": ["www.imomoe.la","www.imomoe.live"], "url": "return (fun.indexOF('/list/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "//div[@class='pages']/a[text()='下一页']", "pageE": "#contrainer > .img> ul > li", @@ -2012,7 +2012,7 @@ "樱花动漫 - 搜索页等": { "host": ["www.imomoe.la","www.imomoe.live"], "url": "return (fun.lp() == '/so.asp' || fun.lp() == '/search.asp')", - "blank": 1, + "blank": 3, "pager": { "nextL": "//div[@class='pages']/a[text()='下一页']", "pageE": "#contrainer .fire .pics > ul > li", @@ -2046,7 +2046,7 @@ "漫岛动漫": { "host": "www.mandao.tv", "url": "return (fun.lp() != '/' && !fun.indexOF('/man'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "//div[contains(@class, 'page')]/a[text()='>']", "pageE": ".index-tj > ul > li", @@ -2060,7 +2060,7 @@ "AGE 动漫 - 全部/搜索": { "host": ["www.agemys.com","www.age.tv"], "url": "return (fun.indexOF('/catalog/') || fun.lp() == '/search')", - "blank": 1, + "blank": 3, "pager": { "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", "pageE": "#container .blockcontent1 > div", @@ -2071,7 +2071,7 @@ "AGE 动漫 - 其他页": { "host": ["www.agemys.com","www.age.tv"], "url": "return (fun.lp() == '/recommend' || fun.lp() == '/update')", - "blank": 1, + "blank": 3, "pager": { "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", "pageE": "#container .blockcontent > ul > li", @@ -2082,7 +2082,7 @@ "AGE 动漫 - 排行榜": { "host": ["www.agemys.com","www.age.tv"], "url": "return (fun.lp() == '/rank')", - "blank": 1, + "blank": 3, "pager": { "nextL": "id('container')/ul[@style][not(@class)]/li/a[contains(text(), '下一页')]", "pageE": "#container > .div_right .blockcontent.div_right_r_3 > ul", @@ -2092,7 +2092,7 @@ "233 动漫": { "host": "www.dm233.cc", "url": "return (fun.indexOF('/catalog/') || fun.lp() == '/recommend/' || fun.lp() == '/search')", - "blank": 1, + "blank": 3, "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", "pageE": ".dhnew ul > li", @@ -2103,7 +2103,7 @@ "233 动漫 - 动漫情报/资讯": { "host": "www.dm233.cc", "url": "return (fun.lp() == '/article/')", - "blank": 1, + "blank": 3, "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", "pageE": ".xgyd ul > li", @@ -2113,7 +2113,7 @@ "233 动漫 - 排行榜": { "host": "www.dm233.cc", "url": "return (fun.lp() == '/rank/')", - "blank": 1, + "blank": 3, "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", "pageE": ".side-update.normal-wai > .normal-nei", @@ -2133,7 +2133,7 @@ "host": ["clg.im","ciligou.top","clg00.site"], "url": "/^\\/search/", "style": "body, html {overflow-x: initial !important;}", - "blank": 1, + "blank": 3, "pager": { "nextL": ".pagination > li.active + li > a", "pageE": "#Search_list_wrapper > li", @@ -2228,7 +2228,7 @@ "ACG.RIP": { "host": "acg.rip", "url": "return (!fun.indexOF('/t/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "li.next>a", "pageE": "table.post-index > tbody > tr", @@ -2284,7 +2284,7 @@ }, "Nyaa": { "host": ["nyaa.si","sukebei.nyaa.si"], - "blank": 1, + "blank": 3, "pager": { "nextL": "a[rel='next'], li.next > a", "pageE": "table.torrent-list > tbody > tr", @@ -2294,7 +2294,7 @@ "YTS": { "host": "yts.mx", "url": "/^\\/browse-movies/", - "blank": 1, + "blank": 3, "pager": { "nextL": "//ul[contains(@class, 'tsc_pagination')]/li[./a[@class='current']]/following-sibling::li[1]/a", "pageE": ".browse-movie-wrap", @@ -2304,7 +2304,7 @@ "1337x": { "host": "/1337x\\./", "url": "return (document.title.indexOf('1337x') > -1 && fun.indexOF('search/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "//div[@class='pagination']//a[text()='>>']", "pageE": "table.table-list > tbody > tr", @@ -2314,7 +2314,7 @@ "RARBG": { "host": "/rarbg/", "url": "return (document.title.indexOf('RARBG') > -1 && fun.lp() == '/torrents.php')", - "blank": 1, + "blank": 3, "pager": { "nextL": "#pager_links > a[title='next page']", "pageE": "table.lista2t tr.lista2", @@ -2324,7 +2324,7 @@ "Zooqle": { "host": "zooqle.com", "url": "return (fun.lp() == '/search' || fun.indexOF('/browse/') || fun.indexOF('/mov/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a[aria-label='Next']", "pageE": ".table > tbody > tr", @@ -2344,7 +2344,7 @@ "WebHD - 搜索页": { "host": "webhd.cc", "url": "return (fun.indexOF('/search'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", "pageE": ".col-lg-9 .bg-white.shadow-sm.rounded-3", @@ -2356,7 +2356,7 @@ "MINI4K - 论坛": { "host": "www.mini4k.com", "url": "return (fun.indexOF('/forum') && !fun.indexOF('/topic'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.pager__item--next", "pageE": "#block-white-content tbody > tr", @@ -2367,7 +2367,7 @@ "MINI4K": { "host": "www.mini4k.com", "url": "return (fun.lp() != '/' && !fun.indexOF(/\\/\\d{3,}/))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.pager__item--next", "pageE": "div[class*='-item-list'] > ul > li", @@ -2378,7 +2378,7 @@ "A4k 字幕网": { "host": "www.a4k.net", "url": "return (!fun.indexOF('/subtitle/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.pager__item--next", "pageE": "ul.list > li", @@ -2444,7 +2444,7 @@ "中文字幕网 zimuzimu": { "host": "cn.zimuzimu.com", "url": "return (fun.lp() == '/so_zimu.htm')", - "blank": 1, + "blank": 3, "pager": { "nextL": "li.page-item.active+li > a", "pageE": "li.thread", @@ -3403,7 +3403,7 @@ "Wiley Online Library + ACS (Publications)": { "host": ["pubs.acs.org","onlinelibrary.wiley.com"], "url": "/\\/doSearch/", - "blank": 1, + "blank": 3, "history": true, "pager": { "nextL": "a.pagination__btn--next", @@ -3415,7 +3415,7 @@ "Library Genesis": { "host": "/libgen/", "url": "return (document.title.indexOf('Library Genesis') > -1 && fun.lp() == '/index.php' && fun.indexOF('req=','s'))", - "blank": 1, + "blank": 3, "history": true, "pager": { "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", @@ -3429,7 +3429,7 @@ "host": "www.sciencedirect.com", "url": "fun.isUrlC(); if (fun.lp() == '/search') {setTimeout(function(){fun.insStyle('html, body {height: ' + (document.documentElement.scrollHeight || document.body.scrollHeight) + 'px;}')}, 2000); return true}", "style": "footer {display: none !important;}", - "blank": 1, + "blank": 3, "iframe": true, "pager": { "type": 5, @@ -3440,7 +3440,7 @@ "Z-Library": { "host": "/(\\dlib|b-ok\\d?|booksc|z-lib)\\./", "url": "return (document.title.indexOf('Z-Library') > -1 && fun.indexOF('/s/'))", - "blank": 1, + "blank": 3, "history": true, "pager": { "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/following-sibling::td[1]//a", @@ -3609,7 +3609,7 @@ "StackOverflow - Questions": { "host": "stackoverflow.com", "url": "return (fun.lp() == '/questions')", - "blank": 1, + "blank": 3, "pager": { "nextL": "a[rel='next']", "pageE": "#questions > div", @@ -3620,7 +3620,7 @@ "StackOverflow - Search": { "host": "stackoverflow.com", "url": "return (fun.lp() == '/search')", - "blank": 1, + "blank": 3, "pager": { "nextL": "a[rel='next']", "pageE": ".js-search-results > div:first-child > div", @@ -3631,7 +3631,7 @@ "StackOverflow - Tags": { "host": "stackoverflow.com", "url": "return (fun.lp() == '/tags')", - "blank": 1, + "blank": 3, "pager": { "nextL": "a[rel='next']", "pageE": "#tags-browser > div", @@ -3642,7 +3642,7 @@ "StackOverflow - Users": { "host": "stackoverflow.com", "url": "return (fun.lp() == '/users')", - "blank": 1, + "blank": 3, "pager": { "nextL": "a[rel='next']", "pageE": "#user-browser > div:first-child > div", @@ -3747,7 +3747,7 @@ "博客园 - 文章列表 - 个人": { "host": "www.cnblogs.com", "url": "if (location.pathname.split('/').length === 3 && fun.getCSS('.topicListFooter') != null) { if (!fun.getCSS('#homepage_top_pager')) {fun.getCSS('#centercontent, .forFlow').insertAdjacentHTML('afterbegin', '
    '); fun.getCSS('#centercontent, .forFlow').insertAdjacentHTML('beforeend', '
    ');}; return true}", - "blank": 1, + "blank": 3, "pager": { "nextL": "//div[@class='topicListFooter']//a[contains(text(), '下一页')]", "pageE": "div.day", @@ -4299,7 +4299,7 @@ "GreasyFork": { "host": "greasyfork.org", "url": "return (fun.indexOF(/\\/scripts$/) || fun.indexOF('/scripts/by-site/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.next_page", "pageE": "ol#browse-script-list > li", @@ -4309,7 +4309,7 @@ "GreasyFork - 反馈页": { "host": "greasyfork.org", "url": "return (fun.indexOF(/\\/feedback$/))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.next_page", "pageE": ".script-discussion-list > div", @@ -4320,7 +4320,7 @@ "GreasyFork - 讨论页": { "host": "greasyfork.org", "url": "return (fun.indexOF('/discussions') && !fun.indexOF(/\\/\\d+/))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.next_page", "pageE": ".discussion-list > div", @@ -4330,7 +4330,7 @@ "UserScript": { "host": "www.userscript.zone", "url": "return (fun.lp() == '/search')", - "blank": 1, + "blank": 3, "pager": { "nextL": "js;return fun.getNextF('.next > form')", "pageE": ".row.script", @@ -4340,7 +4340,7 @@ "UserStyles": { "host": "userstyles.world", "url": "return (fun.lp() == '/explore')", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.Pagination-button.next", "pageE": ".card", @@ -4350,7 +4350,7 @@ "Quicker": { "host": "getquicker.net", "url": "/\\/Share\\//", - "blank": 1, + "blank": 3, "pager": { "nextL": "//a[@class='page-link' and text()='下一页']", "pageE": "table.table > tbody > tr:not(:first-child), script[src^='/js/site.js']", @@ -4362,7 +4362,7 @@ "Xposed": { "host": "repo.xposed.info", "url": "/\\/module-overview/", - "blank": 1, + "blank": 3, "pager": { "nextL": "li.pager-next > a", "pageE": ".view-content > table > tbody > tr", @@ -4439,7 +4439,7 @@ "host": "bing.ioliu.cn", "url": "return (!fun.indexOF('/photo/') && !fun.indexOF('.html'))", "style": ".progressive--not-loaded {filter: none !important;}", - "blank": 1, + "blank": 3, "pager": { "nextL": "//div[@class='page']/a[contains(text(), '下一页')]", "pageE": "body > .container > div.item", @@ -4448,7 +4448,7 @@ }, "nastol": { "host": "www.nastol.com.ua", - "blank": 1, + "blank": 3, "pager": { "nextL": "//a[./span[@class='nav-next']]", "pageE": "#dle-content > div", @@ -4457,7 +4457,7 @@ }, "hdqwalls": { "host": "hdqwalls.com", - "blank": 1, + "blank": 3, "pager": { "nextL": "a#next", "pageE": ".wallpapers_container > div.wall-resp", @@ -4467,7 +4467,7 @@ "Anime Pictures": { "host": "anime-pictures.net", "url": "return (fun.indexOF('/pictures/') && !fun.indexOF('/view_post/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": ".active+a", "pageE": ".posts_block, .image_body, table.all_tags, table.scores, table#comments", @@ -4734,7 +4734,7 @@ "xvideos": { "host": ["www.xnxx.com","www.xvideos.com"], "url": "if (location.hostname == 'www.xnxx.com') {if (fun.indexOF('/search/')) return true;} else {if (fun.lp() == '/' || fun.indexOF(/\\/(c|tags|lang)\\//)) return true;}", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.next-page, a.next", "pageE": ".mozaique > *", @@ -4749,7 +4749,7 @@ "host": "/\\.pornhub\\.com/", "url": "/\\/video/", "style": ".footerContentWrapper, .pre-footer {display: none !important;}", - "blank": 1, + "blank": 3, "pager": { "nextL": "li.page_next > a", "pageE": "#videoSearchResult > li.pcVideoListItem, #videoCategory > li.pcVideoListItem", @@ -4762,7 +4762,7 @@ "91porn": { "host": ["91porn.com","0118.workarea7.live"], "url": "/\\/v\\.php/", - "blank": 1, + "blank": 3, "pager": { "nextL": "id('paging')//a[text()='»']", "pageE": ".row .row > div", @@ -4804,7 +4804,7 @@ "ACG RW": { "host": "www.acg.rw", "url": "return (!fun.indexOF('.html'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.next", "pageE": ".uk-animation-slide-bottom-small", @@ -4817,7 +4817,7 @@ "Latino Hentai": { "host": "latinohentai.com", "url": "return (!fun.indexOF('/ver/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": ".current+a", "pageE": ".items", @@ -4827,7 +4827,7 @@ "妖次元里番": { "host": "www.ycylf.men", "url": "return (fun.lp() == '/search.php' || fun.indexOF('.html'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "li.active.hidden-xs+li.hidden-xs>a", "pageE": ".stui-vodlist", @@ -4840,7 +4840,7 @@ "Hentai Anime Zone": { "host": "hentaianimezone.com", "url": "return (!fun.indexOF('.html'))", - "blank": 1, + "blank": 3, "pager": { "nextL": ".navigation>span+a", "pageE": ".thumb", @@ -4850,14 +4850,14 @@ "Avbebe": { "host": "avbebe.com", "url": "return (!fun.indexOF(/^\\/archives\\/\\d/))", - "blank": 1, + "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" } }, - "H次元": { + "H 次元": { "host": "h-ciyuan.com", "url": "return (fun.lp() == '/' ||fun.indexOF('/category/') || fun.indexOF('/tag/'))", "pager": { @@ -4871,7 +4871,7 @@ "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;}", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.pagination-next", "pageE": ".grid-item.column, .section-container > div", @@ -4885,17 +4885,17 @@ "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;}", - "blank": 1, + "blank": 3, "pager": { "nextL": "#next", "pageE": "#waterfall > .item", "replaceE": ".pagination" } }, - "Javhd": { + "Javhd.today": { "host": "javhd.today", "url": "return (fun.lp() != '/' && fun.lp() != '/channels/')", - "blank": 1, + "blank": 3, "pager": { "nextL": ".pagination > li.active + li > a", "pageE": "ul.videos, ul.playlists, div.models", @@ -4905,7 +4905,7 @@ "Jable.TV": { "host": "jable.tv", "url": "return (fun.lp() != '/' && !fun.indexOF('/videos/'))", - "blank": 1, + "blank": 3, "history": false, "pager": { "nextL": "js; let next = fun.getXpath(\"//li[@class='page-item' and ./span[contains(@class,'active')]]/following-sibling::li/a\"); if (next) {return `${location.origin}${location.pathname}?mode=async&function=get_block&block_id=${next.dataset.blockId}&${next.dataset.parameters.replace('from_videos+','from_videos=' + next.textContent + '&').replaceAll(':','=').replaceAll(';','&').replaceAll('+','&')}&_=${+new Date()}`;}", @@ -4913,10 +4913,23 @@ "replaceE": ".pagination" } }, - "Javbooks": { + "JavDisk": { + "host": ["javdisk.com","javtrust.com"], + "url": "return (fun.lp() != '/' && (fun.indexOF('/movie/hot') || !fun.indexOF('/movie/')))", + "blank": 3, + "pager": { + "nextL": "li.active + li > a", + "pageE": ".main-item", + "replaceE": ".pagination" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-src]','data-src'])" + } + }, + "JavBooks": { "host": ["javbooks.com","jmvbt.com","/^[a-z]{2}\\d{4}\\.com$/"], "url": "return (document.title.indexOf('Javbooks') > -1 && !fun.indexOF('/content_'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "span.pageback > a", "pageE": ".Po_topic, .Po_u_topic", @@ -4926,6 +4939,7 @@ "JAV Library": { "host": ["www.javlib.com","www.javlibrary.com","www.o58c.com"], "url": "/\\/vl_/", + "blank": 3, "pager": { "nextL": "a.next", "pageE": ".video", @@ -4935,6 +4949,7 @@ "JAV Library - 论坛": { "host": ["www.javlib.com","www.javlibrary.com","www.o58c.com"], "url": "/\\/public/", + "blank": 3, "pager": { "nextL": "a.next", "pageE": "table.pubgroup > tbody > tr:not(#header), table.post", @@ -4942,11 +4957,9 @@ } }, "JavTorrent": { - "host": [ - "ijavtorrent.com", - "projectjav.com" - ], + "host": ["ijavtorrent.com","projectjav.com"], "url": "return (!fun.indexOF('/movie/') && !fun.indexOF('/article/') && !fun.indexOF('/actress/'))", + "blank": 3, "pager": { "nextL": "a.gonext", "pageE": ".movie-list, .articles-list, .actress-list", @@ -4957,6 +4970,7 @@ "UraakaList": { "host": "uraakalist.com", "url": "/^\\/.+/", + "blank": 3, "pager": { "nextL": "a.next_page", "pageE": ".image-list > .card, .prof-list > .prof-card", @@ -4966,7 +4980,7 @@ "俺の3Dエロ動画": { "host": "oreno3d.com", "url": "return (!fun.indexOF('/movies/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a[rel='next']", "pageE": ".g-main-grid > article", @@ -4977,7 +4991,7 @@ "hanime1": { "host": "hanime1.me", "url": "return (fun.lp() == '/search')", - "blank": 1, + "blank": 3, "pager": { "nextL": "a[rel='next']", "pageE": ".home-rows-videos-wrapper", @@ -4991,7 +5005,7 @@ "hanime1 - 漫画 - 分类页": { "host": "hanime1.me", "url": "return (fun.lp() == '/comics' || fun.indexOF(/^\\/(tags|artists|characters|parodies|groups)\\//))", - "blank": 1, + "blank": 3, "pager": { "nextL": "a[rel='next']", "pageE": ".comic-rows-videos-div", @@ -5068,7 +5082,7 @@ "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;}", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.next_page", "pageE": "ul#post-list-posts", @@ -5078,7 +5092,7 @@ "Gelbooru": { "host": ["gelbooru.com","tbib.org","safebooru.org","illusioncards.booru.org"], "url": "/s=list/", - "blank": 1, + "blank": 3, "pager": { "nextL": "a[alt='next']", "pageE": ".thumbnail-container, span.thumb", @@ -5088,7 +5102,7 @@ "Danbooru": { "host": "danbooru.donmai.us", "url": "return (fun.lp() == '/' || fun.lp() == '/posts')", - "blank": 1, + "blank": 3, "pager": { "nextL": "a.paginator-next", "pageE": ".posts-container", @@ -5120,7 +5134,7 @@ "Hentai Cosplays - 手机版 - 分类页": { "host": ["hentai-cosplays.com","porn-images-xxx.com","hentai-img.com"], "url": "return (fun.isMobile())", - "blank": 1, + "blank": 3, "pager": { "type": 3, "nextL": "a.paginator_page[rel='next']", @@ -5134,7 +5148,7 @@ }, "Hentai Cosplays - 分类页": { "host": ["hentai-cosplays.com","porn-images-xxx.com","hentai-img.com"], - "blank": 1, + "blank": 3, "pager": { "type": 3, "nextL": "a.nextpostslink", @@ -5169,7 +5183,7 @@ "绅士会所": { "host": ["www.hentaiclub.net","/^www\\.sshs\\./"], "url": "return (document.title.indexOf('绅士会所') > -1 && !fun.indexOF('/archives/'))", - "blank": 1, + "blank": 3, "pager": { "nextL": "li.next-page > a", "pageE": "article[class]:not(.excerpt-minic-index)", From 090628f16f12fe6d071263faf9385fc53e977196 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 28 Mar 2022 10:03:34 +0800 Subject: [PATCH 0081/1272] =?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 | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index db119a96d..ab827d050 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2261,15 +2261,6 @@ "replaceE": ".pages" } }, - "灵梦御所": { - "host": "blog.reimu.net", - "url": "return (fun.lp() == '/' || fun.indexOF('/category') || fun.indexOF('/tag'))", - "pager": { - "nextL": "span.current+a.sfwppa-current-page", - "pageE": "article[id^='post-']", - "replaceE": ".wp-pagenavi" - } - }, "SkrBT": { "host": "/skrbt/", "url": "return (fun.getCSS(\"link[href*='/skrbt/'], img[src*='/skrbt/']\") != null && fun.lp() == '/search')", @@ -4772,6 +4763,7 @@ "xHamster": { "host": "/xhamster(\\d+)?\\.com/", "url": "return (document.title.indexOf('xHamster') > -1 && !fun.indexOF('/videos/'))", + "blank": 3, "pager": { "nextL": "li.next > a", "pageE": ".thumb-list", @@ -4867,6 +4859,15 @@ "scrollD": 2000 } }, + "灵梦御所": { + "host": "blog.reimu.net", + "url": "return (fun.lp() == '/' || fun.indexOF('/category') || fun.indexOF('/tag'))", + "pager": { + "nextL": "span.current+a.sfwppa-current-page", + "pageE": "article[id^='post-']", + "replaceE": ".wp-pagenavi" + } + }, "JavDB": { "host": "/^javdb/", "url": "return (document.title.indexOf('JavDB') > -1)", From 40f7299dd3af5ef787a9652345c6e8fe5ad8003a Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 28 Mar 2022 10:04:01 +0800 Subject: [PATCH 0082/1272] README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3a922d851..5b5dfa61b 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,12 @@ **** +### 赞赏支持 + +![微信赞赏](https://cdn.dogimg.com/pic/2022/03/28/6241159b1f315.png)![支付宝赞赏](https://cdn.dogimg.com/pic/2022/03/28/6241159b19b2c.png) + +**** + ## License The GPL-3.0 License. From fd8e50aeb2711aaa5188c48c1c3c8067a2277c13 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 28 Mar 2022 10:17:43 +0800 Subject: [PATCH 0083/1272] README.md --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5b5dfa61b..2273bb66b 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ **** -### 赞赏支持 +## 赞赏支持 ![微信赞赏](https://cdn.dogimg.com/pic/2022/03/28/6241159b1f315.png)![支付宝赞赏](https://cdn.dogimg.com/pic/2022/03/28/6241159b19b2c.png) @@ -68,8 +68,4 @@ ## License -The GPL-3.0 License. - -所有脚本仅供学习交流,请勿用于商用等其他用途。 - -脚本所有权归 X.I.U(XIU2) 所有。 \ No newline at end of file +The GPL-3.0 License. \ No newline at end of file From b0496881f208e987c51d7b981d59c8104fa102dd Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 28 Mar 2022 16:12:34 +0800 Subject: [PATCH 0084/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E9=9B=B6?= =?UTF-8?q?=E7=82=B9=E7=9C=8B=E4=B9=A6]=E3=80=81[=E7=AC=94=E8=B6=A3?= =?UTF-8?q?=E9=98=81=20-=20cnhxfilm.com]=E3=80=81[=E7=AC=94=E8=B6=A3?= =?UTF-8?q?=E9=98=81=20-=20whzh-xs.com]=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 | 40 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index ab827d050..b2d44075d 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2836,6 +2836,46 @@ "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/", + "history": true, + "pager": { + "nextL": "#next1", + "pageE": "article.font_max", + "insertP": ["article.font_max",6], + "replaceE": ".nav-bottom" + } + }, + "笔趣阁 - whzh-xs.com": { + "host": "www.whzh-xs.com", + "url": "/\\d+\\/\\d+\\.html/", + "style": "a[href='javascript:posterror();'] {display: none !important;}", + "history": true, + "pager": { + "type": 6, + "nextL": "#pb_next", + "pageE": "#txt", + "insertP": ["#txt",6], + "replaceE": ".chapter-control", + "loadTime": 1500, + "scrollD": 3000 + } + }, "铅笔小说": { "host": "www.23qb.com", "url": "if (fun.indexOF(/\\/book\\/\\d+\\/.+\\.html/)) {fun.xs_bF(fun.getAllCSS('#mlfy_main_text > *'), [/(继续下一页).+|铅笔小说.+/, '']); return true}", From bdb1fc59cb12461b87e04adf56a364393fc4f928 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 28 Mar 2022 17:05:36 +0800 Subject: [PATCH 0085/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=20-=20=E5=85=B3=E6=B3=A8=E4=B8=8B=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index 4f37ffa5d..dd6394e2b 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.0.2 +// @version 2.0.3 // @author X.I.U // @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链 // @description:zh-TW 移除登錄彈窗、屏蔽首頁視頻、默認收起回答、快捷收起回答/評論、快捷回到頂部、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化搜索熱門、淨化標題消息、置頂顯示時間、完整問題時間、區分問題文章、默認高清原圖、默認站外直鏈... @@ -1468,16 +1468,19 @@ function questionInvitation(){ } else { // 首页 // + // 解决屏蔽类别后,因为首页信息流太少而没有滚动条导致无法加载更多内容的问题 + document.lastElementChild.appendChild(document.createElement('style')).textContent = '.Topstory-container {min-height: 1500px;}'; + collapsedNowAnswer('main div'); // 收起当前回答 + 快捷返回顶部 collapsedNowAnswer('.Topstory-container'); // 收起当前回答 + 快捷返回顶部 setInterval(function(){topTime_('.TopstoryItem', 'ContentItem-meta')}, 300); // 置顶显示时间 addTypeTips(); // 区分问题文章 addToQuestion(); // 直达问题按钮 - blockUsers('index'); // 屏蔽指定用户 - blockKeywords('index'); // 屏蔽指定关键词 - blockType(); // 屏蔽指定类别(视频/文章等) - // 解决屏蔽视频后,因为首页信息流太少而没有滚动条导致无法加载更多内容的问题 - if (menu_value('menu_blockTypeVideo')) document.lastElementChild.appendChild(document.createElement('style')).textContent = '.Topstory-container{min-height: 1500px;}'; + if (location.pathname == '/') { + blockUsers('index'); // 屏蔽指定用户 + blockKeywords('index'); // 屏蔽指定关键词 + blockType(); // 屏蔽指定类别(视频/文章等) + } } } })(); \ No newline at end of file From 5f87987de923c4482da995c1ba2d7ee4ebc6cd9d Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 28 Mar 2022 19:27:09 +0800 Subject: [PATCH 0086/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E5=8F=A6?= =?UTF-8?q?=E4=B8=80=E7=A7=8D[=E7=AC=94=E8=B6=A3=E9=98=81]=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=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 | 45 +++++++++++++++++++++++++++++++++------ other/Autopage/rules.json | 15 ------------- 2 files changed, 38 insertions(+), 22 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index dac13cd41..a9b4930d7 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.1 +// @version 5.5.2 // @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...) 等網站~ @@ -249,8 +249,12 @@ console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)`); return 108; } } - } 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) && getCSS('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { - console.info(`[自动无缝翻页] - <笔趣阁> 模板的小说网站`); return 200; + } 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('#content, .content, #chaptercontent, .chaptercontent, #BookText') && 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; + } } return 0; } @@ -292,8 +296,10 @@ DBSite.wp_article.url('.nav-previous a'); break; case 108: // < 部分使用 WordPress 的网站 (下一页) > DBSite.wp_article.url('//*[self::ul or self::nav or self::div][@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination") or contains(@class, "pagenavi")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]'); break; - case 200: // < 所有使用 笔趣阁 模板的小说网站 > - DBSite.biquge.url(); break; + case 200: // < 所有使用 笔趣阁 1 模板的小说网站 > + curSite = DBSite.biquge; break; + case 201: // < 所有使用 笔趣阁 2 模板的小说网站 > + DBSite.biquge2.url(); break; } } } @@ -605,8 +611,8 @@ function: { } }, // Wordpress 的 nav.navigation 规则 biquge: { - url: ()=> {if (indexOF(/\d+\/\d+\.html/)) {curSite = DBSite.biquge;}}, - style: 'img, .posterror {display: none !important;}', + style: 'img, .posterror, a[href*="posterror()"], [style*="url("] {display: none !important;}', + history: true, pager: { nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页")]', pageE: '#content, .content, #chaptercontent, .chaptercontent, #BookText', @@ -615,6 +621,31 @@ function: { replaceE: '//*[./a[contains(text(), "下一章") or contains(text(), "下一页")]]' } }, // 笔趣阁 模板的小说网站 + biquge2: { + url: ()=> {if (isMobile() || getCSS('.chapter-page-btn')) {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'; diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index b2d44075d..ca1e46928 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -2861,21 +2861,6 @@ "replaceE": ".nav-bottom" } }, - "笔趣阁 - whzh-xs.com": { - "host": "www.whzh-xs.com", - "url": "/\\d+\\/\\d+\\.html/", - "style": "a[href='javascript:posterror();'] {display: none !important;}", - "history": true, - "pager": { - "type": 6, - "nextL": "#pb_next", - "pageE": "#txt", - "insertP": ["#txt",6], - "replaceE": ".chapter-control", - "loadTime": 1500, - "scrollD": 3000 - } - }, "铅笔小说": { "host": "www.23qb.com", "url": "if (fun.indexOF(/\\/book\\/\\d+\\/.+\\.html/)) {fun.xs_bF(fun.getAllCSS('#mlfy_main_text > *'), [/(继续下一页).+|铅笔小说.+/, '']); return true}", From ba6643a42bafd3ff44ac5cc6b10c2f3998c42c52 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 28 Mar 2022 20:57:00 +0800 Subject: [PATCH 0087/1272] =?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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Autopage.user.js | 102 +++++++++++++++-------------------------------- 1 file changed, 33 insertions(+), 69 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index a9b4930d7..5ce651eba 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.2 +// @version 5.5.3 // @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...) 等網站~ @@ -213,40 +213,40 @@ return -1; } else if (typeof discuz_uid != 'undefined' || getCSS('meta[name="author" i][content*="Discuz!" i], meta[name="generator" i][content*="Discuz!" i], body[id="nv_forum" i][class^="pg_" i][onkeydown*="27"], body[id="nv_search" i][onkeydown*="27"]') || getXpath('id("ft")[contains(string(),"Discuz!")]')) { console.info(`[自动无缝翻页] - 论坛`); return 2; + } else if (typeof flarum != 'undefined' || getCSS('#flarum-loading')) { console.info(`[自动无缝翻页] - 论坛`); return 3; + } else if (typeof phpbb != 'undefined' || getCSS('body#phpbb')) { console.info(`[自动无缝翻页] - 论坛`); return 4; + } else if (typeof xn != 'undefined' && getXpath('//footer//a[contains(string(), "Xiuno")] | //link[contains(@href, "xiuno")] | //script[contains(@src, "xiuno")]')) { console.info(`[自动无缝翻页] - 论坛`); return 5; + } else if (typeof XF != 'undefined') { console.info(`[自动无缝翻页] - 论坛`); return 6; + } else if (getCSS('head meta[name="generator" i][content="nexusphp" i]') || getXpath('id("footer")[contains(string(), "NexusPHP")]')) { console.info(`[自动无缝翻页] - 论坛`); return 7; + } else if (getAllCSS('.load-more, .loadmore, #load-more, #loadmore, .show_more').length === 1) { console.info(`[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 1`); return 8; + } else if (getAllXpath('//*[@onclick][text()="加载更多" or text()="查看更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]').length === 1) { console.info(`[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 2`); return 9; - } else if (getCSS('link[href*="themes/dux" i], script[src*="themes/dux" i]')) { - console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 100; - } else if (getCSS('link[href*="themes/xiu" i], script[src*="themes/xiu" i]')) { - console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 101; - } else if (getCSS('link[href*="themes/d8" i], script[src*="themes/d8" i]')) { - console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 102; - } else if (getCSS('link[href*="themes/begin" i], script[src*="themes/begin" i], img[src*="themes/begin" i]')) { - console.info(`[自动无缝翻页] - 使用 WordPress 主题的网站`); return 103; + } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { if (getAllCSS('article[class], div[id^="post-"]').length > 2 && getCSS('#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi')) { - if (getCSS('a.next')) { - console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)`); return 104; + if (getCSS('a.next, a.next-page')) { + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)`); return 100; } else if (getCSS('a[rel="next" i], a[aria-label="Next Page" i], a[aria-label="下一页"]')) { - console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a[rel="next"])`); return 105; + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a[rel="next"])`); return 101; } else if (getCSS('li.next-page > a')) { - console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)`); return 106; - } else if (getCSS('.nav-previous a')) { - console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)`); return 107; + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)`); return 102; + } else if (getCSS('.nav-previous a, a.nav-previous')) { + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)`); return 103; } else if (getXpath('//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]', getCSS('#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi'))) { - console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)`); return 108; + console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)`); return 104; } } } 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) { @@ -278,23 +278,15 @@ DBSite.loadmore.url('.load-more, .loadmore, #load-more, #loadmore, .show_more'); break; case 9: // < 部分自带 自动无缝翻页 的网站 2 > DBSite.loadmore.url('//*[@onclick][text()="加载更多" or text()="查看更多"][not(@href) or @href="#" or starts-with(@href, "javascript")]'); break; - case 100: // < 所有使用 WordPress DUX 主题的网站 > - DBSite.dux.url(); if (location.hostname === 'apphot.cc') {curSite.pager.scrollD = 2500;}; break; - case 101: // < 所有使用 WordPress XIU 主题的网站 > - DBSite.dux.url(); curSite.function = {bF: src_bF, bFp: [0, 'img.thumb[data-original]', 'data-original']}; break; - case 102: // < 所有使用 WordPress D8 主题的网站 > - DBSite.dux.url(); delete curSite.function; break; - case 103: // < 所有使用 WordPress Begin 主题的网站 > - DBSite.begin.url(); break; - case 104: // < 部分使用 WordPress 的网站 (a.next) > - DBSite.wp_article.url('a.next'); break; - case 105: // < 部分使用 WordPress 的网站 (a[rel="next"]) > + case 100: // < 部分使用 WordPress 的网站 (a.next) > + DBSite.wp_article.url('a.next, a.next-page'); break; + case 101: // < 部分使用 WordPress 的网站 (a[rel="next"]) > DBSite.wp_article.url('a[rel="next" i], a[aria-label="Next Page" i], a[aria-label="下一页"]'); break; - case 106: // < 部分使用 WordPress 的网站 (li.next-page > a) > + case 102: // < 部分使用 WordPress 的网站 (li.next-page > a) > DBSite.wp_article.url('li.next-page > a'); break; - case 107: // < 部分使用 WordPress 的网站 (旧文章) > - DBSite.wp_article.url('.nav-previous a'); break; - case 108: // < 部分使用 WordPress 的网站 (下一页) > + case 103: // < 部分使用 WordPress 的网站 (旧文章) > + DBSite.wp_article.url('.nav-previous a, a.nav-previous'); break; + case 104: // < 部分使用 WordPress 的网站 (下一页) > DBSite.wp_article.url('//*[self::ul or self::nav or self::div][@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination") or contains(@class, "pagenavi")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]'); break; case 200: // < 所有使用 笔趣阁 1 模板的小说网站 > curSite = DBSite.biquge; break; @@ -386,6 +378,15 @@ function: { scrollD: 2000 } }, // 部分自带 自动无缝翻页 的网站 + wp_article: { + url: function(nextL) {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, + blank: 1, + pager: { + pageE: 'article[class], div[id^="post-"]', + replaceE: '#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi', + scrollD: 2000 + } + }, // Wordpress 的 nav.navigation 规则 discuz_forum: { pager: { type: 2, @@ -573,43 +574,6 @@ function: { replaceE: '//p[@align][./font[@class="gray"]]' } }, // NexusPHP 论坛 - dux: { - host: 'www.puresys.net', - url: ()=> {if (!indexOF('.html')) curSite = DBSite.dux;}, - pager: { - nextL: 'li.next-page > a', - pageE: '.content > article', - replaceE: '.content > .pagination' - }, - function: { - bF: src_bF, - bFp: [0, 'img.thumb[data-src]', 'data-src'] - } - }, // WordPress 的 DUX、XIU、D8 主题 - begin: { - url: ()=> {if (location.search.slice(0,3) === '?s=') {curSite = DBSite.begin_search;} else if (!indexOF('.html')) {curSite = DBSite.begin;}}, - pager: { - type: 2, - nextL: 'div[id^="ias_trigger_"]', - interval: 500 - } - }, // WordPress 的 Begin 主题 - begin_search: { - pager: { - nextL: 'a.next', - pageE: '#main > ul > li', - replaceE: 'nav.pagination' - } - }, // WordPress 的 Begin 主题 - 搜索页 - wp_article: { - url: function(nextL) {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, - blank: 1, - pager: { - pageE: 'article[class], div[id^="post-"]', - replaceE: '#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi', - scrollD: 2000 - } - }, // Wordpress 的 nav.navigation 规则 biquge: { style: 'img, .posterror, a[href*="posterror()"], [style*="url("] {display: none !important;}', history: true, @@ -622,7 +586,7 @@ function: { } }, // 笔趣阁 模板的小说网站 biquge2: { - url: ()=> {if (isMobile() || getCSS('.chapter-page-btn')) {curSite = DBSite.biquge2_m;} else {curSite = DBSite.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: { From 660a1f3dc1db85eb52450b0395e7dc74a029db62 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 28 Mar 2022 21:13:10 +0800 Subject: [PATCH 0088/1272] =?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?= 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 5ce651eba..edf9e8f2f 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -236,7 +236,7 @@ console.info(`[自动无缝翻页] - 部分自带 自动无缝翻页 的网站 2`); return 9; } else if (getCSS('link[href*="/wp-content/" i], script[src*="/wp-content/" i]')) { - if (getAllCSS('article[class], div[id^="post-"]').length > 2 && getCSS('#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi')) { + if (getAllCSS('article[class], div[id^="post-"], ul[class*="post"] > li.item').length > 2 && getCSS('#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi')) { if (getCSS('a.next, a.next-page')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)`); return 100; } else if (getCSS('a[rel="next" i], a[aria-label="Next Page" i], a[aria-label="下一页"]')) { @@ -382,7 +382,7 @@ function: { url: function(nextL) {if (!indexOF('/post/') && !getCSS('#comments, .comments-area, #disqus_thread')) {curSite = DBSite.wp_article; curSite.pager.nextL = nextL; if (getCSS('img[data-src]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])"};} else if (getCSS('img[data-original]')) {curSite.function = {bF: "return fun.src_bF(pageE, [0, 'img[data-original]', 'data-original'])"};}}}, blank: 1, pager: { - pageE: 'article[class], div[id^="post-"]', + pageE: 'article[class], div[id^="post-"], ul[class*="post"] > li.item', replaceE: '#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi', scrollD: 2000 } From f47e536fd177e634a5167086880b485cd2bc65d6 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Mon, 28 Mar 2022 22:11:47 +0800 Subject: [PATCH 0089/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E9=83=A8?= =?UTF-8?q?=E5=88=86=20Typecho=20=E7=BD=91=E7=AB=99]=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 | 21 ++++++++++++++++++--- other/Autopage/rules.json | 12 ++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index edf9e8f2f..181853afb 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -241,7 +241,7 @@ console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a.next)`); return 100; } else if (getCSS('a[rel="next" i], a[aria-label="Next Page" i], a[aria-label="下一页"]')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (a[rel="next"])`); return 101; - } else if (getCSS('li.next-page > a')) { + } else if (getCSS('li.next-page > a, li.next > a')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (li.next-page > a)`); return 102; } else if (getCSS('.nav-previous a, a.nav-previous')) { console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (旧文章)`); return 103; @@ -249,6 +249,10 @@ console.info(`[自动无缝翻页] - 部分使用 WordPress 的网站 (下一页)`); return 104; } } + } else if (getCSS('meta[name="generator" i][content*="Typecho" i]')) { + if (getCSS('li.next > a') && getCSS('.blog-post, .post-list') && getCSS('.page-navigator')) { + console.info(`[自动无缝翻页] - 部分使用 Typecho 的网站 (handsome)`); return 150; + } } 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('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { console.info(`[自动无缝翻页] - <笔趣阁 1> 模板的小说网站`); return 200; @@ -283,11 +287,13 @@ case 101: // < 部分使用 WordPress 的网站 (a[rel="next"]) > DBSite.wp_article.url('a[rel="next" i], a[aria-label="Next Page" i], a[aria-label="下一页"]'); break; case 102: // < 部分使用 WordPress 的网站 (li.next-page > a) > - DBSite.wp_article.url('li.next-page > a'); break; + DBSite.wp_article.url('li.next-page > a, li.next > a'); break; case 103: // < 部分使用 WordPress 的网站 (旧文章) > DBSite.wp_article.url('.nav-previous a, a.nav-previous'); break; case 104: // < 部分使用 WordPress 的网站 (下一页) > DBSite.wp_article.url('//*[self::ul or self::nav or self::div][@id="nav-below" or contains(@class, "navigation") or contains(@class, "pagination") or contains(@class, "pagenavi")]//a[contains(text(), "下一页") or contains(text(), ">") or contains(text(), "next") or contains(text(), "Next") or contains(text(), "NEXT")]'); break; + case 150: // < 部分使用 Typecho 的网站 (handsome) > + curSite = DBSite.typecho_handsome; break; case 200: // < 所有使用 笔趣阁 1 模板的小说网站 > curSite = DBSite.biquge; break; case 201: // < 所有使用 笔趣阁 2 模板的小说网站 > @@ -386,7 +392,16 @@ function: { replaceE: '#nav-below, nav.navigation, nav.paging-navigation, .pagination, .wp-pagenavi, .pagenavi', scrollD: 2000 } - }, // Wordpress 的 nav.navigation 规则 + }, // 部分使用 WordPress 的网站 + typecho_handsome: { + blank: 1, + pager: { + nextL: 'li.next > a', + pageE: '.blog-post, .post-list', + replaceE: '.page-navigator', + scrollD: 2000 + } + }, // 部分使用 Typecho 的网站 (handsome) discuz_forum: { pager: { type: 2, diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index ca1e46928..b6b1ee934 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -1926,6 +1926,18 @@ "bF": "return fun.src_bF(pageE, [0, 'img[data-src]', 'data-src'])" } }, + "核桃影院": { + "host": ["123456.li","video.tf"], + "url": "/^\\/category-/", + "pager": { + "nextL": "a[title='下一页 ›']", + "pageE": ".wrapbox > ul > li", + "replaceE": "#pagenavi" + }, + "function": { + "bF": "return fun.src_bF(pageE, [0,'img[data-original]','data-original'])" + } + }, "91 美剧网": { "host": "/mjw\\d+\\.com/", "url": "return (document.title.indexOf('91美剧') > -1 && !fun.indexOF('/w/') && !fun.indexOF('/dp/'))", From 6422a3f8572026d225e4bb06e5340cc3e91ff933 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 29 Mar 2022 10:31:24 +0800 Subject: [PATCH 0090/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[Discuz!]=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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Autopage.user.js b/Autopage.user.js index 181853afb..259b130a9 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -1697,7 +1697,7 @@ function: { discuzForum(); } else if (getCSS('#postlist')) { // < 部分论坛的帖子内 URL 是自定义的 > curSite = DBSite.discuz_thread; - } else { // 手机版判断 + } else if (isMobile()) { // 手机版判断 discuzForum('m'); if (curSite.SiteTypeID === 0) discuzThreadM(); } From 359249625fff369c8c4be3aa1ceeffe5bdd6e5a5 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 29 Mar 2022 12:37:52 +0800 Subject: [PATCH 0091/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=88=87=E6=8D=A2=E9=80=89=E9=A1=B9=E5=8D=A1=E6=97=B6?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Enhanced.user.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Zhihu-Enhanced.user.js b/Zhihu-Enhanced.user.js index dd6394e2b..98bdd7b68 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.0.3 +// @version 2.0.4 // @author X.I.U // @description 移除登录弹窗、屏蔽首页视频、默认收起回答、快捷收起回答/评论(左键两侧)、快捷回到顶部(右键两侧)、屏蔽用户、屏蔽关键词、移除高亮链接、屏蔽盐选内容、净化搜索热门、净化标题消息、展开问题描述、显示问题作者、置顶显示时间、完整问题时间、区分问题文章、直达问题按钮、默认高清原图、默认站外直链 // @description:zh-TW 移除登錄彈窗、屏蔽首頁視頻、默認收起回答、快捷收起回答/評論、快捷回到頂部、屏蔽用戶、屏蔽關鍵詞、移除高亮鏈接、屏蔽鹽選內容、淨化搜索熱門、淨化標題消息、置頂顯示時間、完整問題時間、區分問題文章、默認高清原圖、默認站外直鏈... @@ -1378,6 +1378,10 @@ function questionInvitation(){ blockUsers('question'); // 屏蔽指定用户 blockYanXuan(); // 屏蔽盐选内容 }, 300); + } else if (location.pathname == '/') { + blockUsers('index'); // 屏蔽指定用户 + blockKeywords('index'); // 屏蔽指定关键词 + blockType(); // 屏蔽指定类别(视频/文章等) } }) From 08897aac3ef8136272f0dfff08ad3192538e573b Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 29 Mar 2022 13:21:36 +0800 Subject: [PATCH 0092/1272] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E6=96=B0?= =?UTF-8?q?=E9=97=BB=E5=90=A7(xinwenba.net)=20-=20=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E5=86=85]=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 | 917 +++++++++++++++++++------------------- 1 file changed, 464 insertions(+), 453 deletions(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index b6b1ee934..1e0180dd6 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -62,16 +62,16 @@ "必应搜索 + 手机版": { "host": ["www.bing.com","cn.bing.com"], "url": "if (fun.lp() == '/search') {if (fun.isMobile() && document.documentElement.lang != 'zh') {return false;} else {return true;}}", - "style": "#b_footer, .b_imagePair.square_mp > .inner, .b_msg, #b_results > [class='b_ans'] {display: none !important;}", + "style": "#b_footer, .b_imagePair.square_mp>.inner, .b_msg, #b_results>[class='b_ans'] {display: none !important;}", "history": true, "pager": { "nextL": "a.sb_pagN, a.sb_halfnext, a.sb_fullnpl", - "pageE": "#b_results > li.b_algo", - "replaceE": "#b_results > .b_pag", + "pageE": "#b_results>li.b_algo", + "replaceE": "#b_results>.b_pag", "scrollD": 2000 }, "function": { - "bF": "if (!fun.getCSS('.b_title > a.sh_favicon')) {fun.insStyle('.b_title > a.sh_favicon {display: none !important;}');return pageE;}; pageE.forEach(function (one) {fun.getAllCSS('div.rms_iac[data-src]').forEach(function (one1) {one1.outerHTML = `\"全球`;})});return pageE" + "bF": "if (!fun.getCSS('.b_title>a.sh_favicon')) {fun.insStyle('.b_title>a.sh_favicon {display: none !important;}');return pageE;}; pageE.forEach(function (one) {fun.getAllCSS('div.rms_iac[data-src]').forEach(function (one1) {one1.outerHTML = `\"全球`;})});return pageE" } }, "搜狗搜索": { @@ -112,7 +112,7 @@ "history": true, "pager": { "nextL": "#sogou_next", - "pageE": "ul[class*='news-list'] > li", + "pageE": "ul[class*='news-list']>li", "replaceE": "#pagebar_container", "scrollD": 1200 } @@ -123,7 +123,7 @@ "history": true, "pager": { "nextL": "#page-bottom a[class*='containerRight_'], #page-bottom a[class*='container_']", - "pageE": "#results > div", + "pageE": "#results>div", "replaceE": "#page-bottom", "scrollD": 2000 } @@ -134,7 +134,7 @@ "history": true, "pager": { "nextL": "//div[contains(@class, '-pagination')]/a[string()='下一页']", - "pageE": "div[class*='-result-list'] > .result-content[data-i]", + "pageE": "div[class*='-result-list']>.result-content[data-i]", "replaceE": "div[class*='-pagination']", "scrollD": 2000 }, @@ -172,7 +172,7 @@ "history": true, "pager": { "nextL": "a#snext", - "pageE": "ul.result > li, style:not(src)", + "pageE": "ul.result>li, style:not(src)", "replaceE": "#page", "scrollD": 2000 }, @@ -185,7 +185,7 @@ "url": "return (fun.lp() == '/' && fun.indexOF('qings=', 's'))", "pager": { "type": 2, - "nextL": "#loadmore > span", + "nextL": "#loadmore>span", "nextText": "加载更多", "scrollD": 3000 } @@ -212,7 +212,7 @@ "history": false, "pager": { "nextL": "js; return fun.getNextF('//div[contains(@class, \"pagination\")]/form[./button[@class=\"pagination__next-prev-button next\"]]')", - "pageE": "section.w-gl--desktop > div", + "pageE": "section.w-gl--desktop>div", "replaceE": ".pagination", "scrollD": 2000 } @@ -244,7 +244,7 @@ "history": true, "pager": { "nextL": ".pagination a.next", - "pageE": "#web ol > li", + "pageE": "#web ol>li", "replaceE": ".pagination", "scrollD": 2000 } @@ -254,8 +254,8 @@ "url": "/\\/search/", "history": true, "pager": { - "nextL": ".Pagenation__next > a", - "pageE": ".Contents__innerGroupBody > div", + "nextL": ".Pagenation__next>a", + "pageE": ".Contents__innerGroupBody>div", "replaceE": ".Pagenation", "scrollD": 2000 } @@ -276,7 +276,7 @@ "history": true, "pager": { "nextL": "nav.pagination a[aria-label='Next page']", - "pageE": "section.mainline > div:not(.related-queries)", + "pageE": "section.mainline>div:not(.related-queries)", "replaceE": "nav.pagination" } }, @@ -295,7 +295,7 @@ "style": ".PartialSearchResults-heading {display: none !important;}", "history": true, "pager": { - "nextL": "li.PartialWebPagination-next > a", + "nextL": "li.PartialWebPagination-next>a", "pageE": ".PartialSearchResults.mid", "replaceE": ".PartialWebPagination", "scrollD": 2000 @@ -316,7 +316,7 @@ "url": "/^\\/search\\.aspx/", "history": true, "pager": { - "nextL": ".PageSelector > .NextPageBTN", + "nextL": ".PageSelector>.NextPageBTN", "pageE": ".ContentItem", "replaceE": ".PageSelector" } @@ -328,7 +328,7 @@ "history": true, "pager": { "type": 6, - "nextL": "#next_page > a, a#next_page_a", + "nextL": "#next_page>a, a#next_page_a", "pageE": ".res_cell", "insertP": ["#page_menu_box",1], "replaceE": "#page_menu_box", @@ -376,7 +376,7 @@ "url": "/^\\/celebrity\\/\\d+\\/movies/", "pager": { "nextL": "link[rel='next']", - "pageE": ".grid_view > ul > li", + "pageE": ".grid_view>ul>li", "replaceE": ".paginator" } }, @@ -394,7 +394,7 @@ "url": "/^\\/tag\\//", "pager": { "nextL": "link[rel='next']", - "pageE": ".article > .mod", + "pageE": ".article>.mod", "replaceE": ".paginator" } }, @@ -402,7 +402,7 @@ "host": "www.douban.com", "url": "/^\\/group\\/explore/", "pager": { - "nextL": "span.next > a", + "nextL": "span.next>a", "pageE": ".channel-item", "replaceE": ".paginator" } @@ -423,7 +423,7 @@ "url": "/^\\/(group|subject)\\/\\d+\\/discussion/", "pager": { "nextL": "link[rel='next']", - "pageE": "table.olt > tbody > tr:not(:first-of-type)", + "pageE": "table.olt>tbody>tr:not(:first-of-type)", "replaceE": ".paginator" } }, @@ -432,7 +432,7 @@ "url": "/\\/browse\\//", "pager": { "type": 2, - "nextL": "#show-more-btn > button" + "nextL": "#show-more-btn>button" } }, "IMDb": { @@ -473,7 +473,7 @@ "url": "/\\/list/", "pager": { "nextL": "//div[contains(@class, 'pages')]/div[@class='links']/a[text()='下一页']", - "pageE": ".tab-bbs-list > tbody:not(:first-of-type)", + "pageE": ".tab-bbs-list>tbody:not(:first-of-type)", "replaceE": "//div[contains(@class, 'pages')]" } }, @@ -483,8 +483,8 @@ "thread": true, "pager": { "nextL": "a.js-keyboard-next", - "pageE": ".atl-main > div[class='atl-item']", - "replaceE": ".atl-pages > form", + "pageE": ".atl-main>div[class='atl-item']", + "replaceE": ".atl-pages>form", "scrollD": 2000 } }, @@ -493,7 +493,7 @@ "url": "return (fun.indexOF('.html'))", "thread": true, "pager": { - "nextL": "li.hupu-rc-pagination-next > a", + "nextL": "li.hupu-rc-pagination-next>a", "pageE": ".post-reply-list ", "replaceE": "ul.hupu-rc-pagination", "scrollD": 2000 @@ -503,7 +503,7 @@ "host": "bbs.hupu.com", "url": "return (fun.lp() != '/' && !fun.indexOF('/all-'))", "pager": { - "nextL": "js;let next = fun.getCSS('li.hupu-rc-pagination-item-active+li.hupu-rc-pagination-item > a');if (next) {return (location.origin + location.pathname.replace(/-\\d+/,'') + '-' + next.textContent)} else {return ''}", + "nextL": "js;let next = fun.getCSS('li.hupu-rc-pagination-item-active+li.hupu-rc-pagination-item>a');if (next) {return (location.origin + location.pathname.replace(/-\\d+/,'') + '-' + next.textContent)} else {return ''}", "pageE": "li.bbs-sl-web-post-body", "replaceE": "ul.hupu-rc-pagination" } @@ -514,7 +514,7 @@ "iframe": true, "pager": { "nextL": "#pagebbtm a[title='下一页']", - "pageE": "#topicrows > tbody, #topicrows > script", + "pageE": "#topicrows>tbody, #topicrows>script", "replaceE": "div[name='pageball']", "scriptT": 2, "scrollD": 1000 @@ -544,7 +544,7 @@ "pager": { "nextL": "a.page_current+a.page_normal", "pageE": ".cell.item", - "replaceE": "#Main > .box > .cell[style]:not(.item) > table" + "replaceE": "#Main>.box>.cell[style]:not(.item)>table" } }, "V2EX - 提醒消息页": { @@ -552,8 +552,8 @@ "url": "return (fun.lp() == '/notifications')", "pager": { "nextL": "a.page_current+a.page_normal", - "pageE": "#notifications > div", - "replaceE": "#Main > .box > .cell[style] > table" + "pageE": "#notifications>div", + "replaceE": "#Main>.box>.cell[style]>table" } }, "V2EX - 用户回复页": { @@ -563,7 +563,7 @@ "nextL": "a.page_current+a.page_normal", "pageE": "//div[@id='Main']//div[@class='box']//div[@class='dock_area'] | //*[@id='Main']//div[@class='box']//div[@class='inner'] | //*[@id='Main']//div[@class='box']//div[@class='dock_area'][last()]/following-sibling::div[@class='cell'][1]", "insertP": ["//div[@id='Main']//div[@class='box']//div[@class='cell'][last()]",1], - "replaceE": "#Main > .box > .cell[style] > table" + "replaceE": "#Main>.box>.cell[style]>table" } }, "V2EX - 分类主题页": { @@ -571,8 +571,8 @@ "url": "/\\/go\\//", "pager": { "nextL": "a.page_current+a.page_normal", - "pageE": "#TopicsNode > div", - "replaceE": "#Main > .box > .cell[style] > table" + "pageE": "#TopicsNode>div", + "replaceE": "#Main>.box>.cell[style]>table" } }, "V2EX - 账户余额页": { @@ -580,8 +580,8 @@ "url": "return (fun.lp() == '/balance')", "pager": { "nextL": "a.page_current+a.page_normal", - "pageE": "#Main .box > div:not(.cell) > table > tbody > tr:not(:first-child)", - "replaceE": "#Main > .box > .cell[style] > table" + "pageE": "#Main .box>div:not(.cell)>table>tbody>tr:not(:first-child)", + "replaceE": "#Main>.box>.cell[style]>table" } }, "煎蛋网": { @@ -591,7 +591,7 @@ "history": false, "pager": { "nextL": "//div[@class='wp-pagenavi']/a[contains(text(), '下一页') or contains(text(), '更多文章')]", - "pageE": "#content > .list-post", + "pageE": "#content>.list-post", "replaceE": ".wp-pagenavi" }, "function": { @@ -612,7 +612,7 @@ "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-'], script[src^='//cdn.jandan.net/static/min/']", + "pageE": "ol.commentlist>li[id^='comment-'], script[src^='//cdn.jandan.net/static/min/']", "replaceE": ".cp-pagenavi", "scriptT": 2 }, @@ -650,7 +650,7 @@ "url": "/\\/forum-/", "pager": { "nextL": "//a[@class='page-link' and text()='▶']", - "pageE": "table.threadlist > tbody > tr", + "pageE": "table.threadlist>tbody>tr", "replaceE": "ul.pagination" } }, @@ -660,7 +660,7 @@ "thread": true, "pager": { "nextL": "//a[@class='page-link' and text()='▶']", - "pageE": "table.postlist > tbody > tr[data-pid]", + "pageE": "table.postlist>tbody>tr[data-pid]", "replaceE": "ul.pagination" } }, @@ -669,7 +669,7 @@ "url": "/\\/(browser|subject_search|tag)/", "pager": { "nextL": "//div[@class='page_inner']/a[text()='››']", - "pageE": "ul#browserItemList > li", + "pageE": "ul#browserItemList>li", "replaceE": ".page_inner" } }, @@ -678,7 +678,7 @@ "url": "/\\/forum/", "pager": { "nextL": "//div[@class='page_inner']/a[text()='››']", - "pageE": ".topic_list > tbody:last-of-type > tr.topic", + "pageE": ".topic_list>tbody:last-of-type>tr.topic", "replaceE": ".page_inner" } }, @@ -686,13 +686,13 @@ "host": "www.dongchedi.com", "url": "fun.isUrlC(); return (fun.indexOF('/community/'))", "pager": { - "nextL": "li.pagination-item.is-active+li > a", - "pageE": ".data-wrapper > section.community-card, style", + "nextL": "li.pagination-item.is-active+li>a", + "pageE": ".data-wrapper>section.community-card, style", "replaceE": "//ul[./li[contains(@class, 'pagination-item')]]", "scrollD": 2000 }, "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" } }, "宽带山论坛": { @@ -700,8 +700,8 @@ "url": "return (fun.indexOF('/f_'))", "pager": { "nextL": "//div[@class='fr i3_r']/a[text()='后一页']", - "pageE": "ul.main_List > li.i2:not(.h_bg)", - "replaceE": "ul.main_List > li.i3", + "pageE": "ul.main_List>li.i2:not(.h_bg)", + "replaceE": "ul.main_List>li.i3", "scrollD": 1000 } }, @@ -711,7 +711,7 @@ "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, "scrollD": 1000 @@ -722,7 +722,7 @@ "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)", + "pageE": "ul.ui-list>li:not(.ui-list-item-head):not(.ui-list-merchant-ad)", "replaceE": "div.ui-crumbs-more", "scrollD": 1200 } @@ -732,7 +732,7 @@ "url": "/\\/f_/", "pager": { "nextL": "a.ui-paging-next", - "pageE": "ul.ui-list > li:not(.ui-list-item-head):not(.ui-list-merchant-ad)", + "pageE": "ul.ui-list>li:not(.ui-list-item-head):not(.ui-list-merchant-ad)", "replaceE": "div.ui-paging", "scrollD": 1200 } @@ -743,7 +743,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" } @@ -754,7 +754,7 @@ "thread": true, "pager": { "nextL": "a.ui-paging-next", - "pageE": "ul.ui-list > li", + "pageE": "ul.ui-list>li", "replaceE": "div.ui-paging", "scrollD": 2000 } @@ -764,7 +764,7 @@ "url": "return (fun.lp() == '/facade.php')", "pager": { "nextL": "//div[@class='ui-page']/a[contains(text(), '下一页')]", - "pageE": ".ui-box-main > ul.ui-list > li", + "pageE": ".ui-box-main>ul.ui-list>li", "replaceE": "div.ui-page", "scrollD": 1200 } @@ -804,7 +804,7 @@ "history": false, "pager": { "nextL": "js;let next = fun.getXpath('//div[contains(@class, \"t_page01\")]/a[contains(text(), \"下一页\")]'), 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": ".p_list > .p_list01[class*='user_']", + "pageE": ".p_list>.p_list01[class*='user_']", "replaceE": ".t_page", "scrollD": 1000 } @@ -814,7 +814,7 @@ "url": "/\\/forum/", "pager": { "nextL": "//div[contains(@class, '_pageNav')]/a[text()='下一页']", - "pageE": "ul.gb-bbs-list > li", + "pageE": "ul.gb-bbs-list>li", "replaceE": "._pageNav", "scrollD": 1000 }, @@ -827,7 +827,7 @@ "url": "return (fun.lp() == '/bbs/forumdisplay.php')", "pager": { "nextL": "a.page_down", - "pageE": ".table-section > dl:not(.table_head)", + "pageE": ".table-section>dl:not(.table_head)", "replaceE": ".forumList_page", "scrollD": 2000 } @@ -837,7 +837,7 @@ "url": "return (fun.indexOF('/forum-') || fun.indexOF('mod=forumdisplay', 's'))", "pager": { "nextL": "a.nxt:not([href*='javascript'])", - "pageE": "#threadlist table > tbody[id^='normalthread_']", + "pageE": "#threadlist table>tbody[id^='normalthread_']", "replaceE": ".pg", "scrollD": 2500 } @@ -848,8 +848,8 @@ "thread": true, "pager": { "nextL": "a.nxt:not([href*='javascript'])", - "pageE": "#postlist > .comiis_viewbox", - "replaceE": ".comiis_pgs > .pg", + "pageE": "#postlist>.comiis_viewbox", + "replaceE": ".comiis_pgs>.pg", "scrollD": 3000 } }, @@ -858,7 +858,7 @@ "url": "/\\/forum\\//", "pager": { "nextL": "a[rel='next']", - "pageE": "tbody[id*='threadbits_forum'] > tr", + "pageE": "tbody[id*='threadbits_forum']>tr", "replaceE": ".pagenav", "scrollD": 2500 } @@ -869,7 +869,7 @@ "thread": true, "pager": { "nextL": "a[rel='next']", - "pageE": "#posts > div:not([id])", + "pageE": "#posts>div:not([id])", "replaceE": ".pagenav", "scrollD": 2000 } @@ -947,7 +947,7 @@ "thread": true, "pager": { "nextL": "//div[@class='pages']/ul/li[./b]/following-sibling::li[1][not(@class)]/a[not(text()='»')]", - "pageE": "form[name=delatc] > *:not(input)", + "pageE": "form[name=delatc]>*:not(input)", "replaceE": ".pages" } }, @@ -965,7 +965,7 @@ "url": "return (fun.indexOF('board=', 's'))", "pager": { "nextL": "//div[contains(@class,'pagelinks')]/a[@class='navPages' and text()='»']", - "pageE": ".table_grid > tbody > tr", + "pageE": ".table_grid>tbody>tr", "replaceE": ".pagelinks" } }, @@ -975,7 +975,7 @@ "thread": true, "pager": { "nextL": "//div[contains(@class,'pagelinks')]/a[@class='navPages' and text()='»']", - "pageE": "#quickModForm > *", + "pageE": "#quickModForm>*", "replaceE": ".pagelinks" } }, @@ -984,7 +984,7 @@ "url": "/\\/m\\/f\\//", "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']", + "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, @@ -997,7 +997,7 @@ "thread": true, "pager": { "nextL": "//li[contains(@class, 'pagination-next')]//a[text()='下一页']", - "pageE": ".h-threads-replylist > div, script[src$='/h.mobile.js']", + "pageE": ".h-threads-replylist>div, script[src$='/h.mobile.js']", "replaceE": "#h-threads-pagination", "scriptT": 2, "scrollD": 2500 @@ -1008,7 +1008,7 @@ "url": "/\\/(f|Forum)\\//", "pager": { "nextL": "//ul[contains(@class, 'pagination')]//a[text()='下一页']", - "pageE": ".h-threads-list > *, script[src$='/h.desktop.js']", + "pageE": ".h-threads-list>*, script[src$='/h.desktop.js']", "replaceE": "//ul[contains(@class, 'pagination')]", "scriptT": 2, "scrollD": 2500 @@ -1020,7 +1020,7 @@ "thread": true, "pager": { "nextL": "//ul[contains(@class, 'pagination')]//a[text()='下一页']", - "pageE": ".h-threads-list > .h-threads-item > .h-threads-item-replys, script[src$='/h.desktop.js']", + "pageE": ".h-threads-list>.h-threads-item>.h-threads-item-replys, script[src$='/h.desktop.js']", "replaceE": "//ul[contains(@class, 'pagination')]", "scriptT": 2, "scrollD": 2500 @@ -1031,7 +1031,7 @@ "blank": 3, "pager": { "nextL": "a.Next", - "pageE": "ul.DataList > li", + "pageE": "ul.DataList>li", "replaceE": ".Pager" } }, @@ -1039,7 +1039,7 @@ "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(function(){fun.getXpath('//button[contains(string(), \"查看全部\") or contains(string(), \"See all\") or contains(string(), \"すべて見る\") or contains(string(), \"모두 보기\")]').click();}, 3000)}", "blank": 2, - "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;}", + "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, @@ -1052,7 +1052,7 @@ "url": "if (fun.isMobile()) {return false}; return (fun.indexOF('/users/') && fun.indexOF(/\\/(artworks|illustrations|manga)/))", "blank": 2, "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", @@ -1061,7 +1061,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(function(){fun.getCSS('.work-details-thumb-buttons > .button-link').click();}, 3000)}", + "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(function(){fun.getCSS('.work-details-thumb-buttons>.button-link').click();}, 3000)}", "style": ".banner-ad-footer-scale, footer {display: none !important;}", "iframe": true, "pager": { @@ -1088,7 +1088,7 @@ "pager": { "type": 6, "nextL": "js;let next = fun.getCSS('li.number.active+li.number'); if (next) return (location.origin + location.pathname + '?p=' + next.textContent)", - "pageE": "ul.illust-content > li", + "pageE": "ul.illust-content>li", "replaceE": "ul.el-pager", "loadTime": 800, "scrollD": 2000 @@ -1108,7 +1108,7 @@ "host": ["www.iwara.tv","ecchi.iwara.tv"], "url": "/\\/(images|videos|search)/", "pager": { - "nextL": "li.pager-next > a", + "nextL": "li.pager-next>a", "pageE": ".views-row", "replaceE": ".pager", "scrollD": 2500 @@ -1118,8 +1118,8 @@ "host": ["www.iwara.tv","ecchi.iwara.tv"], "url": "return (fun.indexOF('/forums/') && fun.getCSS('#forum') != null)", "pager": { - "nextL": "li.pager-next > a", - "pageE": ".forum-table > tbody > tr", + "nextL": "li.pager-next>a", + "pageE": ".forum-table>tbody>tr", "replaceE": ".pager", "scrollD": 2500 } @@ -1129,8 +1129,8 @@ "url": "/^\\/forums/", "thread": true, "pager": { - "nextL": "li.pager-next > a", - "pageE": "#forum-comments > *:not(.item-list):not(.element-invisible)", + "nextL": "li.pager-next>a", + "pageE": "#forum-comments>*:not(.item-list):not(.element-invisible)", "replaceE": ".pager", "scrollD": 2500 } @@ -1149,7 +1149,7 @@ "url": "/^\\/(index|work_list|activity_list|perspectives_list)\\.aspx/", "style": ".collects {display: block;}", "pager": { - "nextL": ".tcdPageCode > span.current+a.tcdNumber", + "nextL": ".tcdPageCode>span.current+a.tcdNumber", "pageE": ".content_list_box", "replaceE": ".tcdPageCode" } @@ -1159,7 +1159,7 @@ "url": "/^\\/search_list\\.aspx/", "style": ".collects {display: block;}", "pager": { - "nextL": ".tcdPageCode > span.current+a.tcdNumber", + "nextL": ".tcdPageCode>span.current+a.tcdNumber", "pageE": "//div[@class='content_list_box'] | //body/script[contains(text(), 'function loadcount()')]", "replaceE": ".tcdPageCode", "scriptT": 2 @@ -1173,7 +1173,7 @@ "url": "/^\\/exhibition_list_new\\.aspx/", "style": ".collects {display: block;}", "pager": { - "nextL": ".tcdPageCode > span.current+a.tcdNumber", + "nextL": ".tcdPageCode>span.current+a.tcdNumber", "pageE": ".activityBox >*", "replaceE": ".tcdPageCode", "scriptT": 2 @@ -1184,7 +1184,7 @@ "url": "/^\\/exhibition_list\\.aspx/", "style": ".collectss {display: block;} .list_tan_box {display: none !important;}", "pager": { - "nextL": ".tcdPageCode > span.current+a.tcdNumber", + "nextL": ".tcdPageCode>span.current+a.tcdNumber", "pageE": ".content_lists_box", "replaceE": ".tcdPageCode" } @@ -1192,9 +1192,9 @@ "图怪兽": { "host": "818ps.com", "url": "/^\\/search\\//", - "style": ".footer > div {background-color: #fff !important;}", + "style": ".footer>div {background-color: #fff !important;}", "pager": { - "nextL": "li.toppage > a", + "nextL": "li.toppage>a", "pageE": "#masonry", "replaceE": ".pagination" }, @@ -1208,7 +1208,7 @@ "style": ".qtw-card.place-box, .card-lazy, .is-line .is-back, .qt-model-t.login-model {display: none !important;}", "pager": { "nextL": "//div[contains(@class,'page-box')]//a[text()='下一页']", - "pageE": ".card-grid-box.is-new:not(.favorites-box) > div", + "pageE": ".card-grid-box.is-new:not(.favorites-box)>div", "replaceE": ".page-box", "scrollD": 2500 }, @@ -1222,7 +1222,7 @@ "style": ".qt-model-t.login-model, .card-lazy {display: none !important;}", "pager": { "nextL": "//div[contains(@class,'page-box')]//a[text()='下一页']", - "pageE": ".list-box > div", + "pageE": ".list-box>div", "replaceE": ".page-box", "scrollD": 4000 }, @@ -1291,7 +1291,7 @@ "style": ".searchAdver {display: none !important;}", "pager": { "nextL": "a.next", - "pageE": "ul.media-list-ul > li[pr-data-title]", + "pageE": "ul.media-list-ul>li[pr-data-title]", "replaceE": ".pagelist", "scrollD": 2000 }, @@ -1305,7 +1305,7 @@ "style": ".searchAdver {display: none !important;}", "pager": { "nextL": "a.next", - "pageE": ".baotufonts-list > a", + "pageE": ".baotufonts-list>a", "replaceE": ".pagelist", "scrollD": 2000 }, @@ -1331,7 +1331,7 @@ "host": "pixabay.com", "pager": { "nextL": "//a[text()=\"›\"]", - "pageE": "[class^=\"results\"] > [class^=\"container\"] > div", + "pageE": "[class^=\"results\"] >[class^=\"container\"]>div", "replaceE": "//a[text()=\"›\"]", "scrollD": 2000 }, @@ -1374,7 +1374,7 @@ "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 } }, @@ -1403,7 +1403,7 @@ "host": "www.puxiang.com", "url": "/^\\/forum\\/thread/", "pager": { - "nextL": "li.next > a", + "nextL": "li.next>a", "pageE": ".forum-post-item", "replaceE": ".pagerbar" } @@ -1412,7 +1412,7 @@ "host": "www.puxiang.com", "url": "/^\\/forum/", "pager": { - "nextL": "li.next > a", + "nextL": "li.next>a", "pageE": ".forum-detail-item", "replaceE": ".pagerbar" } @@ -1421,8 +1421,8 @@ "host": "www.puxiang.com", "url": "return (fun.lp() == '/search/favorite')", "pager": { - "nextL": "li.next > a", - "pageE": ".collect-list > div", + "nextL": "li.next>a", + "pageE": ".collect-list>div", "replaceE": ".pagerbar" } }, @@ -1430,8 +1430,8 @@ "host": "www.puxiang.com", "url": "return (fun.lp() == '/' || fun.lp() == '/search/puxiang' || fun.lp() == '/list' || fun.lp() == '/galleries' || fun.lp() == '/articles')", "pager": { - "nextL": "li.next > a", - "pageE": ".work-list > div", + "nextL": "li.next>a", + "pageE": ".work-list>div", "replaceE": ".pagerbar" } }, @@ -1440,7 +1440,7 @@ "url": "if (fun.getCSS('body#nv_forum.pg_forumdisplay') && fun.getCSS('ul.waterfall')) return true", "pager": { "nextL": "a.nxt:not([href*='javascript'])", - "pageE": ".waterfall > li", + "pageE": ".waterfall>li", "replaceE": ".pg" } }, @@ -1460,7 +1460,7 @@ "thread": true, "pager": { "nextL": "a.nxt:not([href*='javascript'])", - "pageE": "#zhanzhuai_primary > .box", + "pageE": "#zhanzhuai_primary>.box", "replaceE": ".pg" } }, @@ -1478,7 +1478,7 @@ "host": "www.xuexiniu.com", "pager": { "nextL": "//a[@class='page-link' and contains(text(), '下一页')]", - "pageE": ".row > .col-sm-6", + "pageE": ".row>.col-sm-6", "replaceE": "ul.pagination", "scrollD": 1000 } @@ -1487,8 +1487,8 @@ "host": "www.om.cn", "url": "/^\\/.+/", "pager": { - "nextL": "li.next > a", - "pageE": ".main_content > ul > li", + "nextL": "li.next>a", + "pageE": ".main_content>ul>li", "replaceE": "ul.pagination" } }, @@ -1498,17 +1498,17 @@ "style": ".last-li-carousel-img {display: none !important;}", "pager": { "nextL": "li.next_page a[rel='next']", - "pageE": "ul.list-page-ul > li", + "pageE": "ul.list-page-ul>li", "replaceE": "ul.pagination", "scrollD": 2000 } }, "3DM - 分类页": { "host": "www.3dmgame.com", - "url": "if (fun.getCSS('.Llist_b > div.lis')) return true", + "url": "if (fun.getCSS('.Llist_b>div.lis')) return true", "pager": { - "nextL": "li.next > a", - "pageE": ".Llist_b > div.lis", + "nextL": "li.next>a", + "pageE": ".Llist_b>div.lis", "replaceE": ".pagewrap", "scrollD": 1000 }, @@ -1518,10 +1518,10 @@ }, "3DM - 游戏专区 - 分类页": { "host": "www.3dmgame.com", - "url": "if (fun.getCSS('.newsleft > ul')) return true", + "url": "if (fun.getCSS('.newsleft>ul')) return true", "pager": { - "nextL": "li.next > a", - "pageE": ".newsleft > ul > li", + "nextL": "li.next>a", + "pageE": ".newsleft>ul>li", "replaceE": ".pagewrap", "scrollD": 1000 }, @@ -1533,9 +1533,9 @@ "host": "www.3dmgame.com", "url": "return (fun.indexOF('/resource'))", "pager": { - "nextL": "li.next > a", - "pageE": ".item > ul", - "insertP": [".item > ul:last-child",1], + "nextL": "li.next>a", + "pageE": ".item>ul", + "insertP": [".item>ul:last-child",1], "replaceE": ".pagewrap", "scrollD": 800 } @@ -1544,8 +1544,8 @@ "host": "www.3dmgame.com", "pager": { "type": 3, - "nextL": "li.next > a", - "pageE": ".news_warp_center > *, script[src*='common.js']", + "nextL": "li.next>a", + "pageE": ".news_warp_center>*, script[src*='common.js']", "replaceE": ".pagewrap", "scrollE": ".pagewrap", "scriptT": 2, @@ -1599,10 +1599,10 @@ }, "游侠网 - 下载页": { "host": "down.ali213.net", - "url": "if (fun.getCSS('.famous-ul > .famous-li')) return true", + "url": "if (fun.getCSS('.famous-ul>.famous-li')) return true", "pager": { "nextL": "a.page-next", - "pageE": ".famous-ul > .famous-li", + "pageE": ".famous-ul>.famous-li", "replaceE": ".page-container", "scrollD": 1000 }, @@ -1616,7 +1616,7 @@ "pager": { "type": 3, "nextL": "a.next", - "pageE": ".c-detail > *", + "pageE": ".c-detail>*", "replaceE": ".page_fenye", "scrollE": ".page_fenye", "interval": 500, @@ -1628,8 +1628,8 @@ "style": "a.prev, a.next {display: none !important;}", "pager": { "nextL": "a.next", - "pageE": "#image-show > img", - "replaceE": "#image-show > a", + "pageE": "#image-show>img", + "replaceE": "#image-show>a", "scrollD": 1200 } }, @@ -1639,7 +1639,7 @@ "pager": { "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)", + "pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.page_css):not(.gs_ccs_solve):not(.post_ding)", "insertP": [".page_css",1], "replaceE": ".page_css", "scrollE": ".page_css", @@ -1653,7 +1653,7 @@ "pager": { "type": 3, "nextL": "//div[@class='page_css']/a[text()='下一页']", - "pageE": ".Mid2L_con > *:not(.gs_nc_editor):not(.pagecss):not(.gs_ccs_solve):not(.post_ding)", + "pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.gs_ccs_solve):not(.post_ding)", "insertP": [".gs_nc_editor",1], "replaceE": ".page_css", "scrollE": ".page_css", @@ -1671,7 +1671,7 @@ "pager": { "type": 3, "nextL": "//div[@class='page_css']/a[text()='下一页']", - "pageE": ".Mid2L_con > *:not(.gs_nc_editor):not(.pagecss):not(.gs_ccs_solve):not(.post_ding)", + "pageE": ".Mid2L_con>*:not(.gs_nc_editor):not(.pagecss):not(.gs_ccs_solve):not(.post_ding)", "insertP": [".pagecss",1], "replaceE": ".page_css", "scrollE": ".page_css", @@ -1691,7 +1691,7 @@ "CurseForge": { "host": "www.curseforge.com", "pager": { - "nextL": ".pagination-next > a", + "nextL": ".pagination-next>a", "pageE": "div.my-2", "replaceE": ".pagination", "scrollD": 2500 @@ -1703,7 +1703,7 @@ "style": ".resource .r-preview>a img[loading=lazy]:not(.lazyloaded) {visibility: initial !important;}", "pager": { "nextL": "a.pagination_next", - "pageE": ".resource_block > ul.resource_list > li", + "pageE": ".resource_block>ul.resource_list>li", "replaceE": ".pagination", "scrollD": 3000 } @@ -1722,7 +1722,7 @@ "url": "return (fun.indexOF('/workshop/browse'))", "pager": { "nextL": "//a[@class='pagebtn' and text()='>']", - "pageE": ".workshopBrowseItems > *", + "pageE": ".workshopBrowseItems>*", "replaceE": ".workshopBrowsePaging", "scriptT": 2 } @@ -1733,8 +1733,8 @@ "style": ".forum_paging_controls {display: none !important;}", "history": true, "pager": { - "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", + "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 } @@ -1754,7 +1754,7 @@ "blank": 3, "pager": { "nextL": "a.next", - "pageE": ".row.posts-wrapper > div", + "pageE": ".row.posts-wrapper>div", "replaceE": "ul.page-numbers", "scrollD": 1000 } @@ -1764,7 +1764,7 @@ "url": "return (fun.lp() == '/forum/viewforum.php')", "pager": { "nextL": "#pagecontent .gensmall[align='right'] strong~a", - "pageE": "#pagecontent > table.tablebg > tbody > tr:not([align])", + "pageE": "#pagecontent>table.tablebg>tbody>tr:not([align])", "replaceE": "#pagecontent .gensmall[align='right']" }, "function": { @@ -1777,7 +1777,7 @@ "thread": true, "pager": { "nextL": "#pageheader .gensmall strong~a", - "pageE": "#pagecontent > table.tablebg:not(:nth-last-child(2)):not(:nth-child(2))", + "pageE": "#pagecontent>table.tablebg:not(:nth-last-child(2)):not(:nth-child(2))", "replaceE": "#pagecontent >table:not(.tablebg), #pageheader p.gensmall", "scrollD": 2000 } @@ -1786,9 +1786,9 @@ "host": "cs.rin.ru", "url": "return (fun.lp() == '/forum/search.php')", "pager": { - "nextL": "#wrapcentre > .nav strong~a", - "pageE": "#wrapcentre > form > table.tablebg > tbody > tr[class^='row'], #wrapcentre > form > table.tablebg > tbody > tr[valign]", - "replaceE": "#wrapcentre > div" + "nextL": "#wrapcentre>.nav strong~a", + "pageE": "#wrapcentre>form>table.tablebg>tbody>tr[class^='row'], #wrapcentre>form>table.tablebg>tbody>tr[valign]", + "replaceE": "#wrapcentre>div" } }, "RuTracker - 帖子列表": { @@ -1836,7 +1836,7 @@ "url": "return (!fun.indexOF('do=search','s') && fun.getCSS('.paging-wrapper-bottom') != null)", "blank": 3, "pager": { - "nextL": ".paging-wrapper-bottom > span + a", + "nextL": ".paging-wrapper-bottom>span+a", "pageE": "div[id^='entryID']", "replaceE": ".paging-wrapper-bottom", "scrollD": 2000 @@ -1859,7 +1859,7 @@ "host": "gbatemp.net", "pager": { "nextL": "a.pageNav-jump--next", - "pageE": ".structItemContainer > div", + "pageE": ".structItemContainer>div", "replaceE": ".pageNav" } }, @@ -1868,7 +1868,7 @@ "url": "return (fun.lp() != '/' && !fun.indexOF('.html'))", "pager": { "nextL": "a.nextpostslink", - "pageE": ".video-listing-content .row > div", + "pageE": ".video-listing-content .row>div", "replaceE": ".wp-pagenavi" }, "function": { @@ -1881,7 +1881,7 @@ "blank": 3, "pager": { "nextL": "a.next", - "pageE": ".post-box-list > article", + "pageE": ".post-box-list>article", "replaceE": ".pagination_wrap" } }, @@ -1890,7 +1890,7 @@ "url": "return (fun.lp() == '/search.php' || fun.indexOF('/list/'))", "pager": { "nextL": "//ul[contains(@class, 'myui-page')]/li/a[text()='下一页']", - "pageE": "ul.myui-vodlist > li", + "pageE": "ul.myui-vodlist>li", "replaceE": "ul.myui-page" }, "function": { @@ -1904,7 +1904,7 @@ "blank": 3, "pager": { "nextL": "//ul[contains(@class, 'stui-page__item')]//a[text()='下一页']", - "pageE": "ul.stui-vodlist > li", + "pageE": "ul.stui-vodlist>li", "replaceE": "ul.stui-page__item", "scrollD": 1000 }, @@ -1918,7 +1918,7 @@ "blank": 3, "pager": { "nextL": "a.page-number.page-next", - "pageE": ".module-items > *", + "pageE": ".module-items>*", "replaceE": "#page", "scrollD": 1000 }, @@ -1931,7 +1931,7 @@ "url": "/^\\/category-/", "pager": { "nextL": "a[title='下一页 ›']", - "pageE": ".wrapbox > ul > li", + "pageE": ".wrapbox>ul>li", "replaceE": "#pagenavi" }, "function": { @@ -1943,8 +1943,8 @@ "url": "return (document.title.indexOf('91美剧') > -1 && !fun.indexOF('/w/') && !fun.indexOF('/dp/'))", "blank": 3, "pager": { - "nextL": ".next-page > a", - "pageE": ".m-movies > article", + "nextL": ".next-page>a", + "pageE": ".m-movies>article", "replaceE": ".pagination" }, "function": { @@ -1957,7 +1957,7 @@ "blank": 3, "pager": { "nextL": "//ul[contains(@class, 'stui-page')]/li/a[text()='下一页']", - "pageE": "ul.stui-vodlist > li", + "pageE": "ul.stui-vodlist>li", "replaceE": "ul.stui-page" }, "function": { @@ -1969,7 +1969,7 @@ "url": "return (fun.indexOF('/vod_type') || fun.indexOF('/vod_show'))", "pager": { "nextL": "#page a[title='下一页']", - "pageE": "ul.search-result > a", + "pageE": "ul.search-result>a", "replaceE": "#page", "scrollD": 1000 }, @@ -1982,7 +1982,7 @@ "url": "return (fun.indexOF('/vod_search'))", "pager": { "nextL": "#page a[title='下一页']", - "pageE": "ul.show-list > li", + "pageE": "ul.show-list>li", "replaceE": "#page", "scrollD": 1000 }, @@ -1995,7 +1995,7 @@ "url": "return (fun.indexOF('/list/'))", "pager": { "nextL": ".pagego a", - "pageE": ".list > ul > li", + "pageE": ".list>ul>li", "replaceE": ".newpages, .pagego, #float_show", "scrollD": 1000 } @@ -2005,7 +2005,7 @@ "url": "return (fun.indexOF('search', 's'))", "pager": { "nextL": "//a[@class='a1'][contains(text(), '下一页')]", - "pageE": ".search_list > *", + "pageE": ".search_list>*", "replaceE": ".pages", "scrollD": 1000 } @@ -2016,7 +2016,7 @@ "blank": 3, "pager": { "nextL": "//div[@class='pages']/a[text()='下一页']", - "pageE": "#contrainer > .img> ul > li", + "pageE": "#contrainer>.img> ul>li", "replaceE": ".pages", "scrollD": 1000 } @@ -2027,7 +2027,7 @@ "blank": 3, "pager": { "nextL": "//div[@class='pages']/a[text()='下一页']", - "pageE": "#contrainer .fire .pics > ul > li", + "pageE": "#contrainer .fire .pics>ul>li", "replaceE": ".pages", "scrollD": 1000 } @@ -2037,7 +2037,7 @@ "url": "return (fun.indexOF('/search') || fun.indexOF('/category') || fun.indexOF('/resource'))", "pager": { "nextL": "//a[@class='nextPage' or text()='下一页']", - "pageE": ".dhnew > ul > li", + "pageE": ".dhnew>ul>li", "replaceE": ".pagelist", "scrollD": 2000 } @@ -2047,7 +2047,7 @@ "url": "return (fun.indexOF('/search') || fun.indexOF('/type'))", "pager": { "nextL": "//ul[contains(@class, 'pagination ')]//a[text()='»']", - "pageE": "ul.list-unstyled > li", + "pageE": "ul.list-unstyled>li", "replaceE": "ul.pagination ", "scrollD": 1000 }, @@ -2061,7 +2061,7 @@ "blank": 3, "pager": { "nextL": "//div[contains(@class, 'page')]/a[text()='>']", - "pageE": ".index-tj > ul > li", + "pageE": ".index-tj>ul>li", "replaceE": ".page", "scrollD": 1000 }, @@ -2075,8 +2075,8 @@ "blank": 3, "pager": { "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", - "pageE": "#container .blockcontent1 > div", - "replaceE": "#container .blockcontent > div[style]:not([class])", + "pageE": "#container .blockcontent1>div", + "replaceE": "#container .blockcontent>div[style]:not([class])", "scrollD": 1000 } }, @@ -2086,8 +2086,8 @@ "blank": 3, "pager": { "nextL": "id('container')//div[@class='blockcontent']/div[@style][not(@class)]/li/a[contains(text(), '下一页')]", - "pageE": "#container .blockcontent > ul > li", - "replaceE": "#container .blockcontent > div[style]:not([class])", + "pageE": "#container .blockcontent>ul>li", + "replaceE": "#container .blockcontent>div[style]:not([class])", "scrollD": 1000 } }, @@ -2097,8 +2097,8 @@ "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])" + "pageE": "#container>.div_right .blockcontent.div_right_r_3>ul", + "replaceE": "#container>ul[style]:not([class])" } }, "233 动漫": { @@ -2107,7 +2107,7 @@ "blank": 3, "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", - "pageE": ".dhnew ul > li", + "pageE": ".dhnew ul>li", "replaceE": ".pagelist", "scrollD": 1000 } @@ -2118,7 +2118,7 @@ "blank": 3, "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", - "pageE": ".xgyd ul > li", + "pageE": ".xgyd ul>li", "replaceE": ".pagelist" } }, @@ -2128,16 +2128,16 @@ "blank": 3, "pager": { "nextL": "//div[@class='pagelist']//a[contains(text(), '下一页') or contains(text(), '下一頁')]", - "pageE": ".side-update.normal-wai > .normal-nei", + "pageE": ".side-update.normal-wai>.normal-nei", "replaceE": ".pagelist" } }, "音范丝": { "host": "/www\\.yinfans\\./", - "style": "#post_container {height: auto !important;} #post_container > li {position: static !important; float: left !important; height: 620px !important;}", + "style": "#post_container {height: auto !important;} #post_container>li {position: static !important; float: left !important; height: 620px !important;}", "pager": { "nextL": "a.next", - "pageE": "#post_container > li", + "pageE": "#post_container>li", "replaceE": ".pagination" } }, @@ -2147,8 +2147,8 @@ "style": "body, html {overflow-x: initial !important;}", "blank": 3, "pager": { - "nextL": ".pagination > li.active + li > a", - "pageE": "#Search_list_wrapper > li", + "nextL": ".pagination>li.active+li>a", + "pageE": "#Search_list_wrapper>li", "replaceE": ".pagination", "scrollD": 1000 } @@ -2178,7 +2178,7 @@ "url": "return (fun.lp() != '/' && !fun.indexOF(/\\/d+.htm/))", "pager": { "type": 2, - "nextL": "div.layui-flow-more > a", + "nextL": "div.layui-flow-more>a", "nextText": "加载更多" } }, @@ -2186,7 +2186,7 @@ "host": "gaoqing.fm", "pager": { "type": 2, - "nextL": ".col-md-12 > a, #loadmore > a", + "nextL": ".col-md-12>a, #loadmore>a", "interval": 1500 } }, @@ -2194,7 +2194,7 @@ "host": ["www.kisssub.org","www.comicat.org","www.anix.moe","/(share|www)\\.acgnx\\./"], "pager": { "nextL": "a.nextprev:last-of-type", - "pageE": "#data_list > tr", + "pageE": "#data_list>tr", "replaceE": ".pages", "scrollD": 2500 } @@ -2203,18 +2203,18 @@ "host": ["dmhy.org","share.dmhy.org","dmhy.anoneko.com"], "pager": { "nextL": "//div[@class='nav_title']/a[contains(text(), '下一')]", - "pageE": "#topic_list > tbody > tr", + "pageE": "#topic_list>tbody>tr", "replaceE": ".nav_title" }, "function": { - "aF": "document.body.appendChild(document.createElement('script')).textContent = `$('#topic_list > tbody > tr:even:not(.even):not(.odd)').addClass('even'); $('#topic_list > tbody > tr:odd:not(.even):not(.odd)').addClass('odd');`" + "aF": "document.body.appendChild(document.createElement('script')).textContent = `$('#topic_list>tbody>tr:even:not(.even):not(.odd)').addClass('even'); $('#topic_list>tbody>tr:odd:not(.even):not(.odd)').addClass('odd');`" } }, "蜜柑计划 - Mikan": { "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 } @@ -2223,7 +2223,7 @@ "host": ["futaacg.com", "www.futaacg.com"], "pager": { "nextL": "ul.pagination a[rel='next']", - "pageE": ".topic-list > div", + "pageE": ".topic-list>div", "replaceE": "ul.pagination" } }, @@ -2243,7 +2243,7 @@ "blank": 3, "pager": { "nextL": "li.next>a", - "pageE": "table.post-index > tbody > tr", + "pageE": "table.post-index>tbody>tr", "replaceE": "ul.pagination" } }, @@ -2269,7 +2269,7 @@ "host": ["miobt.com","www.36dm.club"], "pager": { "nextL": "//a[@class='nextprev'][contains(text(), '〉') or contains(text(), '下一页') or contains(text(), '»')]", - "pageE": "#data_list > tr", + "pageE": "#data_list>tr", "replaceE": ".pages" } }, @@ -2279,7 +2279,7 @@ "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 '';}", - "pageE": "div[class='row'] > .col-md-6 > ul", + "pageE": "div[class='row']>.col-md-6>ul", "insertP": ["nav[aria-label*='Page']",1], "replaceE": "ul.pagination", "scrollD": 900 @@ -2289,8 +2289,8 @@ "host": ["nyaa.si","sukebei.nyaa.si"], "blank": 3, "pager": { - "nextL": "a[rel='next'], li.next > a", - "pageE": "table.torrent-list > tbody > tr", + "nextL": "a[rel='next'], li.next>a", + "pageE": "table.torrent-list>tbody>tr", "replaceE": "ul.pagination" } }, @@ -2310,7 +2310,7 @@ "blank": 3, "pager": { "nextL": "//div[@class='pagination']//a[text()='>>']", - "pageE": "table.table-list > tbody > tr", + "pageE": "table.table-list>tbody>tr", "replaceE": ".pagination" } }, @@ -2319,7 +2319,7 @@ "url": "return (document.title.indexOf('RARBG') > -1 && fun.lp() == '/torrents.php')", "blank": 3, "pager": { - "nextL": "#pager_links > a[title='next page']", + "nextL": "#pager_links>a[title='next page']", "pageE": "table.lista2t tr.lista2", "replaceE": "#pager_links" } @@ -2330,7 +2330,7 @@ "blank": 3, "pager": { "nextL": "a[aria-label='Next']", - "pageE": ".table > tbody > tr", + "pageE": ".table>tbody>tr", "replaceE": ".pagination" } }, @@ -2339,7 +2339,7 @@ "url": "return (fun.lp() == '/' || fun.indexOF('/list/new'))", "pager": { "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", - "pageE": ".col-lg-9 .bg-white.shadow-sm.rounded-3 > .row.gx-0", + "pageE": ".col-lg-9 .bg-white.shadow-sm.rounded-3>.row.gx-0", "replaceE": "ul.pagination", "scrollD": 1000 } @@ -2362,7 +2362,7 @@ "blank": 3, "pager": { "nextL": "a.pager__item--next", - "pageE": "#block-white-content tbody > tr", + "pageE": "#block-white-content tbody>tr", "replaceE": ".pagination", "scrollD": 2000 } @@ -2373,7 +2373,7 @@ "blank": 3, "pager": { "nextL": "a.pager__item--next", - "pageE": "div[class*='-item-list'] > ul > li", + "pageE": "div[class*='-item-list']>ul>li", "replaceE": ".pagination", "scrollD": 2000 } @@ -2384,7 +2384,7 @@ "blank": 3, "pager": { "nextL": "a.pager__item--next", - "pageE": "ul.list > li", + "pageE": "ul.list>li", "replaceE": ".pagination", "scrollD": 1000 } @@ -2394,7 +2394,7 @@ "url": "return (fun.indexOF('/forum/forum') || fun.indexOF('/forum/ask'))", "pager": { "nextL": "//a[@class='page-link'][contains(text(), '下一页')]", - "pageE": ".bg-white.shadow-sm.rounded-3 > div", + "pageE": ".bg-white.shadow-sm.rounded-3>div", "replaceE": "nav.clearfix", "scrollD": 800 } @@ -2416,7 +2416,7 @@ "history": true, "pager": { "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)", + "pageE": ".resultcard>div:not(#top-banner):not(#bottom-banner):not(.pagelinkcard)", "insertP": [".pagelinkcard",1], "replaceE": ".pagelinkcard", "scrollD": 1000 @@ -2427,17 +2427,17 @@ "url": "return (fun.indexOF('/list/'))", "pager": { "nextL": "//a[@id='pl-nav' and text()='>']", - "pageE": "#resultsdiv > .subitem:not([id])", + "pageE": "#resultsdiv>.subitem:not([id])", "replaceE": ".pagelinkcard", "scrollD": 1000 } }, "字幕库 zmk": { "host": ["zmk.pw","zimuku.org","zimuku.pw"], - "url": "if (!fun.indexOF('/detail/')) {if (fun.lp() == '/') {fun.getCSS('.box > .table').insertAdjacentHTML('beforebegin', '
    ')}; return true;}", + "url": "if (!fun.indexOF('/detail/')) {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": { @@ -2449,7 +2449,7 @@ "url": "return (fun.lp() == '/so_zimu.htm')", "blank": 3, "pager": { - "nextL": "li.page-item.active+li > a", + "nextL": "li.page-item.active+li>a", "pageE": "li.thread", "replaceE": ".pagination", "scrollD": 1000 @@ -2460,18 +2460,18 @@ "url": "/\\/xslist\\.php/", "pager": { "nextL": "li.disabled+li>a", - "pageE": ".list > ul > li:not(.first)", + "pageE": ".list>ul>li:not(.first)", "replaceE": ".pagination" } }, "好漫 6": { "host": ["www.haoman6.com","www.g-lens.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;if (fun.getCSS('a.rd-aside__item.j-rd-next')) return location.origin + fun.getCSS('a.rd-aside__item.j-rd-next').getAttribute('_href')", - "pageE": ".rd-article-wr > div", + "pageE": ".rd-article-wr>div", "replaceE": "a.last-crumb, .rd-aside", "interval": 2000, "scrollD": 2000 @@ -2485,7 +2485,7 @@ "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", - "pageE": ".cate-comic-list > div", + "pageE": ".cate-comic-list>div", "replaceE": "#Pagination", "scrollD": 1000 }, @@ -2515,7 +2515,7 @@ "url": "if (fun.indexOF('/detail/')) {setTimeout(function(){fun.getCSS('a#zhankai').click()}, 500)} else if (fun.indexOF('/manhua/')) {return true}", "pager": { "nextL": "//a[@class='GPageLink' and text()='下一页']", - "pageE": ".cy_list_mh > ul", + "pageE": ".cy_list_mh>ul", "replaceE": ".NewPages", "scrollD": 2000 } @@ -2539,7 +2539,7 @@ "url": "/^\\/b/", "pager": { "nextL": "a.next.page-numbers", - "pageE": ".list-grouped > div", + "pageE": ".list-grouped>div", "replaceE": ".nav-links" } }, @@ -2559,7 +2559,7 @@ "url": "return (!fun.indexOF(/\\/manhua\\/\\d+\\.html/))", "pager": { "nextL": "//div[@class='pages']/a[text()='下一页']", - "pageE": ".cy_list_mh > ul", + "pageE": ".cy_list_mh>ul", "replaceE": ".pages" } }, @@ -2570,7 +2570,7 @@ "iframe": true, "pager": { "type": 5, - "nextL": ".comicContent-next > a", + "nextL": ".comicContent-next>a", "style": "h4.header, h4.header +div[style*='fixed'] {display: none !important;}", "scrollD": 3000 } @@ -2580,7 +2580,7 @@ "url": "/\\/comics/", "pager": { "type": 6, - "nextL": "li.next > a", + "nextL": "li.next>a", "pageE": ".exemptComicItem", "replaceE": "ul.page-all", "loadTime": 1000, @@ -2594,7 +2594,7 @@ "host": "/copymanga\\./", "url": "/\\/recommend/", "pager": { - "nextL": "li.next > a", + "nextL": "li.next>a", "pageE": ".exemptComicItem", "replaceE": "ul.page-all" }, @@ -2620,7 +2620,7 @@ "url": "return (!fun.indexOF('/article_list/'))", "pager": { "nextL": "a.next.page-numbers", - "pageE": "#book_list > .item", + "pageE": "#book_list>.item", "replaceE": ".uk-pagination" } }, @@ -2630,8 +2630,8 @@ "style": "#footer, #header {display: none !important;} .header, .bottom-bar {opacity: 0.3;}", "history": true, "pager": { - "nextL": ".next_chapter > a", - "pageE": ".comic-contain > amp-img", + "nextL": ".next_chapter>a", + "pageE": ".comic-contain>amp-img", "replaceE": ".next_chapter, .bottom-bar, .header .title", "scrollD": 2000 } @@ -2642,7 +2642,7 @@ "style": ".article-content img {visibility: visible; opacity: 1;} .swiper-container {display: none !important;}", "history": true, "pager": { - "nextL": "li.thisclass+li > a", + "nextL": "li.thisclass+li>a", "pageE": ".article-content p, #newsArticle p", "replaceE": ".pagination, .pages", "scrollD": 5500 @@ -2651,8 +2651,8 @@ "鬼罗丽漫画 - 分类页": { "host": "www.gllmh8.com", "pager": { - "nextL": "li.thisclass+li > a", - "pageE": ".listl > ul > li", + "nextL": "li.thisclass+li>a", + "pageE": ".listl>ul>li", "replaceE": ".page", "scrollD": 2000 } @@ -2662,7 +2662,7 @@ "url": "return (fun.indexOF('/all/'))", "pager": { "nextL": "a[class*='pagination-next']", - "pageE": "ul.all-img-list > li", + "pageE": "ul.all-img-list>li", "replaceE": "#page-container", "scrollD": 900 } @@ -2673,7 +2673,7 @@ "history": true, "pager": { "nextL": "a[id$='chapterNext']", - "pageE": ".main-text-wrap > div:not(.admire-wrap)", + "pageE": ".main-text-wrap>div:not(.admire-wrap)", "replaceE": ".chapter-control", "scrollD": 900 } @@ -2684,7 +2684,7 @@ "history": true, "pager": { "nextL": "//div[@class='reader-footer']/a[text()='下一章']", - "pageE": ".article > p", + "pageE": ".article>p", "replaceE": ".reader-footer", "scrollD": 900 } @@ -2693,7 +2693,7 @@ "host": "zxcs.me", "url": "return (fun.indexOF('/sort/'))", "pager": { - "nextL": "#pagenavi > span+a", + "nextL": "#pagenavi>span+a", "pageE": "dl[id='plist']", "replaceE": "#pagenavi", "scrollD": 900 @@ -2704,8 +2704,8 @@ "url": "return (fun.indexOF('/TXT/list'))", "pager": { "nextL": "//div[@class='listl2']//a[text()='下一页']", - "pageE": ".listl2 > ul > li", - "replaceE": ".listl2 > dl", + "pageE": ".listl2>ul>li", + "replaceE": ".listl2>dl", "scrollD": 900 } }, @@ -2714,8 +2714,8 @@ "url": "return (fun.indexOF('/TXT/list'))", "pager": { "nextL": "//div[@class='man_first']//a[text()='下一页']", - "pageE": ".man_first > ul > li", - "replaceE": ".man_first > dl", + "pageE": ".man_first>ul>li", + "replaceE": ".man_first>dl", "scrollD": 900 } }, @@ -2725,7 +2725,7 @@ "history": true, "pager": { "nextL": "a.pt-nextchapter", - "pageE": ".pt-read-text > p", + "pageE": ".pt-read-text>p", "replaceE": ".pt-read-btn" } }, @@ -2734,7 +2734,7 @@ "url": "/\\/yue_/", "history": true, "pager": { - "nextL": ".pt-nextchapter > a", + "nextL": ".pt-nextchapter>a", "pageE": "#pt-pop", "replaceE": ".border-c" } @@ -2757,7 +2757,7 @@ "url": "return (fun.indexOF('/lists/'))", "pager": { "nextL": "id('pager')//a[contains(text(), '下一页')]", - "pageE": ".books-list > ul > li", + "pageE": ".books-list>ul>li", "replaceE": "#pager", "scrollD": 1000 } @@ -2767,7 +2767,7 @@ "url": "return (fun.indexOF('/all'))", "pager": { "nextL": "id('pager')//a[contains(text(), '下一页')]", - "pageE": "ul.search-list > li", + "pageE": "ul.search-list>li", "replaceE": "#pager", "scrollD": 1000 } @@ -2775,7 +2775,7 @@ "搜小说": { "host": "www.soxscc.org", "url": "if (fun.indexOF(/\\/\\d{4,}.html/)) {fun.xs_bF(fun.getAllCSS('.content'), [/(
    )?( )+您可以在百度.+?最新章节!/, '']); return true}", - "style": ".content > p, img {display: none !important;}", + "style": ".content>p, img {display: none !important;}", "history": true, "pager": { "nextL": "//font[contains(text(), '下一章')]/following-sibling::a[1]", @@ -2817,7 +2817,7 @@ "url": "return (fun.indexOF(/\\/(list|quanben|search)/))", "pager": { "nextL": "#pagelink a.next", - "pageE": "#content > dd tbody > tr:not(:first-child)", + "pageE": "#content>dd tbody>tr:not(:first-child)", "replaceE": "#pagelink", "scrollD": 900 } @@ -2836,7 +2836,7 @@ "读书族小说网": { "host": "m.xiaoshuo77.net", "url": "if (fun.indexOF('.html')) {fun.xs_bF(fun.getAllCSS('#novelcontent'), [/(
    )?( )+内容未完,下一页.*$|【本章阅读.*$/, '
    ']); return true}", - "style": "#novelcontent > p, img {display: none !important;}", + "style": "#novelcontent>p, img {display: none !important;}", "history": true, "pager": { "nextL": ".page_chapter a.p4", @@ -2875,7 +2875,7 @@ }, "铅笔小说": { "host": "www.23qb.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;return (location.origin + ReadParams.url_next)", @@ -2891,8 +2891,8 @@ "host": "www.23qb.com", "url": "return (fun.lp() != '/' && !fun.indexOF(/\\/book\\/\\d+\\//))", "pager": { - "nextL": ".pages a.next, .pages > strong+a", - "pageE": "#sitebox > dl", + "nextL": ".pages a.next, .pages>strong+a", + "pageE": "#sitebox>dl", "replaceE": ".pages" }, "function": { @@ -2905,8 +2905,8 @@ "history": true, "pager": { "nextL": "//div[contains(@class, 'tag-view-type')]//a[text()='下一章']", - "pageE": ".tagCol > p", - "insertP": [".tagCol > p",6], + "pageE": ".tagCol>p", + "insertP": [".tagCol>p",6], "replaceE": ".tag-view-type" } }, @@ -2925,7 +2925,7 @@ "history": true, "pager": { "nextL": "//ul[@class='pagination']/li/a[contains(text(), '下一页')]", - "pageE": ".rank-book-list > div", + "pageE": ".rank-book-list>div", "replaceE": "ul.pagination", "scrollD": 1000 } @@ -2933,11 +2933,11 @@ "话本小说网": { "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(), '下一章')]", - "pageE": "#contentsource > p", + "pageE": "#contentsource>p", "insertP": [".discription",3], "replaceE": "#preAndNextBar", "scrollD": 1000 @@ -2949,7 +2949,7 @@ "history": true, "pager": { "nextL": "//p[@class='mlfy_page']/a[contains(text(), '下一页') or contains(text(), '下一章')]", - "pageE": "#mlfy_main_text > *", + "pageE": "#mlfy_main_text>*", "replaceE": "p.mlfy_page", "scrollD": 1000 } @@ -2958,8 +2958,8 @@ "host": "www.linovelib.com", "url": "return (fun.indexOF('/wenku/'))", "pager": { - "nextL": "#pagelink > a.next", - "pageE": ".store_collist > div.bookbox", + "nextL": "#pagelink>a.next", + "pageE": ".store_collist>div.bookbox", "replaceE": "#pagelink", "scrollD": 1000 }, @@ -2971,8 +2971,8 @@ "host": "www.linovelib.com", "url": "return (fun.indexOF('/top/') || fun.indexOF('/topfull/') || fun.indexOF('toplist.php'))", "pager": { - "nextL": "#pagelink > a.next", - "pageE": ".rankpage_box > div.rank_d_list", + "nextL": "#pagelink>a.next", + "pageE": ".rankpage_box>div.rank_d_list", "replaceE": "#pagelink", "scrollD": 1000 }, @@ -2995,8 +2995,8 @@ "host": "w.linovelib.com", "url": "return (fun.indexOF('/wenku/') || fun.indexOF('/sa/'))", "pager": { - "nextL": "#pagelink > strong+a ,#pagelink a.next", - "pageE": "ol.book-ol > li", + "nextL": "#pagelink>strong+a ,#pagelink a.next", + "pageE": "ol.book-ol>li", "replaceE": "#pagelink", "scrollD": 1000 }, @@ -3020,8 +3020,8 @@ "history": true, "pager": { "nextL": "li.chapter.next a", - "pageE": "#workskin > div", - "replaceE": "#main ul.navigation, #feedback > ul.actions", + "pageE": "#workskin>div", + "replaceE": "#main ul.navigation, #feedback>ul.actions", "scrollD": 2000 } }, @@ -3030,7 +3030,7 @@ "url": "return (!fun.indexOF('.html'))", "pager": { "nextL": "//div[@class='paging']//a[contains(text(),'下一页')]", - "pageE": "div.content-wrap ul.excerpt > li", + "pageE": "div.content-wrap ul.excerpt>li", "replaceE": "div.paging", "scrollD": 2000 } @@ -3038,8 +3038,8 @@ "不死鸟": { "host": "iao.su", "pager": { - "nextL": "li.next > a", - "pageE": "#index > article, #archive > article", + "nextL": "li.next>a", + "pageE": "#index>article, #archive>article", "replaceE": "ol.page-navigator", "scriptT": 3, "scrollD": 1000 @@ -3049,8 +3049,8 @@ "host": "www.sharerw.com", "url": "return (fun.lp() == '/search.php')", "pager": { - "nextL": "span.next > a", - "pageE": "#mainbox > article", + "nextL": "span.next>a", + "pageE": "#mainbox>article", "replaceE": ".pagebar" } }, @@ -3058,8 +3058,8 @@ "host": "www.sharerw.com", "url": "return (!fun.indexOF('.html'))", "pager": { - "nextL": "span.next > a", - "pageE": ".new-post > article", + "nextL": "span.next>a", + "pageE": ".new-post>article", "replaceE": ".pagebar" } }, @@ -3130,7 +3130,7 @@ "url": "return (fun.lp() == '/' || fun.indexOF('/category/'))", "pager": { "nextL": "a.next.page-numbers", - "pageE": "section#latest-posts > article", + "pageE": "section#latest-posts>article", "replaceE": "div.nav-links" } }, @@ -3138,7 +3138,7 @@ "host": "www.isharepc.com", "pager": { "nextL": "a.next.page-numbers", - "pageE": ".content > div.post", + "pageE": ".content>div.post", "replaceE": "nav.pagination", "scrollD": 1000 } @@ -3157,7 +3157,7 @@ "host": "www.ghxi.com", "pager": { "nextL": "a.next", - "pageE": "ul.post-loop > li", + "pageE": "ul.post-loop>li", "replaceE": "ul.pagination" }, "function": { @@ -3188,7 +3188,7 @@ "url": "return (fun.indexOF('/search/'))", "pager": { "nextL": "a.nextpage", - "pageE": ".articleListWrapper > .richTextItem.search", + "pageE": ".articleListWrapper>.richTextItem.search", "replaceE": "#pageGroup", "scrollD": 700 } @@ -3198,7 +3198,7 @@ "url": "return (fun.indexOF('/special'))", "pager": { "nextL": "a.nextpage", - "pageE": ".special > .item, .articleWrapper > div", + "pageE": ".special>.item, .articleWrapper>div", "insertP": [".special, .articleWrapper",3], "replaceE": "#pageGroup", "scrollD": 700 @@ -3208,7 +3208,7 @@ "host": "www.weidown.com", "pager": { "nextL": "a.nextpage", - "pageE": ".articleWrapper > .itemArticle, .articleWrapper > .richTextItem.search", + "pageE": ".articleWrapper>.itemArticle, .articleWrapper>.richTextItem.search", "insertP": [".articleWrapper",3], "replaceE": "#pageGroup" } @@ -3218,7 +3218,7 @@ "url": "/\\/new\\//", "pager": { "nextL": "a.nextpage", - "pageE": ".ApdList > ul.ApdLi", + "pageE": ".ApdList>ul.ApdLi", "replaceE": ".pagination" } }, @@ -3244,7 +3244,7 @@ "host": "fsylr.com", "pager": { "nextL": "a.next.page-numbers", - "pageE": ".posts-con > div:not([class*='posts-'])", + "pageE": ".posts-con>div:not([class*='posts-'])", "replaceE": "nav.pagination", "scrollD": 2000 } @@ -3263,7 +3263,7 @@ "host": "www.iplaysoft.com", "pager": { "nextL": ".pagenavi a[title='下一页']", - "pageE": "#postlist > div.entry", + "pageE": "#postlist>div.entry", "replaceE": ".pagenavi-button, .pagenavi", "scrollD": 1200 }, @@ -3275,7 +3275,7 @@ "host": "www.mubolin.cn", "pager": { "nextL": "a.next.page-numbers", - "pageE": "#recent-content > div", + "pageE": "#recent-content>div", "replaceE": "nav.pagination" } }, @@ -3284,8 +3284,8 @@ "url": "return ((fun.lp() == '/' || fun.indexOF(/^\\/page\\//)) && !location.search)", "pager": { "nextL": "a.page-numbers[title='下一页']", - "pageE": "#post > div[id^='post-']", - "replaceE": "#post > #pagenavi" + "pageE": "#post>div[id^='post-']", + "replaceE": "#post>#pagenavi" } }, "老殁 | 殁漂遥 - 搜索页/分类页": { @@ -3293,8 +3293,8 @@ "url": "return (fun.indexOF('/category/') || fun.indexOF('?s=', 's'))", "pager": { "nextL": "a.page-numbers[title='下一页']", - "pageE": "#content > div[class^='entry_box']", - "replaceE": "#content > #pagenavi" + "pageE": "#content>div[class^='entry_box']", + "replaceE": "#content>#pagenavi" } }, "腾龙工作室": { @@ -3312,7 +3312,7 @@ "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", "scrollD": 1000 } @@ -3321,7 +3321,7 @@ "host": "www.yxssp.com", "pager": { "nextL": "//div[contains(@class, 'page-nav')]/a[last()]", - "pageE": ".td-modules-container.td-module-number4 > div", + "pageE": ".td-modules-container.td-module-number4>div", "replaceE": ".page-nav.td-pb-padding-side", "scrollD": 1000 } @@ -3342,8 +3342,8 @@ "host": "www.yrxitong.com", "url": "return (fun.lp() == '/sr.jsp')", "pager": { - "nextL": "span.pageNext > a", - "pageE": "#containerFormsCenter .newsList > div", + "nextL": "span.pageNext>a", + "pageE": "#containerFormsCenter .newsList>div", "replaceE": ".pagenation", "scrollD": 2000 } @@ -3352,8 +3352,8 @@ "host": "www.yrxitong.com", "url": "return (!fun.indexOF('/h-nd-'))", "pager": { - "nextL": "span.pageNext > a", - "pageE": "#containerFormsCenter .m_news_list > div", + "nextL": "span.pageNext>a", + "pageE": "#containerFormsCenter .m_news_list>div", "replaceE": ".pagenation", "scrollD": 1200 }, @@ -3365,7 +3365,7 @@ "host": "www.sordum.org", "pager": { "nextL": "a.next.page-numbers", - "pageE": ".article > article", + "pageE": ".article>article", "replaceE": "nav.navigation.posts-navigation" } }, @@ -3374,7 +3374,7 @@ "url": "return ((fun.lp() == '/' || fun.indexOF(/^\\/page\\//)) || fun.indexOF('/category/'))", "pager": { "nextL": "a.next.page-numbers", - "pageE": "#main > article", + "pageE": "#main>article", "replaceE": ".pagination" } }, @@ -3382,7 +3382,7 @@ "host": "lrepacks.net", "url": "return (!fun.indexOF('.html'))", "pager": { - "nextL": ".page_next > a", + "nextL": ".page_next>a", "pageE": "#main .post-list article", "replaceE": ".page_nav" }, @@ -3405,8 +3405,8 @@ "winhelponline": { "host": "www.winhelponline.com", "pager": { - "nextL": "span.prev > a", - "pageE": "#main > article", + "nextL": "span.prev>a", + "pageE": "#main>article", "replaceE": "nav.paging-navigation", "scrollD": 2000 } @@ -3415,7 +3415,7 @@ "host": "www.windowslatest.com", "pager": { "nextL": "//div[contains(@class, 'page-nav')]/a[last()]", - "pageE": ".td-ss-main-content > div:not(.td-block-title-wrap):not(.page-nav)", + "pageE": ".td-ss-main-content>div:not(.td-block-title-wrap):not(.page-nav)", "replaceE": ".page-nav", "scrollD": 2000 } @@ -3423,8 +3423,8 @@ "thewindowsclub": { "host": "www.thewindowsclub.com", "pager": { - "nextL": "li.pagination-next > a", - "pageE": "#genesis-content > article.post", + "nextL": "li.pagination-next>a", + "pageE": "#genesis-content>article.post", "replaceE": ".pagination" } }, @@ -3435,7 +3435,7 @@ "history": true, "pager": { "nextL": "a.pagination__btn--next", - "pageE": "ul.items-results > *", + "pageE": "ul.items-results>*", "replaceE": ".pagination", "scrollD": 3000 } @@ -3447,7 +3447,7 @@ "history": true, "pager": { "nextL": "//div[@class='paginator']//span/strong/parent::span/parent::td/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, "scrollD": 2000 @@ -3493,9 +3493,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", "scrollD": 2000 } @@ -3506,7 +3506,7 @@ "pager": { "type": 6, "nextL": "//ul[@class='pagenum']//a[text()='下一页']", - "pageE": "ul.prolist:last-child > li", + "pageE": "ul.prolist:last-child>li", "replaceE": "ul.pagenum", "loadTime": 5000, "scrollD": 4000 @@ -3517,8 +3517,8 @@ "url": "/\\/detail/", "thread": true, "pager": { - "nextL": "li.next > a", - "pageE": "ul#jieda > li", + "nextL": "li.next>a", + "pageE": "ul#jieda>li", "replaceE": ".pages", "scrollD": 2000 } @@ -3527,8 +3527,8 @@ "host": "www.ablesci.com", "url": "if (fun.getCSS('ul.fly-list')) return true", "pager": { - "nextL": "li.next > a", - "pageE": "ul.fly-list > li", + "nextL": "li.next>a", + "pageE": "ul.fly-list>li", "replaceE": ".pages", "scrollD": 2000 } @@ -3539,7 +3539,7 @@ "style": "tr.forum_head {display: none !important;}", "pager": { "nextL": "//div[contains(@class, 'xmc_Pages')]//a[text()='下一页']", - "pageE": ".forum_body table > tbody", + "pageE": ".forum_body table>tbody", "replaceE": ".xmc_Pages" } }, @@ -3550,7 +3550,7 @@ "thread": true, "pager": { "nextL": "//div[contains(@class, 'xmc_Pages')]//a[text()='下一页']", - "pageE": "#maincontent > table > tbody:not(.header)", + "pageE": "#maincontent>table>tbody:not(.header)", "replaceE": ".xmc_Pages", "scrollD": 2000 } @@ -3570,7 +3570,7 @@ "history": true, "pager": { "nextL": "id('page')/a[./i[@class='c-icon-pager-next']]", - "pageE": "#bdxs_result_lists > div.result", + "pageE": "#bdxs_result_lists>div.result", "replaceE": "#page", "scrollD": 1000 } @@ -3581,7 +3581,7 @@ "history": true, "pager": { "nextL": "a.res-page-next", - "pageE": "#journaldetail > div", + "pageE": "#journaldetail>div", "replaceE": ".res-page", "scrollD": 1000 } @@ -3592,7 +3592,7 @@ "history": true, "pager": { "type": 2, - "nextL": "div:not([style*='display: none']) > .more_btn", + "nextL": "div:not([style*='display: none'])>.more_btn", "nextText": "加载更多", "scrollD": 1000 } @@ -3602,7 +3602,7 @@ "history": true, "pager": { "nextL": "//a[./span[contains(@class, 'next')]]", - "pageE": "#gs_res_ccl_mid > *", + "pageE": "#gs_res_ccl_mid>*", "replaceE": "#gs_n", "scriptT": 1, "scrollD": 2000 @@ -3613,7 +3613,7 @@ "history": true, "pager": { "nextL": "//a[./span[contains(@class, 'next')]]", - "pageE": "#gs_res_ccl_mid > *", + "pageE": "#gs_res_ccl_mid>*", "replaceE": "#gs_n", "scriptT": 1, "scrollD": 2000 @@ -3629,7 +3629,7 @@ "history": true, "pager": { "nextL": "a.sb_pagN", - "pageE": "#b_results > li.aca_algo", + "pageE": "#b_results>li.aca_algo", "replaceE": "#b_results .b_pag", "scrollD": 1000 } @@ -3640,7 +3640,7 @@ "blank": 3, "pager": { "nextL": "a[rel='next']", - "pageE": "#questions > div", + "pageE": "#questions>div", "replaceE": ".pager", "scrollD": 2000 } @@ -3651,7 +3651,7 @@ "blank": 3, "pager": { "nextL": "a[rel='next']", - "pageE": ".js-search-results > div:first-child > div", + "pageE": ".js-search-results>div:first-child>div", "replaceE": ".pager", "scrollD": 2000 } @@ -3662,7 +3662,7 @@ "blank": 3, "pager": { "nextL": "a[rel='next']", - "pageE": "#tags-browser > div", + "pageE": "#tags-browser>div", "replaceE": ".pager", "scrollD": 2000 } @@ -3673,7 +3673,7 @@ "blank": 3, "pager": { "nextL": "a[rel='next']", - "pageE": "#user-browser > div:first-child > div", + "pageE": "#user-browser>div:first-child>div", "replaceE": ".pager", "scrollD": 2000 } @@ -3683,7 +3683,7 @@ "url": "fun.isUrlC(); return (fun.indexOF('/questions'))", "pager": { "nextL": "//a[@class='page-link'][text()='下一页']", - "pageE": "ul.list-group > li", + "pageE": "ul.list-group>li", "replaceE": "ul.pagination", "scrollD": 1000 } @@ -3700,24 +3700,24 @@ }, "w3cschool.cn": { "host": "www.w3cschool.cn", - "url": "return (location.pathname.split('/').length > 2)", + "url": "return (location.pathname.split('/').length>2)", "style": ".widget-body, #rfbanner {display: none !important;}", "history": true, "pager": { - "nextL": ".next-link > a", + "nextL": ".next-link>a", "pageE": "#pro-mian-header, .content-bg", "replaceE": ".content-links, .splitter-sidebar" } }, "w3school.com.cn": { "host": "www.w3school.com.cn", - "url": "return (location.pathname.split('/').length > 2)", + "url": "return (location.pathname.split('/').length>2)", "style": "#maincontent h1:not(:nth-of-type(1)) {margin-top: 30px;}", "history": true, "pager": { "type": 3, - "nextL": "js;let next = fun.getCSS('li.next > a[href]'); if (next && next.href.indexOf('/index.') === -1) {return next.href;}; return ''", - "pageE": "#maincontent > *:not([class*='prenextnav']):not(#bpn):not(#tpn)", + "nextL": "js;let next = fun.getCSS('li.next>a[href]'); if (next && next.href.indexOf('/index.') === -1) {return next.href;}; return ''", + "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()]", @@ -3729,8 +3729,8 @@ "host": "www.runoob.com", "url": "return (fun.indexOF('/w3cnote') && !fun.indexOF('.html'))", "pager": { - "nextL": "li.next-page > a", - "pageE": ".archive-list > .archive-list-item", + "nextL": "li.next-page>a", + "pageE": ".archive-list>.archive-list-item", "replaceE": "#wp_page_numbers", "forceHTTPS": true, "scrollD": 1000 @@ -3750,12 +3750,12 @@ }, "菜鸟教程": { "host": "www.runoob.com", - "url": "if (location.pathname.split('/').length > 2 && fun.getCSS('#leftcolumn')) return true", + "url": "if (location.pathname.split('/').length>2 && fun.getCSS('#leftcolumn')) return true", "style": "#comments, #postcomments, #respond, #footer {display: none !important;} .article-intro h1:not(:nth-of-type(1)) {margin: 30px 0 10px 0;}", "history": true, "pager": { - "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']", + "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", "scriptT": 2, "forceHTTPS": true, @@ -3767,7 +3767,7 @@ "url": "return (fun.getCSS('#post_list') != null)", "pager": { "nextL": "//div[@class='pager']//a[contains(text(), '>')]", - "pageE": "#post_list > article", + "pageE": "#post_list>article", "replaceE": ".pager", "scrollD": 1000 } @@ -3814,7 +3814,7 @@ "host": "studygolang.com", "url": "return (fun.lp() == '/' || fun.indexOF(/^\\/(go|topics|articles|projects|resources)/))", "pager": { - "nextL": "li.next > a", + "nextL": "li.next>a", "pageE": ".cell.item, .topic, .article, .resources", "replaceE": ".pagination", "scrollD": 1000 @@ -3824,7 +3824,7 @@ "host": "ruby-china.org", "url": "fun.isUrlC(); return (fun.lp() == '/' || fun.lp() == '/jobs' || fun.lp() == '/search' || (fun.indexOF('/topics') && !fun.indexOF(/^\\/topics\\/\\d+/)))", "pager": { - "nextL": "li.next > a", + "nextL": "li.next>a", "pageE": ".item-list, .result", "replaceE": ".pagination" } @@ -3850,7 +3850,7 @@ "host": "blog.51cto.com", "url": "/^\\/nav/", "pager": { - "nextL": "li.next > a", + "nextL": "li.next>a", "pageE": ".date-list", "replaceE": ".pagination" } @@ -3859,7 +3859,7 @@ "host": "blog.51cto.com", "url": "return (fun.indexOF(/^\\/u_\\d+/) && !fun.indexOF(/^\\/u_\\d+\\/\\d+/))", "pager": { - "nextL": "li.next > a", + "nextL": "li.next>a", "pageE": "#common-article-listbox-1", "replaceE": ".pagination" } @@ -3868,7 +3868,7 @@ "host": "blog.51cto.com", "url": "/^\\/(topic|search)\\//", "pager": { - "nextL": "li.next > a", + "nextL": "li.next>a", "pageE": "ul.search-artical", "replaceE": ".pagination" } @@ -3880,7 +3880,7 @@ "history": true, "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']/parent::div/following-sibling::div[@class='navigation-tree__nested']/a[@class='navigation-tree__link'][not(@target='_blank')]", - "pageE": "main article > *", + "pageE": "main article>*", "replaceE": "main navigation-tree, main .scrollbar" } }, @@ -3889,7 +3889,7 @@ "url": "/\\/explore\\//", "pager": { "nextL": "a[rel='next']", - "pageE": ".items > .item", + "pageE": ".items>.item", "replaceE": ".pagination", "scrollD": 2500 } @@ -3928,8 +3928,8 @@ "host": "search.gitee.com", "url": "return (location.search)", "pager": { - "nextL": "li.next:not(.disabled) > a", - "pageE": "#hits-list > div", + "nextL": "li.next:not(.disabled)>a", + "pageE": "#hits-list>div", "replaceE": "ul.pagination", "scrollD": 1000 } @@ -3948,7 +3948,7 @@ "url": "/tab=stars/", "pager": { "nextL": "//div[@class='paginate-container']/div/*[last()]", - "pageE": "#js-pjax-container .position-relative div[class^='col-lg-'] > div:not(.position-relative):not(.paginate-container)", + "pageE": "#js-pjax-container .position-relative div[class^='col-lg-']>div:not(.position-relative):not(.paginate-container)", "insertP": [".paginate-container",1], "replaceE": ".paginate-container", "scrollD": 3000 @@ -3959,7 +3959,7 @@ "url": "/tab=repositories/", "pager": { "nextL": "//div[@class='paginate-container']/div/*[last()]", - "pageE": "#user-repositories-list > ul > li", + "pageE": "#user-repositories-list>ul>li", "replaceE": ".paginate-container", "scrollD": 3000 } @@ -3969,7 +3969,7 @@ "url": "return (fun.indexOF(/\\/(issues|pulls)$/))", "pager": { "nextL": "a.next_page", - "pageE": ".js-navigation-container.js-active-navigation-container > div[id^='issue_']", + "pageE": ".js-navigation-container.js-active-navigation-container>div[id^='issue_']", "replaceE": ".pagination", "scrollD": 3000 } @@ -3979,7 +3979,7 @@ "url": "return (fun.indexOF(/\\/discussions$/) || fun.indexOF('/discussions/categories'))", "pager": { "nextL": "a.next_page", - "pageE": "ul[aria-labelledby='discussions-list'] > li", + "pageE": "ul[aria-labelledby='discussions-list']>li", "replaceE": ".pagination", "scrollD": 3000 } @@ -3989,7 +3989,7 @@ "url": "return (fun.indexOF(/\\/releases$/))", "pager": { "nextL": "a.next_page", - "pageE": "#repo-content-pjax-container > div[data-pjax] > div:not(.paginate-container)", + "pageE": "#repo-content-pjax-container>div[data-pjax]>div:not(.paginate-container)", "replaceE": ".pagination", "scrollD": 3000 } @@ -3999,7 +3999,7 @@ "url": "return (fun.indexOF(/\\/tags$/))", "pager": { "nextL": "//div[@class='pagination']/*[last()]", - "pageE": ".Box-body > div.Box-row", + "pageE": ".Box-body>div.Box-row", "replaceE": ".pagination", "scrollD": 3000 } @@ -4009,7 +4009,7 @@ "url": "/\\/commits/", "pager": { "nextL": "//div[@class='paginate-container']/div/*[last()]", - "pageE": "div.js-navigation-container > div", + "pageE": "div.js-navigation-container>div", "replaceE": ".paginate-container", "scrollD": 3000 } @@ -4018,7 +4018,7 @@ "host": ["github.com","hub.fastgit.xyz"], "url": "/\\/notifications/", "pager": { - "nextL": "nav.paginate-container > a[aria-label='Next']", + "nextL": "nav.paginate-container>a[aria-label='Next']", "pageE": "li.notifications-list-item", "replaceE": "nav.paginate-container, .js-notifications-list-paginator-counts", "scrollD": 3000 @@ -4029,7 +4029,7 @@ "url": "return (fun.lp() == '/search' && location.search && (!fun.indexOF('type=', 's') || fun.indexOF('type=repositories', 's')))", "pager": { "nextL": "a.next_page", - "pageE": "ul.repo-list > li", + "pageE": "ul.repo-list>li", "replaceE": ".pagination", "scrollD": 3000 } @@ -4049,7 +4049,7 @@ "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=commits', 's'))", "pager": { "nextL": "a.next_page", - "pageE": "#commit_search_results > div", + "pageE": "#commit_search_results>div", "replaceE": ".pagination", "scrollD": 3000 } @@ -4079,7 +4079,7 @@ "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=registrypackages', 's'))", "pager": { "nextL": "a.next_page", - "pageE": "#package_search_results > div", + "pageE": "#package_search_results>div", "replaceE": ".pagination", "scrollD": 3000 } @@ -4089,7 +4089,7 @@ "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=marketplace', 's'))", "pager": { "nextL": "a.next_page", - "pageE": "#marketplace_search_results > div:first-child > div", + "pageE": "#marketplace_search_results>div:first-child>div", "replaceE": ".pagination", "scrollD": 3000 } @@ -4109,7 +4109,7 @@ "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=wikis', 's'))", "pager": { "nextL": "a.next_page", - "pageE": "#wiki_search_results > div:first-child > div", + "pageE": "#wiki_search_results>div:first-child>div", "replaceE": ".pagination", "scrollD": 3000 } @@ -4119,7 +4119,7 @@ "url": "return (fun.indexOF('/search') && location.search && fun.indexOF('type=users', 's'))", "pager": { "nextL": "a.next_page", - "pageE": "#user_search_results > div:first-child > div", + "pageE": "#user_search_results>div:first-child>div", "replaceE": ".pagination", "scrollD": 3000 } @@ -4152,7 +4152,7 @@ "history": true, "pager": { "nextL": "a.hvr-bounce-to-left", - "pageE": "#main > .mt-4 >div > .mb-4, #article_body", + "pageE": "#main>.mt-4 >div>.mb-4, #article_body", "replaceE": ".col-12.font-title, #sidebar" } }, @@ -4170,7 +4170,7 @@ "style": ".pagination {display: none !important;}", "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" } }, @@ -4232,7 +4232,7 @@ "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)", - "pageE": ".column-list > li", + "pageE": ".column-list>li", "scrollD": 1000 } }, @@ -4241,7 +4241,7 @@ "url": "if (fun.getCSS('#post-list')) return true;", "pager": { "nextL": "//li[@class='next-page']/a | //div[@class='btn-pager']/a[text()='❯']", - "pageE": "#post-list > ul > li", + "pageE": "#post-list>ul>li", "replaceE": ".pagination, .b2-pagenav.post-nav" } }, @@ -4250,7 +4250,7 @@ "url": "return (fun.lp() != '/')", "pager": { "nextL": "li.next-page a", - "pageE": "#primary-home > div:not(.pagination)", + "pageE": "#primary-home>div:not(.pagination)", "replaceE": ".pagination" } }, @@ -4271,7 +4271,7 @@ "hiddenPN": true, "pager": { "type": 2, - "nextL": "#filemore > span[onclick]", + "nextL": "#filemore>span[onclick]", "nextText": "显示更多文件", "isHidden": true, "scrollD": 800 @@ -4284,7 +4284,7 @@ "history": true, "pager": { "nextL": "js;return fun.getNextUP('page=', /page=\\d+/)", - "pageE": "#res_list > div" + "pageE": "#res_list>div" } }, "wikihow": { @@ -4292,7 +4292,7 @@ "url": "return (fun.indexOF('/Category:'))", "pager": { "nextL": "a.pag_next", - "pageE": "#cat_all > .cat_grid > div", + "pageE": "#cat_all>.cat_grid>div", "replaceE": "#large_pagination", "scriptT": 3 } @@ -4301,8 +4301,8 @@ "host": ["www.wikihow.com","zh.wikihow.com"], "url": "return (fun.indexOF('/wikiHowTo') && fun.indexOF('?search=', 's'))", "pager": { - "nextL": "#searchresults_footer > a.buttonright", - "pageE": "#searchresults_list > a", + "nextL": "#searchresults_footer>a.buttonright", + "pageE": "#searchresults_list>a", "replaceE": "#searchresults_footer" } }, @@ -4319,7 +4319,7 @@ "host": "www.afreecatv.com", "pager": { "type": 2, - "nextL": ".btn-more > button", + "nextL": ".btn-more>button", "interval": 2000, "scrollD": 1000 } @@ -4330,7 +4330,7 @@ "blank": 3, "pager": { "nextL": "a.next_page", - "pageE": "ol#browse-script-list > li", + "pageE": "ol#browse-script-list>li", "replaceE": ".pagination" } }, @@ -4340,7 +4340,7 @@ "blank": 3, "pager": { "nextL": "a.next_page", - "pageE": ".script-discussion-list > div", + "pageE": ".script-discussion-list>div", "replaceE": ".pagination", "scrollD": 1800 } @@ -4351,7 +4351,7 @@ "blank": 3, "pager": { "nextL": "a.next_page", - "pageE": ".discussion-list > div", + "pageE": ".discussion-list>div", "replaceE": ".pagination" } }, @@ -4360,7 +4360,7 @@ "url": "return (fun.lp() == '/search')", "blank": 3, "pager": { - "nextL": "js;return fun.getNextF('.next > form')", + "nextL": "js;return fun.getNextF('.next>form')", "pageE": ".row.script", "replaceE": ".pagination" } @@ -4381,7 +4381,7 @@ "blank": 3, "pager": { "nextL": "//a[@class='page-link' and text()='下一页']", - "pageE": "table.table > tbody > tr:not(:first-child), script[src^='/js/site.js']", + "pageE": "table.table >tbody>tr:not(:first-child), script[src^='/js/site.js']", "replaceE": "ul.pagination", "scriptT": 2, "scrollD": 1000 @@ -4392,8 +4392,8 @@ "url": "/\\/module-overview/", "blank": 3, "pager": { - "nextL": "li.pager-next > a", - "pageE": ".view-content > table > tbody > tr", + "nextL": "li.pager-next>a", + "pageE": ".view-content>table>tbody>tr", "replaceE": "ul.pager" } }, @@ -4411,7 +4411,7 @@ "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", - "pageE": "#feed-main-list > li", + "pageE": "#feed-main-list>li", "replaceE": "ul.pagenation-list" } }, @@ -4420,7 +4420,7 @@ "url": "return (fun.indexOF('/fenlei/') || fun.lp() == '/Search')", "pager": { "nextL": "a.next", - "pageE": ".share-list > ul > li", + "pageE": ".share-list>ul>li", "replaceE": ".h-pages" } }, @@ -4456,10 +4456,10 @@ }, "彼岸图网": { "host": "pic.netbian.com", - "style": "li.nextpage {display: none !important;} .alist > ul {height: auto !important;} .alist > ul > li {position: static !important; float: left !important; height: 550px !important;}", + "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" } }, @@ -4470,7 +4470,7 @@ "blank": 3, "pager": { "nextL": "//div[@class='page']/a[contains(text(), '下一页')]", - "pageE": "body > .container > div.item", + "pageE": "body>.container>div.item", "replaceE": ".page" } }, @@ -4479,7 +4479,7 @@ "blank": 3, "pager": { "nextL": "//a[./span[@class='nav-next']]", - "pageE": "#dle-content > div", + "pageE": "#dle-content>div", "replaceE": ".navigation" } }, @@ -4488,7 +4488,7 @@ "blank": 3, "pager": { "nextL": "a#next", - "pageE": ".wallpapers_container > div.wall-resp", + "pageE": ".wallpapers_container>div.wall-resp", "replaceE": "ul.pagination" } }, @@ -4507,9 +4507,9 @@ "url": "return (fun.lp() != '/')", "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], + "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], "replaceE": ".page", "scrollD": 2000 }, @@ -4541,7 +4541,7 @@ "url": "/^\\/search/", "pager": { "nextL": "//a[.//i[text()='keyboard_arrow_right']]", - "pageE": ".q-card__section > .q-card--bordered", + "pageE": ".q-card__section>.q-card--bordered", "replaceE": ".q-pagination" } }, @@ -4550,7 +4550,7 @@ "url": "return (fun.indexOF('/category/'))", "pager": { "nextL": "a.poi-pager__item.poi-pager__item_next", - "pageE": ".inn-archive__container > article", + "pageE": ".inn-archive__container>article", "replaceE": ".poi-pager", "scrollD": 1800 } @@ -4560,7 +4560,7 @@ "url": "return (fun.lp() != '/' && !fun.indexOF('/dealer/'))", "pager": { "nextL": "a.page-item-next", - "pageE": "ul.viewlist_ul > li", + "pageE": "ul.viewlist_ul>li", "replaceE": ".page", "scrollD": 2000 } @@ -4570,7 +4570,7 @@ "url": "return (fun.lp() != '/' && !fun.indexOF('.html'))", "pager": { "nextL": "a.pageright", - "pageE": ".newsListShow > ul", + "pageE": ".newsListShow>ul", "replaceE": ".page" } }, @@ -4578,7 +4578,7 @@ "host": "cet4.koolearn.com", "pager": { "nextL": "id('page')/a[text()='下一页']", - "pageE": "ul.xqy_entry_list > li,.xqy_core_text > p:not([style='text-align:center'])", + "pageE": "ul.xqy_entry_list>li,.xqy_core_text>p:not([style='text-align:center'])", "insertP": ["ul.xqy_entry_list,.xqy_core_text",3], "replaceE": "#page", "scrollD": 2000 @@ -4589,7 +4589,7 @@ "url": "/\\/doc\\//", "pager": { "nextL": "a.next", - "pageE": "#contents > *:not(.pages)", + "pageE": "#contents>*:not(.pages)", "replaceE": ".pages", "scrollD": 1800 } @@ -4610,7 +4610,7 @@ "url": "return (fun.lp() == '/xuexiao/')", "pager": { "nextL": "//div[@class='fy']/a[contains(text(), '下一页')]", - "pageE": ".xxlb > .sk", + "pageE": ".xxlb>.sk", "replaceE": ".fy", "scrollD": 1000 } @@ -4620,7 +4620,7 @@ "url": "return (fun.lp() == '/data/')", "pager": { "nextL": "//div[@class='fy']/a[contains(text(), '下一页')]", - "pageE": ".m1_z > .lbk", + "pageE": ".m1_z>.lbk", "insertP": [".page",1], "replaceE": ".fy", "scrollD": 1000 @@ -4631,7 +4631,7 @@ "url": "return (fun.lp() == '/shijuan/')", "pager": { "nextL": "//div[@class='fy']/a[contains(text(), '下一页')]", - "pageE": ".m1_z > .m2_lb", + "pageE": ".m1_z>.m2_lb", "insertP": [".page",1], "replaceE": ".fy", "scrollD": 1000 @@ -4641,8 +4641,8 @@ "host": "eid.csrc.gov.cn", "url": "/\\/\\d+\\/index/", "pager": { - "nextL": "js; if (fun.getCSS('li.on+li:not(.click) > a') == null) {return}; if (fun.indexOF('_f.html')) {fun.getCSS('#channelFilterForm').action = `index_${fun.getCSS('li.on+li:not(.click) > a').textContent}_f.html`; return fun.getNextF('#channelFilterForm');} else {return fun.getCSS('img[src$=\"location.png\"]~a:last-of-type').href.replace('.html',`_${fun.getCSS('li.on+li:not(.click) > a').textContent}.html`);}", - "pageE": "table > tbody > tr:not(:first-of-type)", + "nextL": "js; if (fun.getCSS('li.on+li:not(.click)>a') == null) {return}; if (fun.indexOF('_f.html')) {fun.getCSS('#channelFilterForm').action = `index_${fun.getCSS('li.on+li:not(.click)>a').textContent}_f.html`; return fun.getNextF('#channelFilterForm');} else {return fun.getCSS('img[src$=\"location.png\"]~a:last-of-type').href.replace('.html',`_${fun.getCSS('li.on+li:not(.click)>a').textContent}.html`);}", + "pageE": "table>tbody>tr:not(:first-of-type)", "replaceE": "ul.g-ul", "scrollD": 1000 } @@ -4651,8 +4651,8 @@ "host": "info.medkaoyan.net", "url": "/\\/archives/", "pager": { - "nextL": "span.post-page-numbers.current + a.post-page-numbers", - "pageE": ".entry-content > *:not(.wbp-cbm):not(.page-links)", + "nextL": "span.post-page-numbers.current+a.post-page-numbers", + "pageE": ".entry-content>*:not(.wbp-cbm):not(.page-links)", "replaceE": ".page-links", "scrollD": 2500 } @@ -4662,7 +4662,7 @@ "url": "/\\/forum\\/forum\\//", "pager": { "nextL": "a[rel='next']", - "pageE": "ol.ipsDataList > li:not([data-rowid])~li", + "pageE": "ol.ipsDataList>li:not([data-rowid])~li", "replaceE": "ul.ipsPagination", "scrollD": 2000 } @@ -4673,7 +4673,7 @@ "thread": true, "pager": { "nextL": "a[rel='next']", - "pageE": "#elPostFeed > form > *:not(input):not(.after-first-post)", + "pageE": "#elPostFeed>form>*:not(input):not(.after-first-post)", "replaceE": "ul.ipsPagination", "scrollD": 2000 } @@ -4683,7 +4683,7 @@ "url": "/\\/forum\\/search\\//", "pager": { "nextL": "a[rel='next']", - "pageE": "ol.ipsStream > li", + "pageE": "ol.ipsStream>li", "replaceE": "ul.ipsPagination", "scrollD": 2000 } @@ -4692,8 +4692,8 @@ "host": "www.theswamp.org", "url": "/board=/", "pager": { - "nextL": ".pagelinks > strong+a", - "pageE": "#messageindex tbody > tr:not([class])", + "nextL": ".pagelinks>strong+a", + "pageE": "#messageindex tbody>tr:not([class])", "replaceE": ".pagelinks", "scrollD": 2000 } @@ -4703,8 +4703,8 @@ "url": "/topic=/", "thread": true, "pager": { - "nextL": ".pagelinks > strong+a", - "pageE": "#forumposts form > *", + "nextL": ".pagelinks>strong+a", + "pageE": "#forumposts form>*", "replaceE": ".pagelinks", "scrollD": 2000 } @@ -4714,7 +4714,7 @@ "url": "/^\\/(forumdisplay|search)\\.php/", "pager": { "nextL": ".pagination_next", - "pageE": ".tborder > tbody > tr.inline_row", + "pageE": ".tborder>tbody>tr.inline_row", "replaceE": ".pagination" } }, @@ -4724,7 +4724,7 @@ "thread": true, "pager": { "nextL": ".pagination:not(#breadcrumb_multipage_popup) .pagination_next", - "pageE": "#posts > *", + "pageE": "#posts>*", "replaceE": ".pagination:not(#breadcrumb_multipage_popup)" } }, @@ -4732,7 +4732,7 @@ "host": "www.xuefo.tw", "pager": { "nextL": "//font/a[text()='下页']", - "pageE": "#AutoNumber1 > tbody > tr", + "pageE": "#AutoNumber1>tbody>tr", "replaceE": "//font[./a[text()='下页']]", "scrollD": 1000 } @@ -4741,7 +4741,7 @@ "host": "www.fodizi.net", "pager": { "nextL": "a.current+a", - "pageE": "div.wrap > a[href$='.html']", + "pageE": "div.wrap>a[href$='.html']", "replaceE": ".page", "scrollD": 1000 } @@ -4765,7 +4765,7 @@ "blank": 3, "pager": { "nextL": "a.next-page, a.next", - "pageE": ".mozaique > *", + "pageE": ".mozaique>*", "replaceE": ".pagination" }, "function": { @@ -4779,8 +4779,8 @@ "style": ".footerContentWrapper, .pre-footer {display: none !important;}", "blank": 3, "pager": { - "nextL": "li.page_next > a", - "pageE": "#videoSearchResult > li.pcVideoListItem, #videoCategory > li.pcVideoListItem", + "nextL": "li.page_next>a", + "pageE": "#videoSearchResult>li.pcVideoListItem, #videoCategory>li.pcVideoListItem", "replaceE": ".pagination3" }, "function": { @@ -4793,7 +4793,7 @@ "blank": 3, "pager": { "nextL": "id('paging')//a[text()='»']", - "pageE": ".row .row > div", + "pageE": ".row .row>div", "replaceE": "#paging" } }, @@ -4802,7 +4802,7 @@ "url": "return (document.title.indexOf('xHamster') > -1 && !fun.indexOF('/videos/'))", "blank": 3, "pager": { - "nextL": "li.next > a", + "nextL": "li.next>a", "pageE": ".thumb-list", "replaceE": ".pager-section", "scrollD": 2500 @@ -4813,7 +4813,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", "scrollD": 1000 } @@ -4825,7 +4825,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", "scrollD": 1000 } @@ -4881,8 +4881,8 @@ "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", + "nextL": "li.active_page+li>a, .navigation>.floatleft>a", + "pageE": "#index-news>.posts-default, #archive-posts>.posts-default", "replaceE": "#wp_page_numbers, .navigation" } }, @@ -4912,7 +4912,7 @@ "blank": 3, "pager": { "nextL": "a.pagination-next", - "pageE": ".grid-item.column, .section-container > div", + "pageE": ".grid-item.column, .section-container>div", "replaceE": ".pagination" }, "function": { @@ -4922,11 +4922,11 @@ "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 {height: auto !important;} #waterfall>.item {position: static !important; float: left !important; height: 400px !important;}", "blank": 3, "pager": { "nextL": "#next", - "pageE": "#waterfall > .item", + "pageE": "#waterfall>.item", "replaceE": ".pagination" } }, @@ -4935,7 +4935,7 @@ "url": "return (fun.lp() != '/' && fun.lp() != '/channels/')", "blank": 3, "pager": { - "nextL": ".pagination > li.active + li > a", + "nextL": ".pagination>li.active+li>a", "pageE": "ul.videos, ul.playlists, div.models", "replaceE": ".pagination" } @@ -4947,7 +4947,7 @@ "history": false, "pager": { "nextL": "js; let next = fun.getXpath(\"//li[@class='page-item' and ./span[contains(@class,'active')]]/following-sibling::li/a\"); if (next) {return `${location.origin}${location.pathname}?mode=async&function=get_block&block_id=${next.dataset.blockId}&${next.dataset.parameters.replace('from_videos+','from_videos=' + next.textContent + '&').replaceAll(':','=').replaceAll(';','&').replaceAll('+','&')}&_=${+new Date()}`;}", - "pageE": "section > .row", + "pageE": "section>.row", "replaceE": ".pagination" } }, @@ -4956,7 +4956,7 @@ "url": "return (fun.lp() != '/' && (fun.indexOF('/movie/hot') || !fun.indexOF('/movie/')))", "blank": 3, "pager": { - "nextL": "li.active + li > a", + "nextL": "li.active+li>a", "pageE": ".main-item", "replaceE": ".pagination" }, @@ -4969,7 +4969,7 @@ "url": "return (document.title.indexOf('Javbooks') > -1 && !fun.indexOF('/content_'))", "blank": 3, "pager": { - "nextL": "span.pageback > a", + "nextL": "span.pageback>a", "pageE": ".Po_topic, .Po_u_topic", "replaceE": ".PageBar" } @@ -4990,7 +4990,7 @@ "blank": 3, "pager": { "nextL": "a.next", - "pageE": "table.pubgroup > tbody > tr:not(#header), table.post", + "pageE": "table.pubgroup>tbody>tr:not(#header), table.post", "replaceE": ".page_selector" } }, @@ -5011,7 +5011,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']" } }, @@ -5021,7 +5021,7 @@ "blank": 3, "pager": { "nextL": "a[rel='next']", - "pageE": ".g-main-grid > article", + "pageE": ".g-main-grid>article", "replaceE": ".pagination", "scrollD": 2500 } @@ -5070,7 +5070,7 @@ "url": "/^\\/g\\//", "pager": { "nextL": "//table[@class='ptt']//a[text()='>']", - "pageE": "#gdt > .gdtm", + "pageE": "#gdt>.gdtm", "replaceE": ".ptt, .ptb", "scrollD": 1000 } @@ -5090,7 +5090,7 @@ "host": "e-hentai.org", "pager": { "nextL": "//table[@class='ptt']//a[text()='>']", - "pageE": ".itg > tbody > tr:not(:first-of-type)", + "pageE": ".itg>tbody>tr:not(:first-of-type)", "replaceE": ".ptt, .ptb", "scrollD": 1000 } @@ -5176,8 +5176,8 @@ "pager": { "type": 3, "nextL": "a.paginator_page[rel='next']", - "pageE": "#page > #right_sidebar > #entry_list", - "replaceE": "#page > #page_nation", + "pageE": "#page>#right_sidebar>#entry_list", + "replaceE": "#page>#page_nation", "scrollD": 700 }, "function": { @@ -5190,7 +5190,7 @@ "pager": { "type": 3, "nextL": "a.nextpostslink", - "pageE": "#center > #display_area_image > #image-list", + "pageE": "#center>#display_area_image>#image-list", "replaceE": ".wp-pagenavi", "scrollD": 700 } @@ -5202,7 +5202,7 @@ "pager": { "type": 6, "nextL": "js;return fun.getNextEP('li.number.active+li.number', 'page=', /page=\\d+/)", - "pageE": ".post-list > .row, #user-post > .row, #user-favorite > .row, #user-comment .comment-list", + "pageE": ".post-list>.row, #user-post>.row, #user-favorite>.row, #user-comment .comment-list", "replaceE": ".el-pager", "loadTime": 1500 }, @@ -5223,7 +5223,7 @@ "url": "return (document.title.indexOf('绅士会所') > -1 && !fun.indexOF('/archives/'))", "blank": 3, "pager": { - "nextL": "li.next-page > a", + "nextL": "li.next-page>a", "pageE": "article[class]:not(.excerpt-minic-index)", "replaceE": ".pagination" } @@ -5233,7 +5233,7 @@ "url": "/\\.html/", "pager": { "nextL": ".article-paging span.current+a", - "pageE": ".article-content > p", + "pageE": ".article-content>p", "replaceE": ".article-paging", "scrollD": 3000 } @@ -5243,7 +5243,7 @@ "url": "/^\\/.+/", "pager": { "nextL": "li.next-page a", - "pageE": "#posts > div", + "pageE": "#posts>div", "replaceE": ".pagination" }, "function": { @@ -5255,7 +5255,7 @@ "url": "/\\.html/", "pager": { "nextL": "//div[@class='page']/a[text()='下页']", - "pageE": "div.content > p > *", + "pageE": "div.content>p>*", "replaceE": ".page" } }, @@ -5263,8 +5263,8 @@ "host": "/\\.xiuren[a-z]+\\./", "url": "/search/", "pager": { - "nextL": ".page > a.current+a", - "pageE": ".node > *", + "nextL": ".page>a.current+a", + "pageE": ".node>*", "replaceE": ".page", "scrollD": 700 } @@ -5295,14 +5295,14 @@ "url": "return (fun.lp() != '/' && !fun.indexOF('/search/'))", "pager": { "nextL": ".pagination a.current+a", - "pageE": ".related_posts > ul", + "pageE": ".related_posts>ul", "replaceE": ".pagination" } }, "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-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;}", "pager": { "nextL": "a.next", "pageE": ".blog-listing", @@ -5325,7 +5325,7 @@ "url": "/^\\/.+/", "pager": { "nextL": "//dd[@class='page']/a[contains(text(), '下一页')]", - "pageE": "dl.list-left > dd:not([class='page'])", + "pageE": "dl.list-left>dd:not([class='page'])", "replaceE": ".page", "scrollD": 1000 } @@ -5358,7 +5358,7 @@ "style": ".bannert, .bannerb, bannert_ios, .bannerb_ios {display: none !important;}", "pager": { "nextL": "#xbtn", - "pageE": "#content > article", + "pageE": "#content>article", "replaceE": "#webpage", "scrollD": 2000 }, @@ -5371,7 +5371,7 @@ "url": "return (fun.lp() != '/' && !fun.indexOF('/tag/'))", "pager": { "nextL": ".post-page-numbers.current+a.post-page-numbers", - "pageE": "#fukie2 > p > img", + "pageE": "#fukie2>p>img", "replaceE": ".page-link", "scrollD": 3000 } @@ -5393,7 +5393,7 @@ "pager": { "type": 3, "nextL": "//nav[@class='pagination']//span[./a[contains(@class, 'is-current')]]/following-sibling::span[1]/a", - "pageE": ".article-fulltext > p", + "pageE": ".article-fulltext>p", "replaceE": "nav.pagination", "scrollE": ".bottom-articles" }, @@ -5417,8 +5417,8 @@ "host": "www.fnvshen.com", "url": "/^\\/g\\//", "pager": { - "nextL": "#pages > span +a:not(.a1)", - "pageE": "#hgallery > img", + "nextL": "#pages>span +a:not(.a1)", + "pageE": "#hgallery>img", "replaceE": "#pages" } }, @@ -5428,7 +5428,7 @@ "style": ".yalayi_box {display: none !important; margin: -4px 0 !important;}", "pager": { "nextL": "//div[@class='pagesYY']//a[contains(text(), '下一页')]", - "pageE": "#listdiv > ul > li", + "pageE": "#listdiv>ul>li", "replaceE": ".pagesYY", "scrollD": 1000 }, @@ -5473,7 +5473,7 @@ "url": "/^\\/galleryList|modelList\\//", "pager": { "nextL": "ul.pagination a[aria-label='Next']", - "pageE": ".book-list > div.col-sm-4", + "pageE": ".book-list>div.col-sm-4", "replaceE": "ul.pagination" } }, @@ -5482,7 +5482,7 @@ "url": "/\\d+\\.html/", "pager": { "nextL": "//div[contains(@class, 'page')]//a[contains(text(), '下页')]", - "pageE": ".content_left > p > img", + "pageE": ".content_left>p>img", "replaceE": ".page", "scrollD": 3000 } @@ -5492,7 +5492,7 @@ "url": "/^\\/.+/", "pager": { "nextL": "//div[contains(@class, 'page')]//a[contains(text(), '下页')]", - "pageE": "ul.update_area_lists > li", + "pageE": "ul.update_area_lists>li", "replaceE": ".page", "scrollD": 2000 } @@ -5523,7 +5523,7 @@ "style": ".content img {min-height: 500px;}", "pager": { "nextL": "//div[@class='NewPages']//a[text()='下一页']", - "pageE": ".content > img", + "pageE": ".content>img", "replaceE": ".NewPages", "scrollD": 4000 } @@ -5533,7 +5533,7 @@ "url": "/^\\/.+/", "pager": { "nextL": "//div[@class='NewPages']//a[text()='下一页']", - "pageE": ".TypeList > ul > li", + "pageE": ".TypeList>ul>li", "replaceE": ".NewPages", "scrollD": 1000 } @@ -5544,7 +5544,7 @@ "style": ".ArticleImageBox img {min-height: 200px;}", "pager": { "nextL": "//div[@class='article_page']//a[text()='下一页']", - "pageE": ".ArticleImageBox > *", + "pageE": ".ArticleImageBox>*", "replaceE": ".article_page", "scrollD": 4000 } @@ -5553,7 +5553,7 @@ "host": "m.ku66.net", "pager": { "nextL": "//div[@class='article_page']//a[text()='下一页']", - "pageE": ".PictureList > ul > li", + "pageE": ".PictureList>ul>li", "replaceE": ".article_page", "scrollD": 1000 } @@ -5564,7 +5564,7 @@ "style": ".Title9, .dibu1, .dibu2 {display: none !important;} .content img {min-height: 500px;}", "pager": { "nextL": "//div[@class='page']/a[text()='下一页']", - "pageE": ".content > img", + "pageE": ".content>img", "replaceE": ".page", "scrollD": 3000 } @@ -5574,7 +5574,7 @@ "url": "/^\\/.+/", "pager": { "nextL": "//div[@class='page']/a[text()='下一页']", - "pageE": ".m-list > ul > li", + "pageE": ".m-list>ul>li", "replaceE": ".page" } }, @@ -5584,7 +5584,7 @@ "style": ".ArticleImageBox img {min-height: 300px;}", "pager": { "nextL": "//div[@class='article_page']//a[text()='下一页']", - "pageE": ".ArticleImageBox > *", + "pageE": ".ArticleImageBox>*", "replaceE": ".article_page", "scrollD": 3000 } @@ -5593,7 +5593,7 @@ "host": "m.ku137.net", "pager": { "nextL": "//div[@class='article_page']//a[text()='下一页']", - "pageE": ".PictureList > ul > li", + "pageE": ".PictureList>ul>li", "replaceE": ".article_page" } }, @@ -5613,17 +5613,17 @@ "url": "/^\\/.+/", "pager": { "nextL": "a.page_next", - "pageE": ".channel_list3 > ul", + "pageE": ".channel_list3>ul", "replaceE": ".pages" } }, "kissgoddess": { "host": ["kissgoddess.com","tw.kissgoddess.com","jp.kissgoddess.com"], "url": "/^\\/album|category\\//", - "style": ".td-gallery-content > img {min-height: 300px;}", + "style": ".td-gallery-content>img {min-height: 300px;}", "pager": { "nextL": "a.a1:last-of-type", - "pageE": ".td-gallery-content > img, .td-category-span", + "pageE": ".td-gallery-content>img, .td-category-span", "replaceE": "#pages", "scrollD": 3000 }, @@ -5654,7 +5654,7 @@ "host": "www.2meinv.com", "pager": { "nextL": "//div[@class='page-show']/a[text()='下一页']", - "pageE": "ul.detail-list > li", + "pageE": "ul.detail-list>li", "replaceE": ".page-show" } }, @@ -5683,7 +5683,7 @@ "url": "/^\\/a\\//", "pager": { "nextL": "//div[@class='paging']/a[text()='下一页']", - "pageE": ".a_img > p", + "pageE": ".a_img>p", "replaceE": ".paging", "scrollD": 4000 } @@ -5693,7 +5693,7 @@ "url": "/^\\/a|b\\//", "pager": { "nextL": "//div[@class='paging']/a[text()='下一页']", - "pageE": ".b_img > ul, .picture > p", + "pageE": ".b_img>ul, .picture>p", "replaceE": ".paging" } }, @@ -5711,7 +5711,7 @@ "url": "/^\\/(post|web)\\//", "pager": { "type": 3, - "nextL": "li.next-page > a", + "nextL": "li.next-page>a", "pageE": ".entry img, .article-content img", "replaceE": "#dm-fy" } @@ -5741,7 +5741,7 @@ "url": "/\\/v\\//", "pager": { "nextL": "//div[@class='fenye']//a[text()='下一页']", - "pageE": "#content > .post > .post-content img", + "pageE": "#content>.post>.post-content img", "replaceE": ".fenye", "scrollD": 3500 } @@ -5751,7 +5751,7 @@ "url": "/\\d+\\.html/", "pager": { "nextL": "//div[@class='page-links']/a[./span[./i[@class='be be-arrowright']]]", - "pageE": ".single-content > p", + "pageE": ".single-content>p", "replaceE": ".page-links", "scrollD": 3000 }, @@ -5765,7 +5765,7 @@ "style": ".e img {display: block; margin: 0 auto;}", "pager": { "nextL": "//div[@class='c']/a[text()='下一頁' or text()='下一章'][not(@class='n fanye')]", - "pageE": ".e > img:not([style='display:none;'])", + "pageE": ".e>img:not([style='display:none;'])", "replaceE": ".c, .b" }, "function": { @@ -5816,9 +5816,9 @@ "遛无写真": { "host": "www.6evu.com", "url": "/^\\/\\d+\\.html/", - "style": "#post_content > .code-block, .single-ad, .single-adphone {display: none !important;}", + "style": "#post_content>.code-block, .single-ad, .single-adphone {display: none !important;}", "pager": { - "nextL": ".pagelist > span+a", + "nextL": ".pagelist>span+a", "pageE": "#post_content", "replaceE": ".pagelist", "scrollD": 2000 @@ -5842,8 +5842,8 @@ "推图网 - 分类页": { "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": { @@ -5865,9 +5865,9 @@ "host": ["www.tuli.cc","m.tuli.cc"], "url": "/\\/\\d+(_\\d+)?\\.html$/", "pager": { - "nextL": "li.thisclass + li > a", - "pageE": ".bodyintroduce, .picbox > img", - "replaceE": ".pageart > ul", + "nextL": "li.thisclass+li>a", + "pageE": ".bodyintroduce, .picbox>img", + "replaceE": ".pageart>ul", "scrollD": 3000 } }, @@ -5875,15 +5875,26 @@ "host": ["7mmtv.tv","cc4871.com"], "url": "return (fun.lp() != '/' && !fun.indexOF('_content/'))", "pager": { - "nextL": "li.page-item.current + li.page-item > a", - "pageE": ".latest-korean-slider > .row:first-of-type > div", + "nextL": "li.page-item.current+li.page-item>a", + "pageE": ".latest-korean-slider>.row:first-of-type>div", "replaceE": ".pagination-row" } }, "7mmtv - 漫画": { "host": "gw24sy.cc4871.com", "url": "if (fun.indexOF('/hcomic_content/')) {let _img=''; for (let i=1;i<=Large_cgurl.length;i++){_img += `
  • `;}; document.getElementById('show_cg_html').innerHTML = _img; return true;}", - "style": ".video-introduction-images-row > center > *:not(#content) {display: none !important;}", + "style": ".video-introduction-images-row>center>*:not(#content) {display: none !important;}", "hiddenPN": true + }, + "新闻吧 - xinwenba.net": { + "host": ["www.xinwenba.net","m.xinwenba.net"], + "url": "/\\/view-/", + "pager": { + "type": 3, + "nextL": "//div[@class='paging']/li/a[text()='下一页']", + "pageE": ".picture>p, .view_img>p", + "replaceE": ".paging", + "scrollD": 1000 + } } } From 671a924e9dad60be7474d2af31994856f719aca7 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 29 Mar 2022 13:57:52 +0800 Subject: [PATCH 0093/1272] =?UTF-8?q?=E4=BC=98=E5=8C=96=20[=E7=AC=94?= =?UTF-8?q?=E8=B6=A3=E9=98=81]=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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 259b130a9..bf428b2a1 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.3 +// @version 5.5.4 // @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...) 等網站~ @@ -254,7 +254,7 @@ console.info(`[自动无缝翻页] - 部分使用 Typecho 的网站 (handsome)`); return 150; } } 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('#content, .content, #chaptercontent, .chaptercontent, #BookText') && getXpath('//a[contains(text(), "下一章") or contains(text(), "下一页")]')) { + 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; @@ -594,10 +594,10 @@ function: { history: true, pager: { nextL: '//a[contains(text(), "下一章") or contains(text(), "下一页")]', - pageE: '#content, .content, #chaptercontent, .chaptercontent, #BookText', - insertP: ['#content, .content, #chaptercontent, .chaptercontent, #BookText', 6], + 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(), "下一页")]]' + replaceE: '//a[contains(text(), "下一章") or contains(text(), "下一页")]/parent::*' } }, // 笔趣阁 模板的小说网站 biquge2: { From 195e001c12c49b58450ee7924207e018a4bf68a4 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 29 Mar 2022 17:19:54 +0800 Subject: [PATCH 0094/1272] =?UTF-8?q?=E8=A1=A5=E5=85=85=20[=E5=87=B8?= =?UTF-8?q?=E5=87=B9=E5=90=A7]=20=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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/other/Autopage/rules.json b/other/Autopage/rules.json index 1e0180dd6..c1deb531a 100644 --- a/other/Autopage/rules.json +++ b/other/Autopage/rules.json @@ -5707,8 +5707,9 @@ } }, "凸凹吧/撸女吧": { - "host": ["www.tuaom.cc","www.tuaow.xyz","www.lunu.cc"], + "host": ["www.tuao8.com","www.tuao8.xyz","www.tuaow.xyz","www.tuaom.cc","www.lunu.cc"], "url": "/^\\/(post|web)\\//", + "style": "img[src$='.gif'] {display: none !important;}", "pager": { "type": 3, "nextL": "li.next-page>a", 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 0095/1272] =?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 0096/1272] =?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 0097/1272] =?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 0098/1272] =?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 0099/1272] =?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 0100/1272] =?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 0101/1272] =?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 0102/1272] =?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 0103/1272] =?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 0104/1272] =?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 0105/1272] =?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 0106/1272] =?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 0107/1272] =?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 0108/1272] =?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 0109/1272] =?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 0110/1272] =?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 0111/1272] =?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 0112/1272] =?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 0113/1272] =?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 0114/1272] =?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 0115/1272] =?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 // 插入并运行