Skip to content

Commit 7df850d

Browse files
committed
新增 [Github - 用户项目列表页] 支持
1 parent 8c4d2b9 commit 7df850d

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

Autopage.user.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 自动无缝翻页
3-
// @version 4.0.4
3+
// @version 4.0.5
44
// @author X.I.U
55
// @description 无缝拼接下一页内容(瀑布流),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、DUX/XIU/D8/Begin(WP主题)」网站]、百度、谷歌、必应、搜狗、头条搜索、360 搜索、微信搜索、贴吧、豆瓣、知乎、微博、NGA、V2EX、B 站(Bilibili)、Pixiv、蓝奏云、煎蛋网、糗事百科、龙的天空、起点小说、IT之家、千图网、Pixabay、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、片库、茶杯狐、NO视频、低端影视、奈菲影视、音范丝、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、极简插件、小众软件、动漫狂、漫画猫、漫画 DB、动漫之家、拷贝漫画、包子漫画、古风漫画网、Mangabz、PubMed、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
66
// @match *://*/*
@@ -4295,6 +4295,8 @@ function: {
42954295
curSite = DBSite.github;
42964296
} else if (indexOF('tab=stars', 's')) {
42974297
curSite = DBSite.github_star;
4298+
} else if (indexOF('tab=repositories', 's')) {
4299+
curSite = DBSite.github_repositories;
42984300
} else if (indexOF(/\/issues$/) || indexOF(/\/pulls$/)) {
42994301
curSite = DBSite.github_issues;
43004302
} else if (indexOF(/\/discussions$/) || indexOF('/discussions/categories')) {
@@ -4342,6 +4344,15 @@ function: {
43424344
scrollD: 3000
43434345
}
43444346
}, // Github - 用户 Star 列表
4347+
github_repositories: {
4348+
pager: {
4349+
type: 1,
4350+
nextL: '//div[@class="paginate-container"]//a[contains(text(), "Next")]',
4351+
pageE: 'css;#user-repositories-list > ul > li',
4352+
replaceE: 'css;.paginate-container',
4353+
scrollD: 3000
4354+
}
4355+
}, // Github - 用户 项目 列表
43454356
github_issues: {
43464357
pager: {
43474358
type: 1,

0 commit comments

Comments
 (0)