Skip to content

Commit 551fe61

Browse files
committed
新增 [Discuz! - 归档页] 支持
1 parent f938423 commit 551fe61

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

Autopage.user.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @name:zh-CN 自动无缝翻页
44
// @name:zh-TW 自動無縫翻頁
55
// @name:en AutoPager
6-
// @version 6.3.13
6+
// @version 6.4.0
77
// @author X.I.U
88
// @description ⭐无缝加载 下一页内容 至网页底部(类似瀑布流)⭐,目前支持:【所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP...」论坛】【百度、谷歌(Google)、必应(Bing)、搜狗、微信、360、Yahoo、Yandex 等搜索引擎...】、贴吧、豆瓣、知乎、B 站(bilibili)、NGA、V2EX、煎蛋网、龙的天空、起点中文、千图网、千库网、Pixabay、Pixiv、3DM、游侠网、游民星空、NexusMods、Steam 创意工坊、CS.RIN.RU、RuTracker、BT之家、萌番组、动漫花园、樱花动漫、爱恋动漫、AGE 动漫、Nyaa、SrkBT、RARBG、SubHD、423Down、不死鸟、扩展迷、小众软件、【动漫狂、动漫屋、漫画猫、漫画屋、漫画 DB、动漫之家、拷贝漫画、HiComic、Mangabz、Xmanhua 等漫画网站...】、PubMed、Z-Library、GreasyFork、Github、StackOverflow(以上仅一小部分,更多的写不下了...
99
// @description:zh-TW ⭐無縫加載 下一頁內容 至網頁底部(類似瀑布流)⭐,支持各論壇、社交、遊戲、漫畫、小說、學術、搜索引擎(Google、Bing、Yahoo...) 等網站~
@@ -100,8 +100,8 @@
100100
'https://github.moeyy.xyz/https://raw.githubusercontent.com/XIU2/UserScript/master/other/Autopage/rules.json',
101101
'https://cdn.staticaly.com/gh/XIU2/UserScript/master/other/Autopage/rules.json',
102102
'https://gcore.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json',
103-
'https://fastly.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json'
104-
//'https://raw.githubusercontents.com/XIU2/UserScript/master/other/Autopage/rules.json'
103+
'https://fastly.jsdelivr.net/gh/XIU2/UserScript/other/Autopage/rules.json',
104+
'https://raw.githubusercontents.com/XIU2/UserScript/master/other/Autopage/rules.json'
105105
], urlArr2 = [
106106
'https://userscript.gh2233.ml/other/Autopage/rules.json',
107107
'https://userscript.xiu2.xyz/other/Autopage/rules.json',
@@ -708,6 +708,12 @@ function: {
708708
forceHTTPS: true
709709
}
710710
}, // Discuz! 论坛 - 淘帖页
711+
discuz_archiver: {
712+
pager: {
713+
nextL: '//div[@id="content"][last()]//div[@class="page"]/strong/following-sibling::a[1]',
714+
pageE: '#content'
715+
}
716+
}, // Discuz! 论坛 - 归档页
711717
discuz_m: {
712718
thread: true,
713719
pager: {
@@ -1339,6 +1345,8 @@ function: {
13391345
curSite = DBSite.discuz_thread;
13401346
}
13411347
}
1348+
} else if (indexOF('/archiver/')) { // < 归档页 >
1349+
curSite = DBSite.discuz_archiver;
13421350
}
13431351
}
13441352
// 如果上面没有匹配的则继续

0 commit comments

Comments
 (0)