更新 [kingdom] 规则

This commit is contained in:
xiu2
2022-02-18 22:49:13 +08:00
parent 199583992e
commit 205e6c3dd6
+11 -7
View File
@@ -3,7 +3,7 @@
// @name:en AutoPager
// @name:zh-CN 自动无缝翻页
// @name:zh-TW 自動無縫翻頁
// @version 4.7.7
// @version 4.7.8
// @author X.I.U
// @description 无缝拼接下一页内容(瀑布流,追求小而精),目前支持:[所有「Discuz!、Flarum、phpBB、Xiuno、XenForo、NexusPHP、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(以上仅一小部分,更多的写不下了...
// @description:en Seamlessly stitch next page content (waterfall)
@@ -5890,23 +5890,27 @@ function: {
}, // mnttz - 分类页
kingdom: {
host: /kingdom-en\.com/,
functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.kingdom;} else {curSite = DBSite.kingdom_list;}},
functionS: function() {if (indexOF(/\/\d+\.html/)) {curSite = DBSite.kingdom;} else if (lp != '/') {curSite = DBSite.kingdom_list;}},
style: '.pic_center img {min-height: 300px;} .arcmain > .title, .footer, .index-list-title, .listmain_st {display: none !important;}',
pager: {
type: 1,
nextL: '//a[@class="page_next"] | //div[@class="article_page"]//a[text()="下一页"]',
nextL: 'css;a.page_next',
pageE: 'css;.pic_center img',
replaceE: '//div[@class="pages2" or @class="article_page"]',
replaceE: 'css;.pagenav',
scrollD: 4000
}
}, // kingdom - 图片页
kingdom_list: {
pager: {
type: 1,
nextL: () => getCSS('a.page_next').href.replace(/(www.)?ermo.net/, location.hostname).replace(/http(s)?:/, location.protocol),
pageE: 'css;.channel_list3 > ul > li, ul#container > li',
replaceE: 'css;.pages, .list_page',
nextL: 'css;a.page_next',
pageE: 'css;li.media',
replaceE: 'css;.pagination',
scrollD: 1000
},
function: {
bF: src_bF,
pF: [0, 'img[data-src]', 'data-src']
}
}, // kingdom - 分类页
kissgoddess: {