Skip to content

Commit 28605ea

Browse files
committed
新增 [动漫戏说] 支持
1 parent a99ff26 commit 28605ea

1 file changed

Lines changed: 43 additions & 1 deletion

File tree

Autopage.user.js

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 自动无缝翻页
3-
// @version 3.9.8
3+
// @version 3.9.9
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 *://*/*
@@ -2888,6 +2888,39 @@ function: {
28882888
scrollD: 1000
28892889
}
28902890
}, //动漫之家 - 日漫 - 最新更新
2891+
acgn: {
2892+
host: 'comic.acgn.cc',
2893+
functionS: function() {
2894+
if (indexOF('/view-')) {
2895+
curSite = DBSite.acgn;
2896+
acgn_aF();
2897+
} else if (indexOF('/cate-') || indexOF('/pinyin-')) {
2898+
curSite = DBSite.acgn_list;
2899+
}
2900+
},
2901+
insStyle: '.img1 {cursor: initial !important;}',
2902+
history: true,
2903+
pager: {
2904+
type: 1,
2905+
nextL: 'css;#next_chapter',
2906+
pageE: 'css;.pic[_src]',
2907+
replaceE: 'css;[class^="display_"]',
2908+
interval: 2000,
2909+
scrollD: 2000
2910+
},
2911+
function: {
2912+
aF: acgn_aF
2913+
}
2914+
}, // 动漫戏说
2915+
acgn_list: {
2916+
pager: {
2917+
type: 1,
2918+
nextL: 'css;a[rel="next"]',
2919+
pageE: 'css;ul#display > li',
2920+
replaceE: 'css;#pagination',
2921+
scrollD: 1000
2922+
}
2923+
}, // 动漫戏说 - 分类页
28912924
copymanga: {
28922925
host: /copymanga\./,
28932926
functionS: function() {if (indexOF('/chapter/')) {
@@ -5856,6 +5889,15 @@ function: {
58565889
}
58575890

58585891

5892+
// [动漫戏说] 插入后函数(加载图片)
5893+
function acgn_aF() {
5894+
let old = getAllCSS('.pic[_src][id]'), _img = '';
5895+
if (old.length > 0) {
5896+
for (let now of old) {now.outerHTML = `<div class="pic" _src="${now.getAttribute('_src')}"><img src="${now.getAttribute('_src')}" class="img1"></div>`;}
5897+
}
5898+
}
5899+
5900+
58595901
// [漫画星球] 插入数据
58605902
function mhxqiu_insertE(pageElems, type) {
58615903
if (!pageElems) return

0 commit comments

Comments
 (0)