Skip to content

Commit 4d55f2e

Browse files
committed
新增 [异次元软件、不死鸟] 支持
1 parent 8a1387c commit 4d55f2e

2 files changed

Lines changed: 42 additions & 42 deletions

File tree

Autopage.user.js

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// @name 自动无缝翻页
33
// @version 1.1.6
44
// @author X.I.U
5-
// @description 自动无缝翻页,目前支持:423Down、Apphot、小众软件、PubMed、异次元软件、不死鸟、三国杀论坛
5+
// @description 自动无缝翻页,目前支持:423Down、Apphot、不死鸟、小众软件、异次元软件、三国杀论坛、PubMed
66
// @match *://www.423down.com/*
77
// @exclude *://www.423down.com/*.html
88
// @match *://apphot.cc/*
@@ -25,7 +25,7 @@
2525

2626
(function() {
2727
// 注册脚本菜单
28-
GM_registerMenuCommand('反馈 & 申请添加支持', function () {window.GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});});
28+
GM_registerMenuCommand('反馈 & 欢迎申请支持', 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});});
2929

3030
// 默认 ID 为 0
3131
var curSite = {SiteTypeID: 0};
@@ -58,8 +58,20 @@
5858
scrollDelta: 1500
5959
}
6060
},
61-
appinn_postslist: {
61+
iao_su_postslist: {
6262
SiteTypeID: 3,
63+
pager: {
64+
type: 1,
65+
nextLink: '//li[@class="btn btn-primary next"]//a[@href]',
66+
pageElement: 'css;#index > article, #archive > article',
67+
HT_insert: ['css;ol.page-navigator', 1],
68+
replaceE: 'css;ol.page-navigator',
69+
scrollDelta: 800,
70+
beforeFunction: iao_su_postslist_beforeFunction
71+
}
72+
},
73+
appinn_postslist: {
74+
SiteTypeID: 4,
6375
pager: {
6476
type: 1,
6577
nextLink: '//a[@class="next page-numbers"][@href]',
@@ -69,17 +81,29 @@
6981
scrollDelta: 1500
7082
}
7183
},
72-
pubmed_postslist: {
73-
SiteTypeID: 4,
84+
iplaysoft_postslist: {
85+
SiteTypeID: 5,
86+
pager: {
87+
type: 1,
88+
nextLink: '//div[@class="pagenavi"]//a[@title="下一页"][@href]',
89+
pageElement: 'css;#postlist > div.entry',
90+
HT_insert: ['css;#postlist > .pagenavi-button', 1],
91+
replaceE: 'css;.pagenavi-button, .pagenavi',
92+
scrollDelta: 1200,
93+
beforeFunction: iplaysoft_postslist_beforeFunction
94+
}
95+
},
96+
iplaysoft_postcomments: {
97+
SiteTypeID: 6,
7498
pager: {
7599
type: 2,
76-
nextLink: 'button.load-button.next-page',
77-
nextText: 'Show more',
78-
scrollDelta: 1500
100+
nextLink: '#loadHistoryComments',
101+
nextText: '展开后面',
102+
scrollDelta: 1200
79103
}
80104
},
81105
sanguosha_forum: {
82-
SiteTypeID: 5,
106+
SiteTypeID: 7,
83107
pager: {
84108
type: 2,
85109
nextLink: '#autopbn',
@@ -88,7 +112,7 @@
88112
}
89113
},
90114
sanguosha_thread: {
91-
SiteTypeID: 6,
115+
SiteTypeID: 8,
92116
pager: {
93117
type: 1,
94118
nextLink: '//a[@class="nxt"][@href]',
@@ -99,7 +123,7 @@
99123
}
100124
},
101125
sanguosha_search: {
102-
SiteTypeID: 7,
126+
SiteTypeID: 9,
103127
pager: {
104128
type: 1,
105129
nextLink: '//a[@class="nxt"][@href]',
@@ -109,39 +133,15 @@
109133
scrollDelta: 800
110134
}
111135
},
112-
iplaysoft_postslist: {
113-
SiteTypeID: 8,
114-
pager: {
115-
type: 1,
116-
nextLink: '//div[@class="pagenavi"]//a[@title="下一页"][@href]',
117-
pageElement: 'css;#postlist > div.entry',
118-
HT_insert: ['css;#postlist > .pagenavi-button', 1],
119-
replaceE: 'css;.pagenavi-button, .pagenavi',
120-
scrollDelta: 1200,
121-
beforeFunction: iplaysoft_postslist_beforeFunction
122-
}
123-
},
124-
iplaysoft_postcomments: {
125-
SiteTypeID: 9,
126-
pager: {
127-
type: 2,
128-
nextLink: '#loadHistoryComments',
129-
nextText: '展开后面',
130-
scrollDelta: 1200
131-
}
132-
},
133-
iao_su_postslist: {
136+
pubmed_postslist: {
134137
SiteTypeID: 10,
135138
pager: {
136-
type: 1,
137-
nextLink: '//li[@class="btn btn-primary next"]//a[@href]',
138-
pageElement: 'css;#index > article, #archive > article',
139-
HT_insert: ['css;ol.page-navigator', 1],
140-
replaceE: 'css;ol.page-navigator',
141-
scrollDelta: 1000,
142-
beforeFunction: iao_su_postslist_beforeFunction
139+
type: 2,
140+
nextLink: 'button.load-button.next-page',
141+
nextText: 'Show more',
142+
scrollDelta: 1500
143143
}
144-
},
144+
}
145145
};
146146

147147

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
| [<img src="https://static.zhihu.com/heifetz/favicon.ico" height="16px" />](https://www.zhihu.com/people/xiu2) | **知乎 增强** | **移除登录弹窗**、一键收起回答、置顶显示时间、区分问题文章... | **[安装](https://greasyfork.org/zh-CN/scripts/419081)** \| **[备用](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/Zhihu-Enhanced.user.js)** |
2121
| [<img src="https://www.v2ex.com/static/favicon.ico" height="16px" />](https://www.v2ex.com/) | **V2ex 增强** | **自动签到**、自动无缝翻页、回到顶部 (右键点击两侧空白处... | **[安装](https://greasyfork.org/zh-CN/scripts/424246)** \| **[备用](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/V2ex-Enhanced.user.js)** |
2222
| [<img src="https://i.loli.net/2021/03/30/ULV9XunaHesqGIR.png" height="16px" />](https://github.com/XIU2) | **Github 增强** | **高速下载** Git Clone、Release、Raw、Code(ZIP) 等文件... | **[安装](https://greasyfork.org/zh-CN/scripts/412245)** \| **[备用](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/GithubEnhanced-High-Speed-Download.user.js)** |
23-
| [<img src="https://i.loli.net/2021/03/30/T85mFlDGnfNWQvp.png" height="16px" />](https://github.com/XIU2) | **自动无缝翻页 \*** | 目前支持:423Down、Apphot、小众软件、PubMed... | **[安装](https://greasyfork.org/zh-CN/scripts/419215)** \| **[备用](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/Autopage.user.js)** |
23+
| [<img src="https://i.loli.net/2021/03/30/T85mFlDGnfNWQvp.png" height="16px" />](https://github.com/XIU2) | **自动无缝翻页 \*** | 423Down、Apphot、不死鸟、小众软件、异次元软件... | **[安装](https://greasyfork.org/zh-CN/scripts/419215)** \| **[备用](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/Autopage.user.js)** |
2424
| [<img src="https://www.3dmgame.com/favicon.ico" height="16px" />](https://bbs.3dmgame.com) | **3DM论坛 美化** | 精简多余内容、样式优化 | **[安装](https://greasyfork.org/zh-CN/scripts/413593)** \| **[备用](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/3dm-Beautification.user.js)** |
2525
| [<img src="https://www.3dmgame.com/favicon.ico" height="16px" />](https://bbs.3dmgame.com) | **3DM论坛 增强** | **自动回复**、自动无缝翻页、清理置顶帖子、自动滚动至隐藏... | **[安装](https://greasyfork.org/zh-CN/scripts/412890)** \| **[备用](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/3dm-Enhanced.user.js)** |
2626
| [<img src="http://bbs.zhiyoo.net/favicon.ico" height="16px" />](http://bbs.zhiyoo.net/forum.php?mod=forumdisplay&fid=42&filter=author&orderby=dateline) | **智友邦论坛 美化** | 精简多余内容、样式优化、宽屏显示 | **[安装](https://greasyfork.org/zh-CN/scripts/412361)** \| **[备用](https://cdn.jsdelivr.net/gh/XIU2/UserScript@master/Zhiyoo-Beautification.user.js)** |

0 commit comments

Comments
 (0)