From 4bd3ef1582a4e22ad6640d45ec3d7ff78d9e56e7 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Tue, 27 Jul 2021 08:35:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E9=98=BF=E9=87=8C?= =?UTF-8?q?=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 --- Autopage.user.js | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index b8e4dd5..5c41ada 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -1,8 +1,8 @@ // ==UserScript== // @name 自动无缝翻页 -// @version 1.3.2 +// @version 1.3.3 // @author X.I.U -// @description 自动无缝翻页,目前支持:所有 Discuz!论坛、423Down、Apphot、不死鸟、小众软件、异次元软件、微当下载、异星软件空间、豆瓣电影、3DM游戏网、游侠网、游民星空、千图网、RARBG、FitGirl Repacks、AlphaCoders、PubMed... +// @description 自动无缝翻页,目前支持:所有 Discuz!论坛、423Down、Apphot、不死鸟、小众软件、异次元软件、微当下载、异星软件空间、豆瓣电影、3DM游戏网、游侠网、游民星空、千图网、阿里小站、RARBG、FitGirl Repacks、AlphaCoders、PubMed... // @match *://*/* // @exclude *://www.423down.com/*.html // @exclude *://apphot.cc/*.html @@ -40,7 +40,8 @@ 'gl.ali213.net', 'www.58pic.com', 'rarbgprx.org', - 'www.yxssp.com']; + 'www.yxssp.com', + 'pan.yuankongjian.com']; if (GM_getValue('menu_disable') == null){GM_setValue('menu_disable', [])}; // 注册脚本菜单 @@ -410,6 +411,15 @@ replaceE: 'css;.page-nav.td-pb-padding-side', scrollDelta: 900 } + }, + yuankongjian: { + SiteTypeID: 28, + pager: { + type: 2, + nextLink: 'button[title="加载更多"]', + nextText: '加载更多', + scrollDelta: 500 + } } }; @@ -501,6 +511,11 @@ case "rarbgprx.org": curSite = DBSite.rarbgprx; break; + case "pan.yuankongjian.com": + if (location.pathname.indexOf('/d/') === -1) { + curSite = DBSite.yuankongjian; + } + break; default: // < Discuz! 论坛专用 > if (location.pathname.indexOf('.html') > -1) { // 判断是不是静态网页(.html 结尾) if (location.pathname.indexOf('forum') > -1) { // 各版块帖子列表