From cc6a0812710cd88dbf7380f54423e80b03507e25 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 28 Jul 2021 19:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20[=E5=BE=AE=E5=8D=9A?= =?UTF-8?q?=E8=AF=84=E8=AE=BA]=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 | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/Autopage.user.js b/Autopage.user.js index 5c41ada..107f03b 100644 --- a/Autopage.user.js +++ b/Autopage.user.js @@ -1,8 +1,8 @@ // ==UserScript== // @name 自动无缝翻页 -// @version 1.3.3 +// @version 1.3.4 // @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 @@ -41,7 +41,8 @@ 'www.58pic.com', 'rarbgprx.org', 'www.yxssp.com', - 'pan.yuankongjian.com']; + 'pan.yuankongjian.com', + 'weibo.com']; if (GM_getValue('menu_disable') == null){GM_setValue('menu_disable', [])}; // 注册脚本菜单 @@ -420,6 +421,15 @@ nextText: '加载更多', scrollDelta: 500 } + }, + weibo_comment: { + SiteTypeID: 29, + pager: { + type: 2, + nextLink: 'a[action-type="click_more_comment"]', + nextText: '查看更多c', + scrollDelta: 1000 + } } }; @@ -516,6 +526,9 @@ curSite = DBSite.yuankongjian; } break; + case "weibo.com": + curSite = DBSite.weibo_comment; + break; default: // < Discuz! 论坛专用 > if (location.pathname.indexOf('.html') > -1) { // 判断是不是静态网页(.html 结尾) if (location.pathname.indexOf('forum') > -1) { // 各版块帖子列表