Skip to content

Commit 43fb36e

Browse files
committed
新增 [360 漫画 - 桌面版+手机版] 支持
1 parent 7163908 commit 43fb36e

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

other/Autopage/rules.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3234,8 +3234,8 @@
32343234
"replaceE": ".pagination, .pages, .page"
32353235
}
32363236
},
3237-
"古风漫画网 / 优酷漫画 / 36 漫画": {
3238-
"host": ["/^www\\.gufengmh\\d/","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com"],
3237+
"古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画": {
3238+
"host": ["/^www\\.gufengmh\\d/","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.100fanwo.com"],
32393239
"url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {if (location.hostname == 'www.ykmh.com' || location.hostname.indexOf('36man') != -1) {if (localStorage.getItem('chapterScroll') != '\"pagination\"') {localStorage.setItem('chapterScroll', '\"pagination\"'); location.reload();} else {setTimeout(()=>{let _img = '',host = SinMH.getResHostDomain(); if (location.hostname == 'www.ykmh.com') {chapterPath=''}; for (let i=0;i<chapterImages.length;i++){_img += `<img src=\"${host}${chapterPath}${chapterImages[i]}\">`;}; document.getElementById('images').innerHTML = _img;}, 500); return true;}} else {let chapterScroll = fun.getCSS('#chapter-scroll:not(.active)'); if (chapterScroll) {chapterScroll.click();}; return true;}}",
32403240
"style": ".img_land_prev, .img_land_next,p.img_info, #sider-left, #sider-right, p.img_info, .tc, .chapter-view + .w996 {display: none !important;} #images>img {display: inline-block;min-height: 300px;margin: 0 auto !important;border: none !important;padding: 0 !important;max-width: 99% !important;height: auto !important;}",
32413241
"history": true,
@@ -3248,11 +3248,11 @@
32483248
"scrollD": 4000
32493249
},
32503250
"function": {
3251-
"aF": "let _img = '',host = SinMH.getResHostDomain(); if (location.hostname == 'www.ykmh.com') {chapterPath=''}else if (location.hostname.indexOf('36man') == -1){host+='/'}; for (let i=0;i<chapterImages.length;i++){_img += `<img src=\"${host}${chapterPath}${chapterImages[i]}\">`;}; document.getElementById('images').insertAdjacentHTML('beforeend', _img);"
3251+
"aF": "let _img = '',host = SinMH.getResHostDomain(); if (location.hostname == 'www.ykmh.com'||location.hostname == 'www.100fanwo.com') {chapterPath=''}else if (location.hostname.indexOf('36man') == -1){host+='/'}; for (let i=0;i<chapterImages.length;i++){_img += `<img src=\"${host}${chapterPath}${chapterImages[i]}\">`;}; document.getElementById('images').insertAdjacentHTML('beforeend', _img);"
32523252
}
32533253
},
3254-
"古风漫画网 / 优酷漫画 / 36 漫画 - 分类页": {
3255-
"host": ["/^www\\.gufengmh\\d/","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com"],
3254+
"古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 - 分类页": {
3255+
"host": ["/^www\\.gufengmh\\d/","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.100fanwo.com"],
32563256
"url": "/^\\/(update|list|search)/",
32573257
"blank": 3,
32583258
"pager": {
@@ -3261,6 +3261,20 @@
32613261
"replaceE": "ul.pagination"
32623262
}
32633263
},
3264+
"360 漫画 - 手机版": {
3265+
"host": "m.100fanwo.com",
3266+
"url": "/\\/\\d+(-\\d+)?\\.html$/",
3267+
"style": ".erPag img {padding: 0!important;border: none!important;display: block;min-width: 100%;max-width: 100%;height: 100%;margin: auto;margin-bottom: -1px;} body>*:not(.UnderPage), .UnderPage>*:not(.erPag):not(.Introduct_Sub):not(.title3):not(.control_bottom) {display: none !important;}",
3268+
"pager": {
3269+
"nextL": "id('action')//a[text()='下一页' or text()='下一章']",
3270+
"pageE": ".erPag",
3271+
"replaceE": "#action",
3272+
"scrollD": 1500
3273+
},
3274+
"function": {
3275+
"bF": "pageE[0].innerHTML = pageE[0].innerHTML.replaceAll('mip-img','img');return pageE"
3276+
}
3277+
},
32643278
"砂之船动漫家": {
32653279
"host": "www.szcdmj.com",
32663280
"url": "if (fun.indexOF('/szcchapter/')) {return true;} else if (fun.indexOF('/szcbook/')) {if (fun.getCSS('#detail-list-more')) {fun.getCSS('#detail-list-more').click();}}",

0 commit comments

Comments
 (0)