Skip to content

Commit acd45fd

Browse files
committed
新增 [W3Cschool] 支持
1 parent 6aa36e1 commit acd45fd

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

Autopage.user.js

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 自动无缝翻页
3-
// @version 4.2.7
3+
// @version 4.2.8
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 *://*/*
@@ -836,6 +836,7 @@ function: {
836836
}
837837
}, // NGA - 各版块帖子列表
838838
nga_read: {
839+
retry: 1000,
839840
pager: {
840841
type: 1,
841842
nextL: 'css;#pagebbtm a[title*="下一页"]',
@@ -4248,9 +4249,9 @@ function: {
42484249
scrollD: 1000
42494250
}
42504251
}, // SegmentFault - Search
4251-
w3school_cn: {
4252+
w3school_com_cn: {
42524253
host: 'www.w3school.com.cn',
4253-
functionS: function() {if (location.pathname.split('/').length > 2) {curSite = DBSite.w3school_cn;}},
4254+
functionS: function() {if (location.pathname.split('/').length > 2) {curSite = DBSite.w3school_com_cn;}},
42544255
insStyle: '#maincontent h1:not(:nth-of-type(1)) {margin-top: 30px;}',
42554256
history: true,
42564257
pager: {
@@ -4267,7 +4268,19 @@ function: {
42674268
forceHTTPS: true,
42684269
scrollD: 600
42694270
}
4270-
}, // W3school
4271+
}, // W3school
4272+
w3cschool_cn: {
4273+
host: 'www.w3cschool.cn',
4274+
functionS: function() {if (location.pathname.split('/').length > 2) {curSite = DBSite.w3cschool_cn;}},
4275+
insStyle: '.widget-body, #rfbanner {display: none !important;}',
4276+
pager: {
4277+
type: 1,
4278+
nextL: 'css;.next-link > a',
4279+
pageE: 'css;#pro-mian-header, .content-bg',
4280+
replaceE: 'css;.content-links, .splitter-sidebar',
4281+
scrollD: 1500
4282+
}
4283+
}, // W3Cschool
42714284
runoob: {
42724285
host: 'www.runoob.com',
42734286
functionS: function() {if (location.pathname.split('/').length > 2 && getCSS('#leftcolumn')) {curSite = DBSite.runoob;}},

0 commit comments

Comments
 (0)