新增 [动漫啦] 支持

This commit is contained in:
xiu2
2022-01-26 13:48:17 +08:00
parent 91b8f0d300
commit c1f8f76e3c
+34 -1
View File
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 自动无缝翻页
// @version 4.5.7
// @version 4.5.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(以上仅一小部分,更多的写不下了...
// @match *://*/*
@@ -2850,6 +2850,39 @@ function: {
scrollD: 1000
}
}, // 动漫狂 - 分类/搜索页
dongman: {
host: 'www.dongman.la',
functionS: function() {if (indexOF('/chapter/')) {
src_bF(getAllCSS('img.mdui-img-fluid[data-srcset]:not([src])'), [0, 'img[data-srcset]', 'data-srcset']);
curSite = DBSite.dongman;
} else if (indexOF('/detail/')) {
setTimeout(function(){getCSS('a#zhankai').click()}, 500)
} else if (indexOF('/manhua/')) {
curSite = DBSite.dongman_list;
}},
insStyle: 'button.prePic, button.nextPic, footer, header, #left-drawer {display: none !important;} body, #app {padding: 0 !important;} .slick-track {width: 100% !important;} .lazyBox {width: 100%; display: inline-block;}',
pager: {
type: 1,
nextL: '//footer//a[./label[text()="下一章"]]',
pageE: 'css;.lazyBox',
insertP: ['css;.slick-track', 3],
replaceE: 'css;footer',
scrollD: 3000
},
function: {
bF: src_bF,
pF: [0, 'img[data-srcset]', 'data-srcset']
}
}, // 动漫啦
dongman_list: {
pager: {
type: 1,
nextL: '//a[@class="GPageLink" and text()="下一页"]',
pageE: 'css;.cy_list_mh > ul',
replaceE: 'css;.NewPages',
scrollD: 2000
}
}, // 动漫啦 - 分类页
manhuacat: {
host: ['www.manhuacat.com', 'www.maofly.com'],
functionS: function() {if (indexOF(/\/manga\/\d+\/.+\.html/)) {