Skip to content

Commit aae0dfd

Browse files
committed
新增 [SF漫画]、[SF漫画 - 书库] 支持
1 parent f19e633 commit aae0dfd

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

other/Autopage/rules.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3276,6 +3276,32 @@
32763276
"bF": "return fun.src_bF(pageE)"
32773277
}
32783278
},
3279+
"SF漫画": {
3280+
"host": "manhua.sfacg.com",
3281+
"url": "if (fun.indexOF(/^\\/mh\\/.+\\/\\d+\\//)) {setTimeout(()=>{let _img=''; for (let i=0;i<picAy.length;i++){_img += `<img src=\"${picAy[i]}\">`;}; document.getElementById('curPic').parentElement.outerHTML = _img;rule.pager.scrollD = 3000;},1000); rule.pager.scrollD = -9999999; return true;}",
3282+
"style": ".page_turning>a[href='javascript:PrePage();'], .page_turning>a[href='javascript:NextPage();'], #pageSel, #Pages, .tucao {display: none !important;} .Reduction_left{width: auto !important;}",
3283+
"history": true,
3284+
"pager": {
3285+
"nextL": "js; if(nextChap != 0) {return (location.origin + '/mh/' + comicFolder + '/' + nextChap + '/');}",
3286+
"pageE": "#PicArea>tbody>tr>td>script",
3287+
"insertP": ["body",3],
3288+
"replaceE": ".Reduction_left",
3289+
"scriptT": 2,
3290+
"interval": 4000
3291+
},
3292+
"function": {
3293+
"aF": "common.getPics(c,chapId,nv,fn,function (json) {picAy = json.data;if (picAy.length == 0) {return;} else {let _img=''; for (let i=0;i<picAy.length;i++){_img += `<img src=\"${picAy[i]}\">`;}; fun.getCSS('#PicArea>tbody>tr>td>img').parentElement.insertAdjacentHTML('beforeend',_img);};}, function (info) {Message(info, 2);});"
3294+
}
3295+
},
3296+
"SF漫画 - 书库": {
3297+
"host": "manhua.sfacg.com",
3298+
"url": "return fun.isPager()",
3299+
"pager": {
3300+
"nextL": ".pagebarNext>a",
3301+
"pageE": "ul.Comic_Pic_List",
3302+
"replaceE": ".pagebar"
3303+
}
3304+
},
32793305
"快岸漫画": {
32803306
"host": "www.kanbook.net",
32813307
"url": "if (fun.indexOF(/^\\/\\d+\\/\\d+\\/\\d+/)) {if (fun.getCSS('img.img-fluid')){fun.getCSS('img.img-fluid').style.display = 'none';}; setTimeout(()=>{let _img = '';for (let i = 0; i < imagesUrlArr.length; i++) {_img += `<img class=\"img-fluid d-md-block mx-auto\" src=\"${host + imagesUrlArr[i]}\">`;};document.querySelector('.content-wrapper').insertAdjacentHTML('beforeend',_img);},500); return true;}",

0 commit comments

Comments
 (0)