mirror of
https://github.com/XIU2/UserScript.git
synced 2026-07-24 11:03:23 +00:00
新增 [漫漫台] 支持
This commit is contained in:
@@ -3273,10 +3273,10 @@
|
||||
"replaceE": ".pagination, .pages, .page"
|
||||
}
|
||||
},
|
||||
"古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画": {
|
||||
"host": ["/^www\\.gufengmh\\d/","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.100fanwo.com"],
|
||||
"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;}}",
|
||||
"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;}",
|
||||
"古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台": {
|
||||
"host": ["/^www\\.gufengmh\\d/","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.100fanwo.com","www.manmantai.com"],
|
||||
"url": "if (fun.indexOF(/\\/\\d+\\.html$/)) {if (location.hostname == 'www.ykmh.com' || location.hostname == 'www.manmantai.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 if (localStorage.getItem('chapterScroll') != '\"scroll\"') {localStorage.setItem('chapterScroll', '\"scroll\"'); location.reload();}else{return true}}",
|
||||
"style": ".img_land_prev, .img_land_next,p.img_info, #sider-left, #sider-right, p.img_info, .tc, .chapter-view + .w996, .chapter-view>div[style]:not([id]):not([class]) {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;}",
|
||||
"history": true,
|
||||
"pager": {
|
||||
"nextL": "js; let url = comicUrl + nextChapterData.id + '.html'; if (nextChapterData.id != null && url && url != '.html' && url != location.href) return url",
|
||||
@@ -3290,8 +3290,8 @@
|
||||
"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);"
|
||||
}
|
||||
},
|
||||
"古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 - 分类页": {
|
||||
"host": ["/^www\\.gufengmh\\d/","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.100fanwo.com"],
|
||||
"古风漫画网 / 优酷漫画 / 36 漫画 / 360 漫画 / 漫漫台 - 分类页": {
|
||||
"host": ["/^www\\.gufengmh\\d/","www.ykmh.com","36manga.com","www.36manga.com","36manhua.com","www.36manhua.com","www.100fanwo.com","www.manmantai.com"],
|
||||
"url": "/^\\/(update|list|search)/",
|
||||
"blank": 3,
|
||||
"pager": {
|
||||
|
||||
Reference in New Issue
Block a user