Skip to content

Commit cc6a081

Browse files
committed
新增 [微博评论] 支持
1 parent 4bd3ef1 commit cc6a081

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

Autopage.user.js

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// ==UserScript==
22
// @name 自动无缝翻页
3-
// @version 1.3.3
3+
// @version 1.3.4
44
// @author X.I.U
5-
// @description 自动无缝翻页,目前支持:所有 Discuz!论坛、423Down、Apphot、不死鸟、小众软件、异次元软件、微当下载、异星软件空间、豆瓣电影、3DM游戏网、游侠网、游民星空、千图网、阿里小站、RARBG、FitGirl Repacks、AlphaCoders、PubMed...
5+
// @description 自动无缝翻页,目前支持:所有 Discuz!论坛、423Down、Apphot、不死鸟、小众软件、异次元软件、微当下载、异星软件空间、豆瓣电影、微博评论、3DM游戏网、游侠网、游民星空、千图网、阿里小站、RARBG、FitGirl Repacks、AlphaCoders、PubMed...
66
// @match *://*/*
77
// @exclude *://www.423down.com/*.html
88
// @exclude *://apphot.cc/*.html
@@ -41,7 +41,8 @@
4141
'www.58pic.com',
4242
'rarbgprx.org',
4343
'www.yxssp.com',
44-
'pan.yuankongjian.com'];
44+
'pan.yuankongjian.com',
45+
'weibo.com'];
4546

4647
if (GM_getValue('menu_disable') == null){GM_setValue('menu_disable', [])};
4748
// 注册脚本菜单
@@ -420,6 +421,15 @@
420421
nextText: '加载更多',
421422
scrollDelta: 500
422423
}
424+
},
425+
weibo_comment: {
426+
SiteTypeID: 29,
427+
pager: {
428+
type: 2,
429+
nextLink: 'a[action-type="click_more_comment"]',
430+
nextText: '查看更多c',
431+
scrollDelta: 1000
432+
}
423433
}
424434
};
425435

@@ -516,6 +526,9 @@
516526
curSite = DBSite.yuankongjian;
517527
}
518528
break;
529+
case "weibo.com":
530+
curSite = DBSite.weibo_comment;
531+
break;
519532
default: // < Discuz! 论坛专用 >
520533
if (location.pathname.indexOf('.html') > -1) { // 判断是不是静态网页(.html 结尾)
521534
if (location.pathname.indexOf('forum') > -1) { // 各版块帖子列表

0 commit comments

Comments
 (0)