Update pagetualRules.json#1197
Open
leandro4979-hub wants to merge 1 commit into
Open
Conversation
[
{
"name": "Woot",
"url": "^https?://www\\.woot\\.com/",
"example": "https://www.woot.com/alldeals?ref=w_ngh_et_1",
"author": "Hoothin",
"nextLink": "//div[text()='Next >']",
"pinUrl": true
},
{
"name": "Fapello",
"url": "^https?://fapello\\.com/",
"example": "https://fapello.com/noemy-love/38/",
"pageElement": "a.uk-align-center > img"
},
{
"name": "精易论坛 - 手机版 - Powered by Discuz!",
"url": "^https?://bbs\\.125\\.la/",
"example": "https://bbs.125.la/forum.php?mod=forumdisplay&fid=98&mobile=2",
"nextLink": "#page > div.threadlist > div.page > a:nth-of-type(3)",
"pageElement": "body > div.mm-page.mm-slideout > div.threadlist > div.threadlist > ul",
"action": 1
},
{
"name": "u2dmhy 种子页面",
"author": "dyzer",
"url": "^https?://u2\\.dmhy\\.org/torrents\\.php",
"example": "https://u2.dmhy.org/torrents.php",
"pageElement": "body > table.mainouter > tbody > tr:nth-of-type(2) > td.outer > table.main > tbody > tr > td.embedded"
},
{
"name": "Qi Xing Blog | 一个互联网角落的秘密基地~🥳",
"author": "qi_xing_jk",
"url": "^https?://blog\\.qixing1217\\.top/",
"example": "https://blog.qixing1217.top/",
"pageElement": "#container",
"nextLink": "a.block[rel='next']",
"action": 1,
"waitElement": "!img.object-cover[src^='data']"
},
{
"name": "Podium Audio",
"author": "uwuceo with help from Hoothin",
"url": "^https?://podiumaudio\\.com",
"example": "https://podiumaudio.com/browse-titles/",
"pageElement": "div.browse-all-titles-grid-container > div.inner > div",
"loadMore": "div.load-more-section > a",
"css": ".loading{opacity: 1;}",
"autoClick": "div.load-more-section > a",
"rate": 5
},
{
"name": "PubMed",
"author": "1nker",
"url": "^https?://pubmed\\.ncbi\\.nlm\\.nih\\.gov/",
"example": "https://pubmed.ncbi.nlm.nih.gov/?term=",
"loadMore": "button.load-button.next-page",
"nextLink": 0
},
{
"name": "V2EX POST",
"author": "jaeger",
"url": "^https?://v2ex\\.com/t/",
"example": "https:v2ex.com/t/967813",
"pageElement": "#Main>.box:nth-child(4)"
},
{
"name": "V2EX",
"url": "^https?://www\\.v2ex\\.com/t/",
"example": "https://www.v2ex.com/t/998253",
"author": "Hoothin",
"pageElement": "#Main>.box:not([style],[id])>.cell[id]"
},
{
"name": "ICONFINDER ",
"author": "skofkyo",
"enable": 0,
"example": "https://www.iconfinder.com/search?q=Download",
"url": "^https?://www\\.iconfinder\\.com/"
},
{
"name": "菜鸟工具 - JS/CSS/JSON/HTML 調整為上下欄",
"author": "skofkyo",
"enable": 1,
"example": "https://c.runoob.com/front-end/51/,https://c.runoob.com/front-end/52/,https://c.runoob.com/front-end/7683/,https://c.runoob.com/front-end/47/",
"url": "^https?://(c\\.runoob\\.com|www\\.jyshare\\.com)/front-end/(47|51|52|7683)/",
"init": "if(location.href.indexOf('7683')==-1){clearAll()}document.querySelectorAll('div.col-md-6').forEach(div=>{div.setAttribute('class','code');div.style='width:100%;max-width:100%;position:relative;padding-right:15px;padding-left:15px;'})",
"pinUrl": true
},
{
"name": "webtoons - 手機版閱讀 (手動翻頁模式,預讀下一話圖片)",
"author": "skofkyo",
"example": "https://m.webtoons.com/zh-hant/time-slip/estatedeveloper/%E7%AC%AC1%E8%A9%B1/viewer?title_no=4354&episode_no=1",
"url": "^https?://m\\.webtoons\\.com/.+/viewer\\?",
"manualMode": true,
"pinUrl": true,
"init": "document.addEventListener('dblclick',()=>{let n=document.querySelector('.paginate a.lk_next');if(n)location.href=n.href});let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgs=document.querySelectorAll('._checkVisible');for(let i=0;i<imgs.length;i++){imgs[i].src=imgData[i].url}",
"nextLink": ".paginate a.lk_next",
"preloadImages": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgSrcArr=[];for(let i=0;i<imgData.length;i++){let imgSrc=imgData[i].url;imgSrcArr.push(imgSrc)}return imgSrcArr",
"css": "#_webRetentionArea,.pagetual_tipsWords{display:none!important}"
},
{
"name": "webtoons - 手機版閱讀 (自動翻頁模式會越來越卡)",
"author": "skofkyo",
"example": "https://m.webtoons.com/zh-hant/time-slip/estatedeveloper/%E7%AC%AC1%E8%A9%B1/viewer?title_no=4354&episode_no=1",
"enable": 0,
"url": "^https?://m\\.webtoons\\.com/.+/viewer\\?",
"history": 2,
"init": "let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgs=document.querySelectorAll('._checkVisible');for(let i=0;i<imgs.length;i++){imgs[i].src=imgData[i].url}",
"nextLink": ".paginate a.lk_next",
"pageElement": ".flick-ct._imageWrap",
"replaceElement": ".h1_viewer,#sequence_scroll,.btn_comment,.paginate",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgs=doc.querySelectorAll('._checkVisible');for(let i=0;i<imgs.length;i++){imgs[i].src=imgData[i].url}",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('#bottomEpisodeList img[data-url]').forEach(e=>{e.src=e.dataset.url});let titles=gae('.pagetual_pageBar');if(titles.length>5){titles[0].remove();let removes=gae('#_viewer>*');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgSrcArr=[];for(let i=0;i<imgData.length;i++){let imgSrc=imgData[i].url;imgSrcArr.push(imgSrc)}return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.h1_viewer>._goTop');if(t)return t.innerText",
"rate": 3,
"css": "#_viewer{height:auto !important}#_webRetentionArea{display:none!important}"
},
{
"name": "webtoons - 閱讀",
"author": "skofkyo",
"example": "https://www.webtoons.com/zh-hant/time-slip/estatedeveloper/%E7%AC%AC1%E8%A9%B1/viewer?title_no=4354&episode_no=1",
"url": "^https?://www\\.webtoons\\.com/.+/viewer\\?",
"pinUrl": true,
"history": 2,
"init": "document.querySelectorAll('img[data-url]').forEach(e=>{e.src=e.dataset.url})",
"nextLink": "//div[@class='episode_cont']//li[a[starts-with(@class,'on')]]/following-sibling::li[1]/a",
"pageElement": "#_imageList>img",
"replaceElement": ".subj_info>h1,.paginate.v2,.episode_cont",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('#bottomEpisodeList img[data-url]').forEach(e=>{e.src=e.dataset.url});let titles=gae('.pagetual_pageBar');if(titles.length>5){titles[0].remove();let removes=gae('#_imageList>*');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.subj_info>h1');if(t)return t.innerText",
"rate": 3
},
{
"name": "webtoons - 目錄",
"author": "skofkyo",
"example": "https://www.webtoons.com/zh-hant/time-slip/estatedeveloper/list?title_no=4354",
"url": "^https?://www\\.webtoons\\.com/.+/list\\?",
"pinUrl": true,
"nextLink": "//div[@class='paginate']/a[span[@class='on']]/following-sibling::a[1]",
"pageElement": "._episodeItem",
"replaceElement": ".paginate",
"pageBar": 0
},
{
"name": "webtoons - 首頁禁用",
"url": "^https?://www\\.webtoons\\.com/([^/]+/)?$",
"pinUrl": true,
"enable": 0
},
{
"name": "開車漫画 - 閱讀",
"author": "skofkyo",
"example": "https://18p.fun/ForInject/Chapter/?id=641992",
"url": "^https?://(www\\.)?(18p|gohaveababy|imynest|healthway|beforeout)\\.[a-z]{2,5}/(ForInject/|Article/|content/)",
"history": 2,
"action": 1,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('img[data-src]');if(set){clearInterval(loop);if(location.hostname!='18p.fun'&&window.$_curChap){location.replace('https://18p.fun/ForInject/Chapter/?id='+window.$_curChap.id)};document.querySelectorAll('img[data-src]').forEach(e=>{e.src=e.dataset.src});let hasTouchEvents=()=>{if(('ontouchstart'in window)||(navigator.maxTouchPoints>0)||(navigator.msMaxTouchPoints>0)){return true}return false};let toggleToolbar=()=>{var e=e||window.event;if(e.wheelDelta<0||e.detail>0){ge('[my-id=header]').setAttribute('style','top: -60px;');ge('[class^=footerbox]').setAttribute('style','display:none;')}else{ge('[my-id=header]').removeAttribute('style');ge('[class^=footerbox]').removeAttribute('style')}};if(hasTouchEvents()===false){document.addEventListener('wheel',toggleToolbar);document.addEventListener('DOMMouseScroll',toggleToolbar)}ge('[class^=pictures]').addEventListener('click',()=>{let t=ge('[my-id=header][style]');if(t){ge('[my-id=header]').removeAttribute('style');ge('[class^=footerbox]').removeAttribute('style')}else{ge('[my-id=header]').setAttribute('style','top: -60px;');ge('[class^=footerbox]').setAttribute('style','display:none;')}})}},200);",
"nextLinkByJs": "let next=doc.querySelector('[class^=picnexta]>a');if(next&&next.dataset.url)return next.dataset.url",
"pageElement": "[class^=pictures]>img[data-src],[class^=needfee]",
"replaceElement": "[class^=footerbox] li:nth-child(n+3):nth-child(-n+6)",
"pageInit": "document.querySelector('h1').outerHTML=doc.querySelector('h1').outerHTML;let na=document.querySelector('[class^=picnexta]');let a=null;if(na){a=na.querySelector('a')}let rna=doc.querySelector('[class^=picnexta]');let ra=null;if(rna){ra=rna.querySelector('a')}if(ra!=null&&ra.dataset.url){a.dataset.url=ra.dataset.url;a.innerHTML=ra.innerHTML}else if(rna){na.innerHTML=rna.innerHTML}let needfee=doc.querySelector('[class^=needfee]');if(needfee){let css=Array.from(doc.querySelectorAll('style')).find(s=>s.innerHTML.search(/needfee/)>-1).innerHTML;let style=document.createElement('style');style.id='PagetualStyle';style.innerHTML=css;document.head.appendChild(style)}",
"pageAction": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar a').forEach(e=>{if(/pi=/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('[class^=pictures]>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}};setTimeout(()=>{gae('div[class^=picnexta],[class^=footerbox] li:nth-child(n+3):nth-child(-n+6)').forEach(e=>{e.addEventListener('click',()=>{let a=e.querySelector('a');if(a&&a.dataset.url){location.replace(a.dataset.url)}})});ge('[class^=footerbox] li:nth-child(7)').addEventListener('click',()=>{location.replace('https://18p.fun/book/'+window.$_curChap.bookid)})},200)",
"pageBarText": "let t=doc.querySelector('h1');if(t)return t.innerText.split('\"')[2].replace(/第\\d+页?頁?$/,'').trim();"
},
{
"name": "開車漫画 - 分類",
"author": "skofkyo",
"example": "https://18p.fun/library/?cid=3&tid=1702",
"url": "^https?://18p\\.fun/",
"include": ".loadmore",
"init": "let gae=e=>document.querySelectorAll(e);let openInNewTab=()=>gae('#itemlist li>a:not([target=_blank])').forEach(a=>{a.setAttribute('target','_blank')});let setImgSrc=()=>gae('img.lazy[src$=svg]').forEach(img=>{img.src=img.dataset.src});openInNewTab();setImgSrc();new MutationObserver(()=>{openInNewTab();setImgSrc()}).observe(document.body,{childList:true,subtree:true});",
"loadMore": ".loadmore>button",
"css": ".page{display:none!important}.loadmore{display:block!important}"
},
{
"name": "大树漫画/世伦漫画 - 閱讀",
"author": "skofkyo",
"example": "https://www.dashumanhua.com/comic/douluodalu5zhongshengtangsan/read-0.html",
"url": "^https?://(www\\.dashumanhua\\.com|www\\.shilunart\\.com)/comic/[^/]+/read-\\d+\\.html",
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let m=code.match(/eval.+\\)\\)/)[0].slice(4);let imgData=eval(eval(m).slice(12,-1));let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);$('head').append('<style>#pre-loading+#pic-list>img:nth-child('+imgData.length+')~* {display:none!important}</style>')",
"nextLink": "//a[text()='下一话' and not(contains(@href,'--1'))]",
"pageElement": "#pic-list",
"replaceElement": "head>title,h2,.prev,.huiname,.next,.setnmh-pagedos",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let m=code.match(/eval.+\\)\\)/)[0].slice(4);let imgData=eval(eval(m).slice(12,-1));let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);let c=gae('#pic-list');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{ge('.prev>a').href=ge('.prev>.tandiv>a').href;let n=ge('.next>.tandiv>a');if(n){ge('.next>a').href=n.href;ge('.next>a+span').remove();ge('a[v-if=booknext]+span').remove()}else{ge('div[v-if=booknext]').remove();ge('.next>a').classList.add('hui')}},100)",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let m=code.match(/eval.+\\)\\)/)[0].slice(4);let imgSrcArr=eval(eval(m).slice(12,-1));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.setnmh-bookname>h2');if(t)return t.innerText",
"rate": 3,
"css": "#pic-list img{box-shadow:none!important}.setnmh-seebox>*:first-child:not(.loading-box),.loading-box,.aboutmh>*:last-child{display:none!important}"
},
{
"name": "大树漫画 - 分類",
"author": "skofkyo",
"example": "https://www.dashumanhua.com/category/all/",
"url": "^https?://www\\.dashumanhua\\.com/",
"nextLink": "//a[text()='下页']",
"pageElement": "//dt[div[@class='img']/a/img[@alt]]",
"replaceElement": ".mypage"
},
{
"name": "嗨皮漫畫 - 閱讀 - 禁用",
"author": "skofkyo",
"example": "https://m.happymh.com/manga/shishijilingdishejishi",
"url": "^https?://m\\.happymh\\.com/reads/",
"enable": "0"
},
{
"name": "包子漫畫分類 - 漫畫在新分頁打開",
"author": "skofkyo",
"example": "https://www.webmota.com/",
"url": "^https?://[^/]+/",
"include": [
"//title[contains(text(),'包子漫畫') or contains(text(),'包子漫画')]",
".comics-card"
],
"exclude": [
".comic-contain",
".comics-detail"
],
"init": "let openInNewTab=()=>document.querySelectorAll('.comics-card a:not([target=_blank])').forEach(a=>{a.setAttribute('target','_blank')});openInNewTab();new MutationObserver(()=>{openInNewTab()}).observe(document.body,{childList:true,subtree:true});"
},
{
"name": "包子漫畫 - 閱讀",
"author": "skofkyo",
"example": "https://www.kukuc.co/comic/chapter/dawangraoming-yuedongwenhua/0_0.html",
"url": "^https?://[^/]+/comic/chapter/[^/]+/\\w+\\.html",
"include": [
"//title[contains(text(),'包子漫畫') or contains(text(),'包子漫画')]",
".chapter-main.scroll-mode>.comic-contain amp-img>img[amp-img-id]"
],
"history": 2,
"action": 1,
"pinUrl": true,
"init": "let gae=e=>document.querySelectorAll(e);let E=gae('.comic-contain')[0];let F=new DocumentFragment();let imgs=gae('.comic-contain amp-img');imgs.forEach(e=>{let img=new Image();img.className='comic-contain__item';img.src=e.getAttribute('src');F.appendChild(img)});E.innerHTML='';E.appendChild(F);let loop=setInterval(()=>{let set=document.querySelector('#interstitial_fade');if(set){clearInterval(loop);set.remove()}},100);setTimeout(()=>{if(loop)clearInterval(loop)},5000)",
"nextLink": "#next-chapter",
"pageElement": ".comic-contain",
"replaceElement": "//head/title | //span[@class='title'] | //div[@class='comic-chapter']/div[@class='next_chapter'] | //div[@class='bottom-bar']",
"pageInit": "let gae=e=>doc.querySelectorAll(e);let E=gae('.comic-contain')[0];let F=new DocumentFragment();let imgs=gae('.comic-contain amp-img');imgs.forEach(e=>{let img=new Image();img.className='comic-contain__item';img.src=e.getAttribute('src');F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar a').forEach(e=>{if(/\\/\\d+_\\d+_\\d+\\.html$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>10){ps[0].remove();let ds=gae('.chapter-main>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('span.title');if(t)return t.innerText",
"css": ".mobadsq{display:none!important}ul{margin-block-start:-2px!important;margin-block-end:2px!important}.pagetual_pageBar{margin-top:7px!important}"
},
{
"name": "COLAMANGA - 閱讀",
"author": "skofkyo",
"example": "https://www.colamanga.com/manga-rk63083/1/3.html",
"url": "^https?://www\\.colamanga\\.com/",
"include": ".mh_comicpic",
"action": 2,
"pinUrl": true,
"css": ".mh_wrap{width:100%!important;min-width:100%!important}"
},
{
"name": "COLAMANGA - 分類/搜索",
"author": "skofkyo",
"example": "https://www.colamanga.com/show?orderBy=update",
"url": "^https?://www\\.colamanga\\.com/(show|search)",
"init": "let w = document.querySelector(`h2 a[href*='weeklyCount']`); if (!location.search) w.click()",
"nextLinkByJs": "let next=doc.querySelector('.fed-page-info a.fed-btns-green+a[onclick]');if(next)return location.origin+location.pathname+location.search.replace(/&page=\\d+$/,'')+'&page='+next.innerText",
"pageElement": "//div[contains(@class,'fed-list-head')]/following-sibling::ul[li/a/span] | //dl[dt/a/span]",
"pageInit": "doc.querySelectorAll('a[data-original]').forEach(a=>{a.style.backgroundImage=`url('${a.dataset.original}')`})",
"replaceElement": ".fed-page-info"
},
{
"name": "看漫画手機版 - 閱讀",
"author": "skofkyo",
"example": "https://m.manhuagui.com/comic/30278/405998.html",
"url": "^https?://m\\.manhuagui\\.com/comic/\\d+/\\d+\\.html",
"history": 2,
"init": "$('body').append('<div class=\"goback\" title=\"返回頂部\" onclick=\"window.scrollTo({top: 0})\" style=\"background: url(/images/bg_main.png) -258px -80px no-repeat;opacity:0.3;position:fixed;left:50%;margin-left:-20px;bottom:0px;width:40px;height:40px;\"></div>');let ge=e=>document.querySelector(e);let str=`var imagesObserver=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{if(entry.isIntersecting){observer.unobserve(entry.target);let realSrc=entry.target.dataset.src,nE=entry.target.nextElementSibling;if(realSrc){entry.target.src=realSrc;}if(nE&&nE.tagName=='IMG'&&nE.dataset.src){nE.src=nE.dataset.src;}}})});var loading_bak='data:image/png;base64,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';`;let script=document.createElement('script');script.type='text/javascript';script.innerHTML=str;ge('body').appendChild(script);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(10,-11);let imgData=eval(imgDataCode);let loop=setInterval(()=>{let set=ge('#manga img');if(set){clearInterval(loop);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.images.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=`${domain+e}?e=${imgData.sl.e}&m=${imgData.sl.m}`;imagesObserver.observe(img);F.appendChild(img)});let E=ge('#manga');E.innerHTML='';E.appendChild(F);let n=ge(\"a[data-action='chapter.next']\");if(imgData.nextId==0){n.href=location.pathname.replace(/\\d+\\.html$/,'');n.innerText='返回目录'}}},100)",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(10,-11);let imgData=eval(imgDataCode);let n=imgData.nextId;if(n!=0)return location.href.replace(/\\d+\\.html$/,'')+n+'.html';",
"pageElement": "//script[contains(text(),'x6c')]",
"insert": "#manga",
"insertPos": 2,
"replaceElement": "#mangaTitle",
"pageInit": "let ge=e=>document.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(10,-11);let imgData=eval(imgDataCode);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.images.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=`${domain+e}?e=${imgData.sl.e}&m=${imgData.sl.m}`;imagesObserver.observe(img);F.appendChild(img)});let E=ge('#manga');E.appendChild(F);let n=ge(\"a[data-action='chapter.next']\");if(imgData.nextId==0){n.href=location.pathname.replace(/\\d+\\.html$/,'');n.innerText='返回目录'}",
"pageAction": "let gae=e=>document.querySelectorAll(e);let titles=gae('.pagetual_pageBar');if(titles.length>10){titles[0].remove();let removes=gae('#manga>*');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"pageBarText": "let t=doc.querySelector('#mangaTitle');if(t)return t.innerHTML.replace(/<.+>\\s?/g,'')",
"css": ".action-list li{width:50%!important}#action>ul>li:nth-child(n+2):nth-child(-n+3),.manga-page,.clickforceads{display:none!important}.manga-box img{border-top:0px!important;border-bottom:0px!important}"
},
{
"name": "看漫画手機版 - 最新更新/排行榜/書架/搜索/漫画大全 檢視下20條記錄 - 漫畫在新分頁打開",
"author": "skofkyo",
"example": "https://m.manhuagui.com/list/update.html",
"url": "^https?://m\\.manhuagui\\.com/",
"exclude": [
"#manga",
"#chapter"
],
"init": "let openInNewTab=()=>document.querySelectorAll('.top-slider-wrap a,.main-list a:not([target=_blank]),.cont-list a:not([target=_blank])').forEach(a=>{a.setAttribute('target','_blank')});openInNewTab();new MutationObserver(()=>{openInNewTab()}).observe(document.body,{childList:true,subtree:true});",
"loadMore": "#more:not([style*='none'])>.more-go",
"css": ".clickforceads{display:none!important}"
},
{
"name": "看漫画 - 閱讀",
"author": "skofkyo",
"example": "https://www.manhuagui.com/comic/30278/405998.html",
"url": "^https?://(tw|www)\\.manhuagui\\.com/comic/\\d+/\\d+\\.html",
"history": 2,
"init": "let ge=e=>document.querySelector(e);let str=`var imagesObserver=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{if(entry.isIntersecting){observer.unobserve(entry.target);let realSrc=entry.target.dataset.src,nE=entry.target.nextElementSibling;if(realSrc){entry.target.src=realSrc;}if(nE&&nE.tagName=='IMG'&&nE.dataset.src){nE.src=nE.dataset.src;}}})});var loading_bak='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAJYCAAAAACbDccAAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAACYktHRAD/h4/MvwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+cDDhUEC4m58W4AAAABb3JOVAHPoneaAAAF+UlEQVR42u3SQQkAMAzAwPo3MatVEQblTkEemQeB+R3ATcYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBLGImEsEsYiYSwSxiJhLBILoeSc6MiLXg0AAAAldEVYdGRhdGU6Y3JlYXRlADIwMjMtMDMtMTRUMjE6MDM6NDcrMDA6MDBTB1yAAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIzLTAzLTE0VDIxOjAzOjQ3KzAwOjAwIlrkPAAAACh0RVh0ZGF0ZTp0aW1lc3RhbXAAMjAyMy0wMy0xNFQyMTowNDoxMSswMDowMLyj5cQAAAAASUVORK5CYII=';`;let script=document.createElement('script');script.type='text/javascript';script.innerHTML=str;ge('body').appendChild(script);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(11,-11);let imgData=eval(imgDataCode);let loop=setInterval(()=>{let set=ge('.pr.tbCenter.cb img');if(set){clearInterval(loop);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.files.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=`${domain+imgData.path+e}?e=${imgData.sl.e}&m=${imgData.sl.m}`;imagesObserver.observe(img);F.appendChild(img)});let E=ge('.pr.tbCenter.cb');E.innerHTML='';E.appendChild(F)}},100)",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(11,-11);let imgData=eval(imgDataCode);let n=imgData.nextId;if(n!=0)return location.href.replace(/\\d+\\.html$/,'')+n+'.html';",
"pageElement": "//script[contains(text(),'x6c')]",
"insert": ".pr.tbCenter.cb",
"insertPos": 2,
"replaceElement": ".title h2",
"pageInit": "let ge=e=>document.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(11,-11);let imgData=eval(imgDataCode);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.files.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=`${domain+imgData.path+e}?e=${imgData.sl.e}&m=${imgData.sl.m}`;imagesObserver.observe(img);F.appendChild(img)});let E=ge('.pr.tbCenter.cb');E.appendChild(F);let pc=ge('.btn-red.prevC');let curl=location.href.replace(/\\d+\\.html.*/,'');let purl=curl+imgData.prevId+'.html';let nurl=curl+imgData.nextId+'.html';pc.href=purl;pc.removeAttribute('onclick');let p=ge('.btn-red.prev');p.href=purl;p.removeAttribute('onclick');if(imgData.nextId!=0){ge('.btn-red.nextC').href=nurl;let n=ge('.btn-red.next+a');n.href=nurl;n.removeAttribute('onclick')}else{ge('.btn-red.nextC').href=curl;let n=ge('.btn-red.next+a');n.href=curl;n.innerText=ge('#viewList').innerText;n.removeAttribute('onclick')}",
"pageAction": "let gae=e=>document.querySelectorAll(e);let titles=gae('.pagetual_pageBar');if(titles.length>10){titles[0].remove();let removes=gae('.pr.tbCenter.cb>*');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"pageBarText": "let t=doc.querySelector('h2');if(t)return t.innerText",
"css": ".title>div:not(.fr)>span,#pageSelect,.main-btn>a[href^='j'],.pager>a[href*='goPage'],.pager>span{display:none!important}.pr.tbCenter.cb>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "看漫画 - 分類",
"author": "skofkyo",
"example": "https://www.manhuagui.com/list/lianzai/",
"url": "^https?://(www|tw)\\.manhuagui\\.com/list/",
"nextLink": "span.current+a",
"pageElement": "#contList",
"replaceElement": ".pager-cont,.result-count",
"css": ".pagetual_pageBar{margin-top:-10px!important}"
},
{
"name": "漫畫屋 - 閱讀",
"author": "skofkyo",
"example": "https://mh5.tw/series-wunalfy-484928-1-%E4%B8%8D%E5%B9%B8%E8%81%B7%E6%A5%AD%E7%9A%84%E5%B9%B8%E9%81%8B?",
"url": "^https?://mh5\\.tw/series",
"pinUrl": true,
"nextLinkByJs": "let ge=e=>doc.querySelector(e);let np=ge('.num>.cur+a');let nc=ge('.next>a:not(.hui)');let c=ge('.num>.cur').innerText;let m=ge('.num>a:last-child').innerText-1;if(c!=m){return np.href}else if(nc){return nc.href}else return;",
"pageElement": ".ptview>img:not([style])",
"replaceElement": ".setnmh-pagedos",
"pageAction": "let gae=e=>document.querySelectorAll(e);let d=gae('img[alt][style]')[0];if(d)d.remove();gae('.pagetual_pageBar>a').forEach(e=>{if(!/-1-/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('.ptview>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('h2');if(t)return t.innerText.replace(/\\(\\d+P\\)/,'')",
"rate": 10,
"css": ".setnmh-seebox img{max-width: 100% !important;display: block !important;margin: 0 auto !important;box-shadow:none!important}.setnmh-seebox{width:auto !important;max-width:800px !important}.num>a:last-child{display:none!important}"
},
{
"name": "漫畫屋 - 分類",
"author": "skofkyo",
"example": "https://mh5.tw/allcartoonlist",
"url": "^https?://mh5\\.tw/allcartoonlist",
"nextLink": "a.cur+a",
"pageElement": "dl.alllist",
"replaceElement": "div.num",
"css": ".pagetual_pageBar{margin-bottom:0px!important}.pagetual_pageBar+dl{margin-top:-10px!important}"
},
{
"name": "Xmanhua - 手機版閱讀",
"author": "skofkyo",
"example": "https://xmanhua.com/m10344/",
"url": "^https?://(www\\.)?xmanhua\\.com/m\\d+(-p\\d+)?/",
"include": ".bottom-bar",
"history": 2,
"pinUrl": true,
"init": "document.querySelectorAll('img[data-src]').forEach(img=>{img.src=img.dataset.src});",
"nextLink": "//a[text()='下一章']",
"pageElement": "#cp_img",
"replaceElement": ".top-title,.bottom-bar,.toast-win,head>title",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgData=eval(eval(code.trim().slice(4)).slice(12));let E=doc.querySelector('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);let c=gae('#cp_img');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{let m=document.title.match(/([^_]+)_([^_]+)/);let t=ge('.top-title');t.innerText=m[1].replace('漫畫','')+'_'+m[2]},100);let cs=gae('#cp_img');let last=cs.length-1;cs[last].addEventListener('click',()=>{let t=ge('body.toolbar');if(t){$('body').removeClass('toolbar')}else{$('body').addClass('toolbar')}});",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgSrcArr=eval(eval(code.trim().slice(4)).slice(12));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.top-title');if(t)return t.innerText.replace(/XManhua\\?.+\\?/,'')"
},
{
"name": "Mangabz - 手機版閱讀",
"author": "skofkyo",
"example": "https://www.mangabz.com/m38701/",
"url": "^https?://(www\\.)?mangabz\\.com/m\\d+(-p\\d+)?/",
"include": ".bottom-bar",
"history": 2,
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let b=ge('body.viewbody');if(b){b.innerHTML=b.innerHTML.replace('<!--','').replace('-->','');setTimeout(()=>{$('.top-bar-tool').removeAttr('style');$('.bottom-bar').removeAttr('style')},0)}function showtoolbar(){let t=ge('body.toolbar');if(t){$('body').removeClass('toolbar')}else{$('body').addClass('toolbar')}};document.addEventListener('click',showtoolbar);document.querySelectorAll('img[data-src]').forEach(e=>{e.src=e.dataset.src});",
"nextLink": "//a[text()='下一章']",
"pageElement": "#cp_img",
"replaceElement": ".bottom-bar,.toast-win,head>title",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgData=eval(eval(code.trim().slice(4)).slice(12));let E=ge('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#cp_img');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{let m=document.title.match(/([^_]+)_([^_]+)/);let t=document.querySelector('.top-title');t.innerText=m[1].replace('漫畫','')+'_'+m[2];$('.bottom-bar').removeAttr('style')},100);",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgSrcArr=eval(eval(code.trim().slice(4)).slice(12));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('title');if(t)return t.innerText.match(/_(.+)_/)[1]"
},
{
"name": "Xmanhua - PC版閱讀",
"author": "skofkyo",
"example": "https://xmanhua.com/m10344/",
"url": "^https?://(www\\.)?xmanhua\\.com/m\\d+(-p\\d+)?/",
"include": ".reader-bottom-page-list",
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img>img');if(set){clearInterval(loop);ge('#cp_img').innerHTML=ge('#cp_img>img').outerHTML;ge('#showimage').removeAttribute('style');}},100);function showtoolbar(){let t=ge('.header.toolbar');if(t){$('.header').removeClass('toolbar');$('.header').removeAttr('style')}else{$('.header').addClass('toolbar');$('.header').attr('style','top: -64px;')}let b=ge('.reader-bottom.toolbar');if(b){$('.reader-bottom').removeClass('toolbar');$('.reader-bottom').removeAttr('style')}else{$('.reader-bottom').addClass('toolbar');$('.reader-bottom').attr('style','bottom: -50px;')}};document.addEventListener('click',showtoolbar);function hidetoolbar(){var e=e||window.event;if(e.wheelDelta<0||e.detail>0){$('.header').addClass('toolbar');$('.header').attr('style','top: -64px;');$('.reader-bottom').addClass('toolbar');$('.reader-bottom').attr('style','bottom: -50px;')}else{$('.header').removeClass('toolbar');$('.header').removeAttr('style');$('.reader-bottom').removeClass('toolbar');$('.reader-bottom').removeAttr('style')}};document.addEventListener('wheel',hidetoolbar);document.addEventListener('DOMMouseScroll',hidetoolbar);function keyhidetoolbar(e){let key=window.event?e.keyCode:e.which;if(key=='34'||key=='32'||key=='40'){$('.header').addClass('toolbar');$('.header').attr('style','top: -64px;');$('.reader-bottom').addClass('toolbar');$('.reader-bottom').attr('style','bottom: -50px;')}else{$('.header').removeClass('toolbar');$('.header').removeAttr('style');$('.reader-bottom').removeClass('toolbar');$('.reader-bottom').removeAttr('style')}};document.addEventListener('keydown',keyhidetoolbar);",
"nextLinkByJs": "let m=doc.querySelector('.relative>a').innerText.match(/(\\d+)\\/(\\d+)/);let nc=doc.querySelector('img[src*=right-2]');if(m[1]!=m[2]){let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/XMANHUA_CURL/)>-1).innerHTML;let c=eval(code.match(/XMANHUA_CURL[^;]+/)[0]);let url=location.origin+c;let next=url.replace(/(-p\\d+)?\\/$/,'')+'-p'+(parseInt(m[1])+1)+'/';return next}else if(nc&&nc.parentNode){if(/javascript/.test(nc.parentNode.href)){return;}else{return nc.parentNode.href}}",
"pageElement": "#cp_img>img",
"replaceElement": ".container",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-p\\d+\\/$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.reader-title>a:last-child');if(t)return t.innerText.trim()",
"rate": 5,
"css": ".container{width:auto!important}#cp_img img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}.reader-img-con{padding:64px 0 50px !important;}"
},
{
"name": "Mangabz - PC版閱讀",
"author": "skofkyo",
"example": "https://www.mangabz.com/m38701/",
"url": "^https?://(www\\.)?mangabz\\.com/m\\d+(-p\\d+)?/",
"include": ".container",
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img>img');if(set){clearInterval(loop);ge('#cp_img').innerHTML=ge('#cp_img>img').outerHTML}},100);function hidetoolbar(){var e=e||window.event;if(e.wheelDelta<0||e.detail>0){$('.top-bar').attr('style','top: -74px;')}else{$('.top-bar').removeAttr('style')}};document.addEventListener('wheel',hidetoolbar);document.addEventListener('DOMMouseScroll',hidetoolbar);function keyhidetoolbar(e){let key=window.event?e.keyCode:e.which;if(key=='34'||key=='32'||key=='40'){$('.top-bar').attr('style','top: -74px;')}else{$('.top-bar').removeAttr('style')}};document.addEventListener('keydown',keyhidetoolbar);",
"nextLinkByJs": "let m=doc.querySelector('[class^=bottom-page]').innerText.match(/(\\d+)-(\\d+)/);let nc=doc.querySelector('img[src*=xiayizhang]');if(m[1]!=m[2]){let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/MANGABZ_CURL/)>-1).innerHTML;let c=eval(code.match(/MANGABZ_CURL[^;]+/)[0]);let url=location.origin+c;let next=url.replace(/(-p\\d+)?\\/$/,'')+'-p'+(parseInt(m[1])+1)+'/';return next}else if(nc&&nc.parentNode){if(/javascript/.test(nc.parentNode.href)){return;}else{return nc.parentNode.href}}",
"pageElement": "#cp_img>img",
"replaceElement": ".container",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-p\\d+\\/$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.top-title');if(t)return t.innerText.trim()",
"rate": 5,
"css": "a[href^='j']{display:none!important}.container{width:auto!important}#cp_img img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "Mangabz / Xmanhua - 分類",
"author": "skofkyo",
"example": "https://www.mangabz.com/manga-list-0-0-0/,https://xmanhua.com/manga-list-0-0-0/",
"url": "^https?://(www\\.)?(mangabz|xmanhua)\\.com/(manga-list|search)",
"nextLink": "//div[contains(@class,'page-pagination')]//a[contains(text(), '>')]",
"pageElement": "ul.mh-list",
"replaceElement": ".page-pagination",
"css": ".mh-list{padding-bottom:0px!important}.pagetual_pageBar+.mh-list{padding-top:10px!important}.pagetual_pageBar{margin-top:0px!important}"
},
{
"name": "動漫狂 - 閱讀",
"author": "skofkyo",
"example": "https://cc.fun8.us/post/438700022035001.html",
"url": "^https?://cc\\.fun8\\.us/post/\\d+\\.html",
"history": 2,
"init": "document.onkeydown=null;let ge=e=>document.querySelector(e);let imgDir=ge('img[onload],img[oncontextmenu]').src.match(/.+\\//)[0];let max=ge('.onpage').parentNode.lastElementChild.previousElementSibling.innerText;let F=new DocumentFragment();for(let i=1;i<=max;i++){let imgSrc=imgDir+String(i).padStart(3,'0')+'.jpg';let img=new Image();img.className='PagetualImg';img.src=imgSrc;F.appendChild(img)};let E=ge('img[oncontextmenu]').parentNode.parentNode;E.innerHTML='';E.appendChild(F);",
"nextLink": "//td[@width='150' and a[img[@src='/image/rad.gif']]]/a | //a[b]",
"pageElement": "//script[contains(text(),'googletag.display')]",
"replaceElement": "head>title",
"insert": "//td[img[@class='PagetualImg']] | //td[a[img[@oncontextmenu]]]",
"insertPos": 2,
"pageAction": "let docge=e=>doc.querySelector(e);let ge=e=>document.querySelector(e);let imgDir=docge('img[onload],img[oncontextmenu]').src.match(/.+\\//)[0];let max=docge('.onpage').parentNode.lastElementChild.previousElementSibling.innerText;let E=ge('.PagetualImg').parentNode;let F=new DocumentFragment();for(let i=1;i<=max;i++){let imgSrc=imgDir+String(i).padStart(3,'0')+'.jpg';let img=new Image();img.className='PagetualImg';img.src=imgSrc;F.appendChild(img)};E.appendChild(F);",
"pageBarText": "return doc.title",
"css": ".PagetualImg{max-width: 100% !important;display: block !important;margin: 0 auto !important;}td[valign='top'][width='160'],td[width='12'],select[name],body>table>tbody>tr:nth-child(5){display:none!important}"
},
{
"name": "動漫狂 - 分類",
"author": "skofkyo",
"example": "https://www.cartoonmad.com/hotrank.html",
"url": "^https?://www\\.cartoonmad\\.(cc|com)/(hotrank|topcm|newcm|comic\\d+)(\\.\\d+)?\\.html",
"nextLink": "a.onpage+a",
"pageElement": "//table[tbody/tr/td/table/tbody/tr/td/a/span[@class='covers']]",
"replaceElement": "td[align='right']>table:last-child",
"css": ".pagetual_pageBar{margin-bottom:0px!important}"
},
{
"name": "漫画人 / dm5 動漫屋 / 極速漫畫 - 手機版 - 漫畫在新分頁打開",
"author": "skofkyo",
"example": "https://m.dm5.com/",
"url": "^https?://(www\\.manhuaren|m\\.dm5|m\\.1kkk)\\.com/",
"exclude": [
"#cp_img",
"#tempc"
],
"init": "let openInNewTab=()=>document.querySelectorAll('.swiper-wrapper a:not([target=_blank]),.manga-list a:not([target=_blank]),.rank-list a:not([target=_blank])').forEach(a=>{a.setAttribute('target','_blank')});openInNewTab();new MutationObserver(()=>{openInNewTab()}).observe(document.body,{childList:true,subtree:true});"
},
{
"name": "漫画人 / dm5 動漫屋 / 極速漫畫 - 手機版閱讀",
"author": "skofkyo",
"example": "https://www.manhuaren.com/manhua-list-s2/,https://www.manhuaren.com/m198122/,https://m.dm5.com/m1331307/,https://m.1kkk.com/ch1063-1331307/,https://m.1kkk.com/vol1-4761/",
"url": "^https?://(www|m)\\.(manhuaren|1kkk|dm5)\\.(com|cn)/(m|ch|vol|other)[-_0-9]+/$",
"exclude": ".view-paging",
"history": 2,
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img img');if(set){clearInterval(loop);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML.slice(4,-1);let imgData=eval(eval(code).replace('var',''));let E=ge('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F)}},100)",
"nextLinkByJs": "let gx=x=>doc.evaluate(x,doc,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;let next=gx(\"//ul[@class='view-bottom-bar']//a[text()='下一章' and not(contains(@href,'-end'))]\");if(next)return location.origin+next.href.split(\"'\")[1]",
"pageElement": "#cp_img",
"replaceElement": "head>title,.view-fix-top-bar-title,ul.view-bottom-bar,.view-fix-bottom-bar",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML.slice(4,-1);let imgData=eval(eval(code).replace('var',''));let E=doc.querySelector('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let cs=gae('#cp_img');let last=cs.length-1;cs[last].addEventListener('click',()=>{let t=document.querySelector('body.toolbar');if(t){$('body').removeClass('toolbar')}else{$('body').addClass('toolbar')}});let c=gae('#cp_img');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{gae('a[href*=pushHistory]').forEach(a=>{a.href=a.href.split(\"'\")[1]})},300);",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML.slice(4,-1);let imgSrcArr=eval(eval(code).replace('var',''));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('title');if(t)return t.innerText.match(/_([^_]+)/)[1]",
"css": ".view-bottom-bar>li:nth-child(n+2):nth-child(-n+3),.view-fix-bottom-bar>a:nth-child(2),.guide{display:none!important}.view-bottom-bar li{width:50%!important}.view-fix-bottom-bar>a{width:25%!important}"
},
{
"name": "極速漫畫 - PC版單行本閱讀",
"author": "skofkyo",
"example": "https://www.1kkk.com/vol1-4761/",
"url": "^https?://(www|hk)\\.1kkk\\.com/vol[-_0-9]+/$",
"include": "#chapterpager",
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img img');if(set){clearInterval(loop);document.body.style.overflow='scroll';ge('#cp_img').innerHTML='';let pcData=async(page)=>{if(page>DM5_IMAGE_COUNT){return}if(!mkey){var mkey=''}let apiUrl=location.href+'chapterfun.ashx'+`?cid=${DM5_CID}&page=${page}&key=${mkey}&language=1>k=6&_cid=${DM5_CID}&_mid=${DM5_MID}&_dt=${DM5_VIEWSIGN_DT}&_sign=${DM5_VIEWSIGN}`;let res=await fetch(apiUrl);let resText=await res.text();let imgSrc=await eval(resText)[0];let img=new Image();img.src=imgSrc;ge('#cp_img').appendChild(img);page++;pcData(page)};pcData(1)}},100)",
"nextLink": "//a[text()='下一章']",
"manualMode": true,
"css": "a[href^='j'],.chapterpager,.view-comment{display:none!important}#cp_img>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}.container{width:auto!important}"
},
{
"name": "dm5 動漫屋 / 極速漫畫 - PC版閱讀",
"author": "skofkyo",
"example": "https://www.dm5.com/m1331307/,https://www.1kkk.com/ch1063-1331307/",
"url": "^https?://(www|tel|en|cnc)?\\.?(dm5|1kkk)\\.(com|cn)/(m|ch)[-_0-9]+/$",
"include": "#chapterpager",
"pinUrl": true,
"init": "let ge=(e)=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img>img');if(set){clearInterval(loop);ge('body').removeAttribute('style');ge('#cp_img').innerHTML=ge('#cp_img>img').outerHTML}},100);",
"nextLinkByJs": "let ge=(e)=>doc.querySelector(e);let gx=x=>doc.evaluate(x,doc,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;let c=ge('.chapterpager>span.current').innerText;let m=ge('.chapterpager>*:last-child').innerText;let nc=gx(\"//a[text()='下一章']\");if(c!=m){let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/DM5_CURL/)>-1).innerHTML;let dc=eval(code.match(/DM5_CURL[^;]+/)[0]);let url=location.origin+dc;let next=url.replace(/(-p\\d+)?\\/$/,'')+'-p'+(parseInt(c)+1)+'/';return next}else if(nc){return nc.href}else{return null}",
"pageElement": "#cp_img>img",
"replaceElement": ".container",
"pageAction": "let gae=(e)=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-p\\d+\\/$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.active');if(t)return t.innerText.trim()",
"rate": 10,
"css": "a[href^='j'],.chapterpager{display:none!important}#cp_img>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}.container{width:auto!important}"
},
{
"name": "dm5 動漫屋 / 極速漫畫 - 分類",
"author": "skofkyo",
"example": "https://www.dm5.com/manhua-list/,https://www.1kkk.com/manhua-list/",
"url": "^https?://(www|tel|en|cnc|hk)?\\.?(dm5|1kkk)\\.(com|cn)/manhua-([a-z]+/|list-area|list-tag|list-char)",
"init": "document.querySelectorAll('.cat-filter a').forEach(a=>{a.setAttribute('onclick','setTimeout(()=>{location.reload()}, 1000)')})",
"nextLink": "//a[text()=' > ']",
"pinUrl": true,
"pageElement": ".box-body",
"replaceElement": ".page-pagination"
},
{
"name": "無限動漫 - 動漫大全",
"author": "skofkyo",
"example": "https://www.8comic.com/list/all_all_all/",
"url": "^https?://www\\.8comic\\.com/list/",
"nextLink": "//a[span/@class='mdi mdi-skip-next']",
"pageElement": "a.comicpic_col6",
"replaceElement": ".pager"
},
{
"name": "無限動漫 - 分類",
"author": "skofkyo",
"example": "https://www.8comic.com/comic/u-1.html",
"url": "^https?://www\\.8comic\\.com/comic/[a-z0-9-]+\\.html",
"nextLink": "//a[span/@class='mdi mdi-skip-next']",
"pageElement": ".row>div:has(>div.cat2_list)",
"replaceElement": ".pager",
"css": ".pagetual_pageBar{margin-top:-14px!important}"
},
{
"name": "無限動漫 - 圖庫原圖瀏覽",
"author": "skofkyo",
"example": "https://www.8comic.com/photo/p6041.html?n=1",
"url": "^https?://www\\.8comic\\.com/photo/p[0-9-]+\\.html\\?n=\\d+$",
"init": "let total=document.querySelectorAll('#pageindex option').length;let imgSrc=new URL(document.querySelector('#TheImg').src).pathname;let html='';for(let i=1;i<=total;i++){let num=String(i).padStart(3,'0');let src=imgSrc.replace(/(\\d+)(\\.\\w)$/,`${num}$2`);html+=`<img name='TheImg'hspace='4'vspace='4'border='0'id='TheImg'src='${src}'>`}document.querySelector('.photo_main_div').innerHTML=html;",
"css": "#TheImg{margin:2px auto;display:block}",
"pinUrl": true
},
{
"name": "無限動漫 - 圖庫清單載入大圖",
"author": "skofkyo",
"example": "https://www.8comic.com/photo/6041.html",
"url": "^https?://www\\.8comic\\.com/photo/\\d+\\.html$",
"init": "document.querySelectorAll('#dl img').forEach(img=>{let f=img.src.replace('.jpe','.jpg');img.src=f})",
"pinUrl": true
},
{
"name": "無限動漫 - 圖庫分類",
"author": "skofkyo",
"example": "https://www.8comic.com/photo/3-1.html",
"url": "^https?://www\\.8comic\\.com/photo/[0-9-]+\\.html$",
"nextLink": "a:has(>.mdi-skip-next)",
"pageElement": ".row:has(>div>.cat2_list)",
"replaceElement": ".pager"
},
{
"name": "無限動漫 - 類別停止自動匹配",
"author": "skofkyo",
"example": "https://www.8comic.com/html/1/",
"url": "^https?://www\\.8comic\\.com/html/\\d+/$",
"enable": 0
},
{
"name": "砂之船动漫家 - 手機版閱讀",
"author": "skofkyo",
"example": "https://www.szcdmj.com/szcchapter/736400",
"url": "^https?://www\\.szcdmj\\.com/szcchapter/\\d+(\\?page=\\d+)?",
"include": ".view-bottom-bar",
"history": 2,
"pinUrl": true,
"nextLink": "//a[@href][text()='下一页' or text()='下一话']",
"pageElement": "#cp_img>img",
"replaceElement": ".view-bottom-bar,.view-fix-top-bar,.view-fix-bottom-bar",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/page=/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.view-fix-top-bar-title');if(t)return t.innerText",
"css": ".view-bottom-bar>li:nth-child(n+3):nth-child(-n+4),.view-fix-bottom-bar-item:nth-child(n+4):nth-child(-n+5){display:none!important}.view-fix-bottom-bar-item,.view-bottom-bar>li{width:33.33%!important}"
},
{
"name": "砂之船动漫家 / 土豪漫画 - PC版閱讀",
"author": "skofkyo",
"example": "https://www.szcdmj.com/szcchapter/736400,https://7hxy.com/chapter/968191?page=8&id=968191",
"url": "^https?://(www\\.)?(szcdmj|7hxy)\\.com/\\w{0,5}chapter/\\d+",
"include": ".read-section",
"history": 2,
"pinUrl": true,
"nextLink": "//a[@href][text()='下一页' or text()='下一话' or text()='下一章']",
"pageElement": ".comiclist>.comicpage",
"replaceElement": ".fanye",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/page=/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('.comiclist>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.title');if(t)return t.innerText.match(/\\s(.+)/)[1]",
"css": ".comiclist img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "砂之船动漫家 - 分類",
"author": "skofkyo",
"example": "https://www.szcdmj.com/szcbolist",
"url": "^https?://www\\.szcdmj\\.com/szcbolist",
"nextLink": "#nextPage,a[title='下一页'],li.active+li>a",
"pageElement": ".mh-list,.manga-list>ul",
"replaceElement": ".pagination",
"pageAction": "document.querySelectorAll('.mh-cover').forEach(e=>{e.style=e.getAttribute('style')})",
"css": ".mh-list+.pagetual_pageBar{margin-top:20px!important}.manga-list-2-cover-img{opacity: 1!important}"
},
{
"name": "来漫画 - 手機版閱讀",
"author": "skofkyo",
"example": "https://m.laimanhua88.com/kanmanhua/kaijujiangliyiyitiaoming/1684241122.html",
"url": "^https?://m\\.laimanhua88\\.com/kanmanhua/\\w+/\\d+\\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let E=ge('#manga');let F=new DocumentFragment();json.images.forEach(e=>{let img=new Image();img.src=realurl+json.path+e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let next=json.nextUrlid;if(next>0)return location.href.replace(/\\d+\\.html$/,'')+next+'.html';",
"pageElement": "#manga",
"replaceElement": "head>title,#mangaTitle",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let E=ge('#manga');let F=new DocumentFragment();json.images.forEach(e=>{let img=new Image();img.src=realurl+json.path+e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#manga');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let imgSrcArr=[];json.images.forEach(e=>{let imgSrc=realurl+json.path+e;imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('#mangaTitle');if(t)return t.innerHTML.replace(/.+<.+>/g,'').trim()",
"css": ".action-list li{width:50%!important}#action>ul>li:nth-child(n+2):nth-child(-n+3),.manga-page,[id^='jusha']{display:none!important}.manga-box img{border-top:0px!important;border-bottom:0px!important}"
},
{
"name": "来漫画 - 閱讀",
"author": "skofkyo",
"example": "https://www.laimanhua88.com/kanmanhua/kaijujiangliyiyitiaoming/1684241122.html",
"url": "^https?://www\\.laimanhua88\\.com/kanmanhua/\\w+/\\d+\\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let base64=eval(code.match(/picTree[^;]+/)[0]);let imgData=base64_decode(base64).split('$qingtiandy$');let host=getpicdamin();let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=encodeURI(host+e);F.appendChild(img)});E.innerHTML='';E.appendChild(F);$('head').append('<style>.loading-box+#pic-list>img:nth-child('+imgData.length+')~* {display:none!important}</style>')",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextUrlid/)>-1).innerHTML;let next=eval(code.match(/nextUrlid[^,]+/)[0]);if(next>0)return location.href.replace(/\\d+\\.html$/,'')+next+'.html'",
"pageElement": "#pic-list",
"replaceElement": "head>title,h1,#position>b",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let base64=eval(code.match(/picTree[^;]+/)[0]);let imgData=base64_decode(base64).split('$qingtiandy$');let host=getpicdamin();let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=encodeURI(host+e);F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#pic-list');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let base64=eval(code.match(/picTree[^;]+/)[0]);let imgData=base64_decode(base64).split('$qingtiandy$');let host=getpicdamin();let imgSrcArr=[];imgData.forEach(e=>{let imgSrc=encodeURI(host+e);imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('#position>b');if(t)return t.innerText",
"css": ".img_info{display:none!important}#pic-list>img{max-width: 100% !important;display: block !important;margin: 0 auto -2px auto !important;border:0px!important;padding:0px!important;}.w996,.tbCenter{width:auto!important}.pagetual_pageBar+.img-box{margin-top:0px!important}"
},
{
"name": "古风漫画网 - 手機版閱讀",
"author": "skofkyo",
"example": "https://m.gufengmh9.com/manhua/wokeyiwuxianzhaohuan/2042963.html",
"url": "^https?://m\\.gufengmh\\d?\\.com/manhua/[a-z]+/\\d+\\.html",
"history": 2,
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);ge('body>div:nth-child(1)').innerHTML=ge('#panel-title').innerHTML;ge('.iconRet').href=comicUrl;gae('.beforeChapter,.afterChapter').forEach(e=>{e.removeAttribute('onclick')});let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imghost=eval(code.match(/pageImage[^;]+/)[0]).match(/^https?:\\/\\/[^/]+\\//)[0];let imgPath=eval(code.match(/chapterPath[^;]+/)[0]);let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=imghost+imgPath+e;F.appendChild(img)});let E=ge('#images');E.innerHTML='';E.appendChild(F);let next=eval(code.match(/nextChapterData[^;]+/)[0]);let prev=eval(code.match(/prevChapterData[^;]+/)[0]);if(next.id>0){gae('.afterChapter').forEach(e=>{e.href=comicUrl+next.id+'.html'})}else{gae('.afterChapter').forEach(e=>{e.href=comicUrl;})}if(prev.id>0){gae('.beforeChapter').forEach(e=>{e.href=comicUrl+prev.id+'.html'})}",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextChapterData/)>-1).innerHTML;let next=eval(code.match(/nextChapterData[^;]+/)[0]);if(next.id>0)return comicUrl+next.id+'.html'",
"pageElement": "#images",
"pageInit": "let gae=e=>document.querySelectorAll(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imghost=eval(code.match(/pageImage[^;]+/)[0]).match(/^https?:\\/\\/[^/]+\\//)[0];let imgPath=eval(code.match(/chapterPath[^;]+/)[0]);let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=imghost+imgPath+e;F.appendChild(img)});let E=doc.querySelector('#images');E.innerHTML='';E.appendChild(F);let next=eval(code.match(/nextChapterData[^;]+/)[0]);let prev=eval(code.match(/prevChapterData[^;]+/)[0]);if(next.id>0){gae('.afterChapter').forEach(e=>{e.href=comicUrl+next.id+'.html'})}else{gae('.afterChapter').forEach(e=>{e.href=comicUrl;})}if(prev.id>0){gae('.beforeChapter').forEach(e=>{e.href=comicUrl+prev.id+'.html'})}",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#images');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imghost=eval(code.match(/pageImage[^;]+/)[0]).match(/^https?:\\/\\/[^/]+\\//)[0];let imgPath=eval(code.match(/chapterPath[^;]+/)[0]);let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let imgSrcArr=[];imgData.forEach(e=>{let imgSrc=imghost+imgPath+e;imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.BarTit');if(t)return t.innerText.trim()",
"css": "#images>img{max-width: 100% !important;display: block !important;margin: 0 auto -2px auto !important;border:0px!important;padding:0px!important;}body>div:nth-child(1) .iconRet{position:absolute;left:0px;width:45px;height:45px;top:-3px;display:block;background:url(https://m.gufengmh.com/assets/f0660635/images/bg_icon_ret.png) no-repeat 20px 14px;background-size:9px 17px}"
},
{
"name": "古风漫画网 - 手機版分類",
"author": "skofkyo",
…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[{
"name": "Woot",
"url": "^https?://www\.woot\.com/",
"example": "https://www.woot.com/alldeals?ref=w_ngh_et_1",
"author": "Hoothin",
"nextLink": "//div[text()='Next >']",
"pinUrl": true
},
{
"name": "Fapello",
"url": "^https?://fapello\.com/",
"example": "https://fapello.com/noemy-love/38/",
"pageElement": "a.uk-align-center > img"
},
{
"name": "精易论坛 - 手机版 - Powered by Discuz!",
"url": "^https?://bbs\.125\.la/",
"example": "https://bbs.125.la/forum.php?mod=forumdisplay&fid=98&mobile=2",
"nextLink": "#page > div.threadlist > div.page > a:nth-of-type(3)",
"pageElement": "body > div.mm-page.mm-slideout > div.threadlist > div.threadlist > ul",
"action": 1
},
{
"name": "u2dmhy 种子页面",
"author": "dyzer",
"url": "^https?://u2\.dmhy\.org/torrents\.php",
"example": "https://u2.dmhy.org/torrents.php",
"pageElement": "body > table.mainouter > tbody > tr:nth-of-type(2) > td.outer > table.main > tbody > tr > td.embedded"
},
{
"name": "Qi Xing Blog | 一个互联网角落的秘密基地
🥳",* {display:none!important}</style>')","author": "qi_xing_jk",
"url": "^https?://blog\.qixing1217\.top/",
"example": "https://blog.qixing1217.top/",
"pageElement": "#container",
"nextLink": "a.block[rel='next']",
"action": 1,
"waitElement": "!img.object-cover[src^='data']"
},
{
"name": "Podium Audio",
"author": "uwuceo with help from Hoothin",
"url": "^https?://podiumaudio\.com",
"example": "https://podiumaudio.com/browse-titles/",
"pageElement": "div.browse-all-titles-grid-container > div.inner > div",
"loadMore": "div.load-more-section > a",
"css": ".loading{opacity: 1;}",
"autoClick": "div.load-more-section > a",
"rate": 5
},
{
"name": "PubMed",
"author": "1nker",
"url": "^https?://pubmed\.ncbi\.nlm\.nih\.gov/",
"example": "https://pubmed.ncbi.nlm.nih.gov/?term=",
"loadMore": "button.load-button.next-page",
"nextLink": 0
},
{
"name": "V2EX POST",
"author": "jaeger",
"url": "^https?://v2ex\.com/t/",
"example": "https:v2ex.com/t/967813",
"pageElement": "#Main>.box:nth-child(4)"
},
{
"name": "V2EX",
"url": "^https?://www\.v2ex\.com/t/",
"example": "https://www.v2ex.com/t/998253",
"author": "Hoothin",
"pageElement": "#Main>.box:not([style],[id])>.cell[id]"
},
{
"name": "ICONFINDER ",
"author": "skofkyo",
"enable": 0,
"example": "https://www.iconfinder.com/search?q=Download",
"url": "^https?://www\.iconfinder\.com/"
},
{
"name": "菜鸟工具 - JS/CSS/JSON/HTML 調整為上下欄",
"author": "skofkyo",
"enable": 1,
"example": "https://c.runoob.com/front-end/51/,https://c.runoob.com/front-end/52/,https://c.runoob.com/front-end/7683/,https://c.runoob.com/front-end/47/",
"url": "^https?://(c\.runoob\.com|www\.jyshare\.com)/front-end/(47|51|52|7683)/",
"init": "if(location.href.indexOf('7683')==-1){clearAll()}document.querySelectorAll('div.col-md-6').forEach(div=>{div.setAttribute('class','code');div.style='width:100%;max-width:100%;position:relative;padding-right:15px;padding-left:15px;'})",
"pinUrl": true
},
{
"name": "webtoons - 手機版閱讀 (手動翻頁模式,預讀下一話圖片)",
"author": "skofkyo",
"example": "https://m.webtoons.com/zh-hant/time-slip/estatedeveloper/%E7%AC%AC1%E8%A9%B1/viewer?title_no=4354&episode_no=1",
"url": "^https?://m\.webtoons\.com/.+/viewer\?",
"manualMode": true,
"pinUrl": true,
"init": "document.addEventListener('dblclick',()=>{let n=document.querySelector('.paginate a.lk_next');if(n)location.href=n.href});let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgs=document.querySelectorAll('._checkVisible');for(let i=0;i<imgs.length;i++){imgs[i].src=imgData[i].url}",
"nextLink": ".paginate a.lk_next",
"preloadImages": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgSrcArr=[];for(let i=0;i<imgData.length;i++){let imgSrc=imgData[i].url;imgSrcArr.push(imgSrc)}return imgSrcArr",
"css": "#_webRetentionArea,.pagetual_tipsWords{display:none!important}"
},
{
"name": "webtoons - 手機版閱讀 (自動翻頁模式會越來越卡)",
"author": "skofkyo",
"example": "https://m.webtoons.com/zh-hant/time-slip/estatedeveloper/%E7%AC%AC1%E8%A9%B1/viewer?title_no=4354&episode_no=1",
"enable": 0,
"url": "^https?://m\.webtoons\.com/.+/viewer\?",
"history": 2,
"init": "let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgs=document.querySelectorAll('._checkVisible');for(let i=0;i<imgs.length;i++){imgs[i].src=imgData[i].url}",
"nextLink": ".paginate a.lk_next",
"pageElement": ".flick-ct._imageWrap",
"replaceElement": ".h1_viewer,#sequence_scroll,.btn_comment,.paginate",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgs=doc.querySelectorAll('._checkVisible');for(let i=0;i<imgs.length;i++){imgs[i].src=imgData[i].url}",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('#bottomEpisodeList img[data-url]').forEach(e=>{e.src=e.dataset.url});let titles=gae('.pagetual_pageBar');if(titles.length>5){titles[0].remove();let removes=gae('#_viewer>');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/imageList/)>-1).innerHTML;let imgData=eval(code.match(/imageList[^;]+/g)[0]);let imgSrcArr=[];for(let i=0;i<imgData.length;i++){let imgSrc=imgData[i].url;imgSrcArr.push(imgSrc)}return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.h1_viewer>._goTop');if(t)return t.innerText",
"rate": 3,
"css": "#_viewer{height:auto !important}#_webRetentionArea{display:none!important}"
},
{
"name": "webtoons - 閱讀",
"author": "skofkyo",
"example": "https://www.webtoons.com/zh-hant/time-slip/estatedeveloper/%E7%AC%AC1%E8%A9%B1/viewer?title_no=4354&episode_no=1",
"url": "^https?://www\.webtoons\.com/.+/viewer\?",
"pinUrl": true,
"history": 2,
"init": "document.querySelectorAll('img[data-url]').forEach(e=>{e.src=e.dataset.url})",
"nextLink": "//div[@Class='episode_cont']//li[a[starts-with(@Class,'on')]]/following-sibling::li[1]/a",
"pageElement": "#_imageList>img",
"replaceElement": ".subj_info>h1,.paginate.v2,.episode_cont",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('#bottomEpisodeList img[data-url]').forEach(e=>{e.src=e.dataset.url});let titles=gae('.pagetual_pageBar');if(titles.length>5){titles[0].remove();let removes=gae('#_imageList>');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.subj_info>h1');if(t)return t.innerText",
"rate": 3
},
{
"name": "webtoons - 目錄",
"author": "skofkyo",
"example": "https://www.webtoons.com/zh-hant/time-slip/estatedeveloper/list?title_no=4354",
"url": "^https?://www\.webtoons\.com/.+/list\?",
"pinUrl": true,
"nextLink": "//div[@Class='paginate']/a[span[@Class='on']]/following-sibling::a[1]",
"pageElement": "._episodeItem",
"replaceElement": ".paginate",
"pageBar": 0
},
{
"name": "webtoons - 首頁禁用",
"url": "^https?://www\.webtoons\.com/([^/]+/)?$",
"pinUrl": true,
"enable": 0
},
{
"name": "開車漫画 - 閱讀",
"author": "skofkyo",
"example": "https://18p.fun/ForInject/Chapter/?id=641992",
"url": "^https?://(www\.)?(18p|gohaveababy|imynest|healthway|beforeout)\.[a-z]{2,5}/(ForInject/|Article/|content/)",
"history": 2,
"action": 1,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('img[data-src]');if(set){clearInterval(loop);if(location.hostname!='18p.fun'&&window.$_curChap){location.replace('https://18p.fun/ForInject/Chapter/?id='+window.$_curChap.id)};document.querySelectorAll('img[data-src]').forEach(e=>{e.src=e.dataset.src});let hasTouchEvents=()=>{if(('ontouchstart'in window)||(navigator.maxTouchPoints>0)||(navigator.msMaxTouchPoints>0)){return true}return false};let toggleToolbar=()=>{var e=e||window.event;if(e.wheelDelta<0||e.detail>0){ge('[my-id=header]').setAttribute('style','top: -60px;');ge('[class^=footerbox]').setAttribute('style','display:none;')}else{ge('[my-id=header]').removeAttribute('style');ge('[class^=footerbox]').removeAttribute('style')}};if(hasTouchEvents()===false){document.addEventListener('wheel',toggleToolbar);document.addEventListener('DOMMouseScroll',toggleToolbar)}ge('[class^=pictures]').addEventListener('click',()=>{let t=ge('[my-id=header][style]');if(t){ge('[my-id=header]').removeAttribute('style');ge('[class^=footerbox]').removeAttribute('style')}else{ge('[my-id=header]').setAttribute('style','top: -60px;');ge('[class^=footerbox]').setAttribute('style','display:none;')}})}},200);",
"nextLinkByJs": "let next=doc.querySelector('[class^=picnexta]>a');if(next&&next.dataset.url)return next.dataset.url",
"pageElement": "[class^=pictures]>img[data-src],[class^=needfee]",
"replaceElement": "[class^=footerbox] li:nth-child(n+3):nth-child(-n+6)",
"pageInit": "document.querySelector('h1').outerHTML=doc.querySelector('h1').outerHTML;let na=document.querySelector('[class^=picnexta]');let a=null;if(na){a=na.querySelector('a')}let rna=doc.querySelector('[class^=picnexta]');let ra=null;if(rna){ra=rna.querySelector('a')}if(ra!=null&&ra.dataset.url){a.dataset.url=ra.dataset.url;a.innerHTML=ra.innerHTML}else if(rna){na.innerHTML=rna.innerHTML}let needfee=doc.querySelector('[class^=needfee]');if(needfee){let css=Array.from(doc.querySelectorAll('style')).find(s=>s.innerHTML.search(/needfee/)>-1).innerHTML;let style=document.createElement('style');style.id='PagetualStyle';style.innerHTML=css;document.head.appendChild(style)}",
"pageAction": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar a').forEach(e=>{if(/pi=/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('[class^=pictures]>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}};setTimeout(()=>{gae('div[class^=picnexta],[class^=footerbox] li:nth-child(n+3):nth-child(-n+6)').forEach(e=>{e.addEventListener('click',()=>{let a=e.querySelector('a');if(a&&a.dataset.url){location.replace(a.dataset.url)}})});ge('[class^=footerbox] li:nth-child(7)').addEventListener('click',()=>{location.replace('https://18p.fun/book/'+window.$_curChap.bookid)})},200)",
"pageBarText": "let t=doc.querySelector('h1');if(t)return t.innerText.split('"')[2].replace(/第\d+页?頁?$/,'').trim();"
},
{
"name": "開車漫画 - 分類",
"author": "skofkyo",
"example": "https://18p.fun/library/?cid=3&tid=1702",
"url": "^https?://18p\.fun/",
"include": ".loadmore",
"init": "let gae=e=>document.querySelectorAll(e);let openInNewTab=()=>gae('#itemlist li>a:not([target=_blank])').forEach(a=>{a.setAttribute('target','_blank')});let setImgSrc=()=>gae('img.lazy[src$=svg]').forEach(img=>{img.src=img.dataset.src});openInNewTab();setImgSrc();new MutationObserver(()=>{openInNewTab();setImgSrc()}).observe(document.body,{childList:true,subtree:true});",
"loadMore": ".loadmore>button",
"css": ".page{display:none!important}.loadmore{display:block!important}"
},
{
"name": "大树漫画/世伦漫画 - 閱讀",
"author": "skofkyo",
"example": "https://www.dashumanhua.com/comic/douluodalu5zhongshengtangsan/read-0.html",
"url": "^https?://(www\.dashumanhua\.com|www\.shilunart\.com)/comic/[^/]+/read-\d+\.html",
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let m=code.match(/eval.+\)\)/)[0].slice(4);let imgData=eval(eval(m).slice(12,-1));let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);$('head').append('<style>#pre-loading+#pic-list>img:nth-child('+imgData.length+')
"nextLink": "//a[text()='下一话' and not(contains(@href,'--1'))]",
"pageElement": "#pic-list",
"replaceElement": "head>title,h2,.prev,.huiname,.next,.setnmh-pagedos",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let m=code.match(/eval.+\)\)/)[0].slice(4);let imgData=eval(eval(m).slice(12,-1));let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);let c=gae('#pic-list');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{ge('.prev>a').href=ge('.prev>.tandiv>a').href;let n=ge('.next>.tandiv>a');if(n){ge('.next>a').href=n.href;ge('.next>a+span').remove();ge('a[v-if=booknext]+span').remove()}else{ge('div[v-if=booknext]').remove();ge('.next>a').classList.add('hui')}},100)",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let m=code.match(/eval.+\)\)/)[0].slice(4);let imgSrcArr=eval(eval(m).slice(12,-1));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.setnmh-bookname>h2');if(t)return t.innerText",
"rate": 3,
"css": "#pic-list img{box-shadow:none!important}.setnmh-seebox>:first-child:not(.loading-box),.loading-box,.aboutmh>:last-child{display:none!important}"
},
{
"name": "大树漫画 - 分類",
"author": "skofkyo",
"example": "https://www.dashumanhua.com/category/all/",
"url": "^https?://www\.dashumanhua\.com/",
"nextLink": "//a[text()='下页']",
"pageElement": "//dt[div[@Class='img']/a/img[@alt]]",
"replaceElement": ".mypage"
},
{
"name": "嗨皮漫畫 - 閱讀 - 禁用",
"author": "skofkyo",
"example": "https://m.happymh.com/manga/shishijilingdishejishi",
"url": "^https?://m\.happymh\.com/reads/",
"enable": "0"
},
{
"name": "包子漫畫分類 - 漫畫在新分頁打開",
"author": "skofkyo",
"example": "https://www.webmota.com/",
"url": "^https?://[^/]+/",
"include": [
"//title[contains(text(),'包子漫畫') or contains(text(),'包子漫画')]",
".comics-card"
],
"exclude": [
".comic-contain",
".comics-detail"
],
"init": "let openInNewTab=()=>document.querySelectorAll('.comics-card a:not([target=blank])').forEach(a=>{a.setAttribute('target','blank')});openInNewTab();new MutationObserver(()=>{openInNewTab()}).observe(document.body,{childList:true,subtree:true});"
},
{
"name": "包子漫畫 - 閱讀",
"author": "skofkyo",
"example": "https://www.kukuc.co/comic/chapter/dawangraoming-yuedongwenhua/0_0.html",
"url": "^https?://[^/]+/comic/chapter/[^/]+/\w+\.html",
"include": [
"//title[contains(text(),'包子漫畫') or contains(text(),'包子漫画')]",
".chapter-main.scroll-mode>.comic-contain amp-img>img[amp-img-id]"
],
"history": 2,
"action": 1,
"pinUrl": true,
"init": "let gae=e=>document.querySelectorAll(e);let E=gae('.comic-contain')[0];let F=new DocumentFragment();let imgs=gae('.comic-contain amp-img');imgs.forEach(e=>{let img=new Image();img.className='comic-contain__item';img.src=e.getAttribute('src');F.appendChild(img)});E.innerHTML='';E.appendChild(F);let loop=setInterval(()=>{let set=document.querySelector('#interstitial_fade');if(set){clearInterval(loop);set.remove()}},100);setTimeout(()=>{if(loop)clearInterval(loop)},5000)",
"nextLink": "#next-chapter",
"pageElement": ".comic-contain",
"replaceElement": "//head/title | //span[@Class='title'] | //div[@Class='comic-chapter']/div[@Class='next_chapter'] | //div[@Class='bottom-bar']",
"pageInit": "let gae=e=>doc.querySelectorAll(e);let E=gae('.comic-contain')[0];let F=new DocumentFragment();let imgs=gae('.comic-contain amp-img');imgs.forEach(e=>{let img=new Image();img.className='comic-contain__item';img.src=e.getAttribute('src');F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar a').forEach(e=>{if(/\/\d+\d+\d+\.html$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>10){ps[0].remove();let ds=gae('.chapter-main>');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('span.title');if(t)return t.innerText",
"css": ".mobadsq{display:none!important}ul{margin-block-start:-2px!important;margin-block-end:2px!important}.pagetual_pageBar{margin-top:7px!important}"
},
{
"name": "COLAMANGA - 閱讀",
"author": "skofkyo",
"example": "https://www.colamanga.com/manga-rk63083/1/3.html",
"url": "^https?://www\.colamanga\.com/",
"include": ".mh_comicpic",
"action": 2,
"pinUrl": true,
"css": ".mh_wrap{width:100%!important;min-width:100%!important}"
},
{
"name": "COLAMANGA - 分類/搜索",
"author": "skofkyo",
"example": "https://www.colamanga.com/show?orderBy=update",
"url": "^https?://www\.colamanga\.com/(show|search)",
"init": "let w = document.querySelector(
h2 a[href*='weeklyCount']); if (!location.search) w.click()","nextLinkByJs": "let next=doc.querySelector('.fed-page-info a.fed-btns-green+a[onclick]');if(next)return location.origin+location.pathname+location.search.replace(/&page=\d+$/,'')+'&page='+next.innerText",
"pageElement": "//div[contains(@Class,'fed-list-head')]/following-sibling::ul[li/a/span] | //dl[dt/a/span]",
"pageInit": "doc.querySelectorAll('a[data-original]').forEach(a=>{a.style.backgroundImage=
url('${a.dataset.original}')})","replaceElement": ".fed-page-info"
},
{
"name": "看漫画手機版 - 閱讀",
"author": "skofkyo",
"example": "https://m.manhuagui.com/comic/30278/405998.html",
"url": "^https?://m\.manhuagui\.com/comic/\d+/\d+\.html",
"history": 2,
"init": "$('body').append('<div class="goback" title="返回頂部" onclick="window.scrollTo({top: 0})" style="background: url(/images/bg_main.png) -258px -80px no-repeat;opacity:0.3;position:fixed;left:50%;margin-left:-20px;bottom:0px;width:40px;height:40px;">');let ge=e=>document.querySelector(e);let str=
var imagesObserver=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{if(entry.isIntersecting){observer.unobserve(entry.target);let realSrc=entry.target.dataset.src,nE=entry.target.nextElementSibling;if(realSrc){entry.target.src=realSrc;}if(nE&&nE.tagName=='IMG'&&nE.dataset.src){nE.src=nE.dataset.src;}}})});var loading_bak='data:image/png;base64,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';;let script=document.createElement('script');script.type='text/javascript';script.innerHTML=str;ge('body').appendChild(script);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(10,-11);let imgData=eval(imgDataCode);let loop=setInterval(()=>{let set=ge('#manga img');if(set){clearInterval(loop);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.images.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=${domain+e}?e=${imgData.sl.e}&m=${imgData.sl.m};imagesObserver.observe(img);F.appendChild(img)});let E=ge('#manga');E.innerHTML='';E.appendChild(F);let n=ge("a[data-action='chapter.next']");if(imgData.nextId==0){n.href=location.pathname.replace(/\d+\.html$/,'');n.innerText='返回目录'}}},100)","nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(10,-11);let imgData=eval(imgDataCode);let n=imgData.nextId;if(n!=0)return location.href.replace(/\d+\.html$/,'')+n+'.html';",
"pageElement": "//script[contains(text(),'x6c')]",
"insert": "#manga",
"insertPos": 2,
"replaceElement": "#mangaTitle",
"pageInit": "let ge=e=>document.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(10,-11);let imgData=eval(imgDataCode);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.images.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=
${domain+e}?e=${imgData.sl.e}&m=${imgData.sl.m};imagesObserver.observe(img);F.appendChild(img)});let E=ge('#manga');E.appendChild(F);let n=ge("a[data-action='chapter.next']");if(imgData.nextId==0){n.href=location.pathname.replace(/\d+\.html$/,'');n.innerText='返回目录'}","pageAction": "let gae=e=>document.querySelectorAll(e);let titles=gae('.pagetual_pageBar');if(titles.length>10){titles[0].remove();let removes=gae('#manga>');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"pageBarText": "let t=doc.querySelector('#mangaTitle');if(t)return t.innerHTML.replace(/<.+>\s?/g,'')",
"css": ".action-list li{width:50%!important}#action>ul>li:nth-child(n+2):nth-child(-n+3),.manga-page,.clickforceads{display:none!important}.manga-box img{border-top:0px!important;border-bottom:0px!important}"
},
{
"name": "看漫画手機版 - 最新更新/排行榜/書架/搜索/漫画大全 檢視下20條記錄 - 漫畫在新分頁打開",
"author": "skofkyo",
"example": "https://m.manhuagui.com/list/update.html",
"url": "^https?://m\.manhuagui\.com/",
"exclude": [
"#manga",
"#chapter"
],
"init": "let openInNewTab=()=>document.querySelectorAll('.top-slider-wrap a,.main-list a:not([target=blank]),.cont-list a:not([target=blank])').forEach(a=>{a.setAttribute('target','blank')});openInNewTab();new MutationObserver(()=>{openInNewTab()}).observe(document.body,{childList:true,subtree:true});",
"loadMore": "#more:not([style*='none'])>.more-go",
"css": ".clickforceads{display:none!important}"
},
{
"name": "看漫画 - 閱讀",
"author": "skofkyo",
"example": "https://www.manhuagui.com/comic/30278/405998.html",
"url": "^https?://(tw|www)\.manhuagui\.com/comic/\d+/\d+\.html",
"history": 2,
"init": "let ge=e=>document.querySelector(e);let str=
var imagesObserver=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{if(entry.isIntersecting){observer.unobserve(entry.target);let realSrc=entry.target.dataset.src,nE=entry.target.nextElementSibling;if(realSrc){entry.target.src=realSrc;}if(nE&&nE.tagName=='IMG'&&nE.dataset.src){nE.src=nE.dataset.src;}}})});var loading_bak='data:image/png;base64,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';;let script=document.createElement('script');script.type='text/javascript';script.innerHTML=str;ge('body').appendChild(script);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(11,-11);let imgData=eval(imgDataCode);let loop=setInterval(()=>{let set=ge('.pr.tbCenter.cb img');if(set){clearInterval(loop);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.files.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=${domain+imgData.path+e}?e=${imgData.sl.e}&m=${imgData.sl.m};imagesObserver.observe(img);F.appendChild(img)});let E=ge('.pr.tbCenter.cb');E.innerHTML='';E.appendChild(F)}},100)","nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(11,-11);let imgData=eval(imgDataCode);let n=imgData.nextId;if(n!=0)return location.href.replace(/\d+\.html$/,'')+n+'.html';",
"pageElement": "//script[contains(text(),'x6c')]",
"insert": ".pr.tbCenter.cb",
"insertPos": 2,
"replaceElement": ".title h2",
"pageInit": "let ge=e=>document.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/x6c/)>-1).innerHTML.slice(26,-1);let imgDataCode=eval(code).slice(11,-11);let imgData=eval(imgDataCode);let domain='https://i.hamreus.com';let F=new DocumentFragment();imgData.files.forEach(e=>{let img=new Image();img.src=loading_bak;img.dataset.src=
${domain+imgData.path+e}?e=${imgData.sl.e}&m=${imgData.sl.m};imagesObserver.observe(img);F.appendChild(img)});let E=ge('.pr.tbCenter.cb');E.appendChild(F);let pc=ge('.btn-red.prevC');let curl=location.href.replace(/\d+\.html./,'');let purl=curl+imgData.prevId+'.html';let nurl=curl+imgData.nextId+'.html';pc.href=purl;pc.removeAttribute('onclick');let p=ge('.btn-red.prev');p.href=purl;p.removeAttribute('onclick');if(imgData.nextId!=0){ge('.btn-red.nextC').href=nurl;let n=ge('.btn-red.next+a');n.href=nurl;n.removeAttribute('onclick')}else{ge('.btn-red.nextC').href=curl;let n=ge('.btn-red.next+a');n.href=curl;n.innerText=ge('#viewList').innerText;n.removeAttribute('onclick')}","pageAction": "let gae=e=>document.querySelectorAll(e);let titles=gae('.pagetual_pageBar');if(titles.length>10){titles[0].remove();let removes=gae('.pr.tbCenter.cb>');for(let i in removes){if(/pagetual_pageBar/.test(removes[i].className)){break}removes[i].remove()}}",
"pageBarText": "let t=doc.querySelector('h2');if(t)return t.innerText",
"css": ".title>div:not(.fr)>span,#pageSelect,.main-btn>a[href^='j'],.pager>a[href*='goPage'],.pager>span{display:none!important}.pr.tbCenter.cb>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "看漫画 - 分類",
"author": "skofkyo",
"example": "https://www.manhuagui.com/list/lianzai/",
"url": "^https?://(www|tw)\.manhuagui\.com/list/",
"nextLink": "span.current+a",
"pageElement": "#contList",
"replaceElement": ".pager-cont,.result-count",
"css": ".pagetual_pageBar{margin-top:-10px!important}"
},
{
"name": "漫畫屋 - 閱讀",
"author": "skofkyo",
"example": "https://mh5.tw/series-wunalfy-484928-1-%E4%B8%8D%E5%B9%B8%E8%81%B7%E6%A5%AD%E7%9A%84%E5%B9%B8%E9%81%8B?",
"url": "^https?://mh5\.tw/series",
"pinUrl": true,
"nextLinkByJs": "let ge=e=>doc.querySelector(e);let np=ge('.num>.cur+a');let nc=ge('.next>a:not(.hui)');let c=ge('.num>.cur').innerText;let m=ge('.num>a:last-child').innerText-1;if(c!=m){return np.href}else if(nc){return nc.href}else return;",
"pageElement": ".ptview>img:not([style])",
"replaceElement": ".setnmh-pagedos",
"pageAction": "let gae=e=>document.querySelectorAll(e);let d=gae('img[alt][style]')[0];if(d)d.remove();gae('.pagetual_pageBar>a').forEach(e=>{if(!/-1-/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('.ptview>*');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('h2');if(t)return t.innerText.replace(/\(\d+P\)/,'')",
"rate": 10,
"css": ".setnmh-seebox img{max-width: 100% !important;display: block !important;margin: 0 auto !important;box-shadow:none!important}.setnmh-seebox{width:auto !important;max-width:800px !important}.num>a:last-child{display:none!important}"
},
{
"name": "漫畫屋 - 分類",
"author": "skofkyo",
"example": "https://mh5.tw/allcartoonlist",
"url": "^https?://mh5\.tw/allcartoonlist",
"nextLink": "a.cur+a",
"pageElement": "dl.alllist",
"replaceElement": "div.num",
"css": ".pagetual_pageBar{margin-bottom:0px!important}.pagetual_pageBar+dl{margin-top:-10px!important}"
},
{
"name": "Xmanhua - 手機版閱讀",
"author": "skofkyo",
"example": "https://xmanhua.com/m10344/",
"url": "^https?://(www\.)?xmanhua\.com/m\d+(-p\d+)?/",
"include": ".bottom-bar",
"history": 2,
"pinUrl": true,
"init": "document.querySelectorAll('img[data-src]').forEach(img=>{img.src=img.dataset.src});",
"nextLink": "//a[text()='下一章']",
"pageElement": "#cp_img",
"replaceElement": ".top-title,.bottom-bar,.toast-win,head>title",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgData=eval(eval(code.trim().slice(4)).slice(12));let E=doc.querySelector('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);let c=gae('#cp_img');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{let m=document.title.match(/([^_]+)([^_]+)/);let t=ge('.top-title');t.innerText=m[1].replace('漫畫','')+''+m[2]},100);let cs=gae('#cp_img');let last=cs.length-1;cs[last].addEventListener('click',()=>{let t=ge('body.toolbar');if(t){$('body').removeClass('toolbar')}else{$('body').addClass('toolbar')}});",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgSrcArr=eval(eval(code.trim().slice(4)).slice(12));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.top-title');if(t)return t.innerText.replace(/XManhua\?.+\?/,'')"
},
{
"name": "Mangabz - 手機版閱讀",
"author": "skofkyo",
"example": "https://www.mangabz.com/m38701/",
"url": "^https?://(www\.)?mangabz\.com/m\d+(-p\d+)?/",
"include": ".bottom-bar",
"history": 2,
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let b=ge('body.viewbody');if(b){b.innerHTML=b.innerHTML.replace('','');setTimeout(()=>{$('.top-bar-tool').removeAttr('style');$('.bottom-bar').removeAttr('style')},0)}function showtoolbar(){let t=ge('body.toolbar');if(t){$('body').removeClass('toolbar')}else{$('body').addClass('toolbar')}};document.addEventListener('click',showtoolbar);document.querySelectorAll('img[data-src]').forEach(e=>{e.src=e.dataset.src});",
"nextLink": "//a[text()='下一章']",
"pageElement": "#cp_img",
"replaceElement": ".bottom-bar,.toast-win,head>title",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgData=eval(eval(code.trim().slice(4)).slice(12));let E=ge('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#cp_img');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{let m=document.title.match(/([^_]+)([^_]+)/);let t=document.querySelector('.top-title');t.innerText=m[1].replace('漫畫','')+''+m[2];$('.bottom-bar').removeAttr('style')},100);",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML;let imgSrcArr=eval(eval(code.trim().slice(4)).slice(12));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('title');if(t)return t.innerText.match(/(.+)/)[1]"
},
{
"name": "Xmanhua - PC版閱讀",
"author": "skofkyo",
"example": "https://xmanhua.com/m10344/",
"url": "^https?://(www\.)?xmanhua\.com/m\d+(-p\d+)?/",
"include": ".reader-bottom-page-list",
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img>img');if(set){clearInterval(loop);ge('#cp_img').innerHTML=ge('#cp_img>img').outerHTML;ge('#showimage').removeAttribute('style');}},100);function showtoolbar(){let t=ge('.header.toolbar');if(t){$('.header').removeClass('toolbar');$('.header').removeAttr('style')}else{$('.header').addClass('toolbar');$('.header').attr('style','top: -64px;')}let b=ge('.reader-bottom.toolbar');if(b){$('.reader-bottom').removeClass('toolbar');$('.reader-bottom').removeAttr('style')}else{$('.reader-bottom').addClass('toolbar');$('.reader-bottom').attr('style','bottom: -50px;')}};document.addEventListener('click',showtoolbar);function hidetoolbar(){var e=e||window.event;if(e.wheelDelta<0||e.detail>0){$('.header').addClass('toolbar');$('.header').attr('style','top: -64px;');$('.reader-bottom').addClass('toolbar');$('.reader-bottom').attr('style','bottom: -50px;')}else{$('.header').removeClass('toolbar');$('.header').removeAttr('style');$('.reader-bottom').removeClass('toolbar');$('.reader-bottom').removeAttr('style')}};document.addEventListener('wheel',hidetoolbar);document.addEventListener('DOMMouseScroll',hidetoolbar);function keyhidetoolbar(e){let key=window.event?e.keyCode:e.which;if(key=='34'||key=='32'||key=='40'){$('.header').addClass('toolbar');$('.header').attr('style','top: -64px;');$('.reader-bottom').addClass('toolbar');$('.reader-bottom').attr('style','bottom: -50px;')}else{$('.header').removeClass('toolbar');$('.header').removeAttr('style');$('.reader-bottom').removeClass('toolbar');$('.reader-bottom').removeAttr('style')}};document.addEventListener('keydown',keyhidetoolbar);",
"nextLinkByJs": "let m=doc.querySelector('.relative>a').innerText.match(/(\d+)\/(\d+)/);let nc=doc.querySelector('img[src*=right-2]');if(m[1]!=m[2]){let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/XMANHUA_CURL/)>-1).innerHTML;let c=eval(code.match(/XMANHUA_CURL[^;]+/)[0]);let url=location.origin+c;let next=url.replace(/(-p\d+)?\/$/,'')+'-p'+(parseInt(m[1])+1)+'/';return next}else if(nc&&nc.parentNode){if(/javascript/.test(nc.parentNode.href)){return;}else{return nc.parentNode.href}}",
"pageElement": "#cp_img>img",
"replaceElement": ".container",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-p\d+\/$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.reader-title>a:last-child');if(t)return t.innerText.trim()",
"rate": 5,
"css": ".container{width:auto!important}#cp_img img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}.reader-img-con{padding:64px 0 50px !important;}"
},
{
"name": "Mangabz - PC版閱讀",
"author": "skofkyo",
"example": "https://www.mangabz.com/m38701/",
"url": "^https?://(www\.)?mangabz\.com/m\d+(-p\d+)?/",
"include": ".container",
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img>img');if(set){clearInterval(loop);ge('#cp_img').innerHTML=ge('#cp_img>img').outerHTML}},100);function hidetoolbar(){var e=e||window.event;if(e.wheelDelta<0||e.detail>0){$('.top-bar').attr('style','top: -74px;')}else{$('.top-bar').removeAttr('style')}};document.addEventListener('wheel',hidetoolbar);document.addEventListener('DOMMouseScroll',hidetoolbar);function keyhidetoolbar(e){let key=window.event?e.keyCode:e.which;if(key=='34'||key=='32'||key=='40'){$('.top-bar').attr('style','top: -74px;')}else{$('.top-bar').removeAttr('style')}};document.addEventListener('keydown',keyhidetoolbar);",
"nextLinkByJs": "let m=doc.querySelector('[class^=bottom-page]').innerText.match(/(\d+)-(\d+)/);let nc=doc.querySelector('img[src=xiayizhang]');if(m[1]!=m[2]){let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/MANGABZ_CURL/)>-1).innerHTML;let c=eval(code.match(/MANGABZ_CURL[^;]+/)[0]);let url=location.origin+c;let next=url.replace(/(-p\d+)?\/$/,'')+'-p'+(parseInt(m[1])+1)+'/';return next}else if(nc&&nc.parentNode){if(/javascript/.test(nc.parentNode.href)){return;}else{return nc.parentNode.href}}",
"pageElement": "#cp_img>img",
"replaceElement": ".container",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-p\d+\/$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.top-title');if(t)return t.innerText.trim()",
"rate": 5,
"css": "a[href^='j']{display:none!important}.container{width:auto!important}#cp_img img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "Mangabz / Xmanhua - 分類",
"author": "skofkyo",
"example": "https://www.mangabz.com/manga-list-0-0-0/,https://xmanhua.com/manga-list-0-0-0/",
"url": "^https?://(www\.)?(mangabz|xmanhua)\.com/(manga-list|search)",
"nextLink": "//div[contains(@Class,'page-pagination')]//a[contains(text(), '>')]",
"pageElement": "ul.mh-list",
"replaceElement": ".page-pagination",
"css": ".mh-list{padding-bottom:0px!important}.pagetual_pageBar+.mh-list{padding-top:10px!important}.pagetual_pageBar{margin-top:0px!important}"
},
{
"name": "動漫狂 - 閱讀",
"author": "skofkyo",
"example": "https://cc.fun8.us/post/438700022035001.html",
"url": "^https?://cc\.fun8\.us/post/\d+\.html",
"history": 2,
"init": "document.onkeydown=null;let ge=e=>document.querySelector(e);let imgDir=ge('img[onload],img[oncontextmenu]').src.match(/.+\//)[0];let max=ge('.onpage').parentNode.lastElementChild.previousElementSibling.innerText;let F=new DocumentFragment();for(let i=1;i<=max;i++){let imgSrc=imgDir+String(i).padStart(3,'0')+'.jpg';let img=new Image();img.className='PagetualImg';img.src=imgSrc;F.appendChild(img)};let E=ge('img[oncontextmenu]').parentNode.parentNode;E.innerHTML='';E.appendChild(F);",
"nextLink": "//td[@width='150' and a[img[@src='/image/rad.gif']]]/a | //a[b]",
"pageElement": "//script[contains(text(),'googletag.display')]",
"replaceElement": "head>title",
"insert": "//td[img[@Class='PagetualImg']] | //td[a[img[@oncontextmenu]]]",
"insertPos": 2,
"pageAction": "let docge=e=>doc.querySelector(e);let ge=e=>document.querySelector(e);let imgDir=docge('img[onload],img[oncontextmenu]').src.match(/.+\//)[0];let max=docge('.onpage').parentNode.lastElementChild.previousElementSibling.innerText;let E=ge('.PagetualImg').parentNode;let F=new DocumentFragment();for(let i=1;i<=max;i++){let imgSrc=imgDir+String(i).padStart(3,'0')+'.jpg';let img=new Image();img.className='PagetualImg';img.src=imgSrc;F.appendChild(img)};E.appendChild(F);",
"pageBarText": "return doc.title",
"css": ".PagetualImg{max-width: 100% !important;display: block !important;margin: 0 auto !important;}td[valign='top'][width='160'],td[width='12'],select[name],body>table>tbody>tr:nth-child(5){display:none!important}"
},
{
"name": "動漫狂 - 分類",
"author": "skofkyo",
"example": "https://www.cartoonmad.com/hotrank.html",
"url": "^https?://www\.cartoonmad\.(cc|com)/(hotrank|topcm|newcm|comic\d+)(\.\d+)?\.html",
"nextLink": "a.onpage+a",
"pageElement": "//table[tbody/tr/td/table/tbody/tr/td/a/span[@Class='covers']]",
"replaceElement": "td[align='right']>table:last-child",
"css": ".pagetual_pageBar{margin-bottom:0px!important}"
},
{
"name": "漫画人 / dm5 動漫屋 / 極速漫畫 - 手機版 - 漫畫在新分頁打開",
"author": "skofkyo",
"example": "https://m.dm5.com/",
"url": "^https?://(www\.manhuaren|m\.dm5|m\.1kkk)\.com/",
"exclude": [
"#cp_img",
"#tempc"
],
"init": "let openInNewTab=()=>document.querySelectorAll('.swiper-wrapper a:not([target=_blank]),.manga-list a:not([target=_blank]),.rank-list a:not([target=_blank])').forEach(a=>{a.setAttribute('target','_blank')});openInNewTab();new MutationObserver(()=>{openInNewTab()}).observe(document.body,{childList:true,subtree:true});"
},
{
"name": "漫画人 / dm5 動漫屋 / 極速漫畫 - 手機版閱讀",
"author": "skofkyo",
"example": "https://www.manhuaren.com/manhua-list-s2/,https://www.manhuaren.com/m198122/,https://m.dm5.com/m1331307/,https://m.1kkk.com/ch1063-1331307/,https://m.1kkk.com/vol1-4761/",
"url": "^https?://(www|m)\.(manhuaren|1kkk|dm5)\.(com|cn)/(m|ch|vol|other)[-_0-9]+/$",
"exclude": ".view-paging",
"history": 2,
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img img');if(set){clearInterval(loop);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML.slice(4,-1);let imgData=eval(eval(code).replace('var',''));let E=ge('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F)}},100)",
"nextLinkByJs": "let gx=x=>doc.evaluate(x,doc,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;let next=gx("//ul[@Class='view-bottom-bar']//a[text()='下一章' and not(contains(@href,'-end'))]");if(next)return location.origin+next.href.split("'")[1]",
"pageElement": "#cp_img",
"replaceElement": "head>title,.view-fix-top-bar-title,ul.view-bottom-bar,.view-fix-bottom-bar",
"pageInit": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML.slice(4,-1);let imgData=eval(eval(code).replace('var',''));let E=doc.querySelector('#cp_img');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let cs=gae('#cp_img');let last=cs.length-1;cs[last].addEventListener('click',()=>{let t=document.querySelector('body.toolbar');if(t){$('body').removeClass('toolbar')}else{$('body').addClass('toolbar')}});let c=gae('#cp_img');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}setTimeout(()=>{gae('a[href=pushHistory]').forEach(a=>{a.href=a.href.split("'")[1]})},300);",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/newImgs/)>-1).innerHTML.slice(4,-1);let imgSrcArr=eval(eval(code).replace('var',''));return imgSrcArr",
"pageBarText": "let t=doc.querySelector('title');if(t)return t.innerText.match(/([^_]+)/)[1]",
"css": ".view-bottom-bar>li:nth-child(n+2):nth-child(-n+3),.view-fix-bottom-bar>a:nth-child(2),.guide{display:none!important}.view-bottom-bar li{width:50%!important}.view-fix-bottom-bar>a{width:25%!important}"
},
{
"name": "極速漫畫 - PC版單行本閱讀",
"author": "skofkyo",
"example": "https://www.1kkk.com/vol1-4761/",
"url": "^https?://(www|hk)\.1kkk\.com/vol[-_0-9]+/$",
"include": "#chapterpager",
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img img');if(set){clearInterval(loop);document.body.style.overflow='scroll';ge('#cp_img').innerHTML='';let pcData=async(page)=>{if(page>DM5_IMAGE_COUNT){return}if(!mkey){var mkey=''}let apiUrl=location.href+'chapterfun.ashx'+
?cid=${DM5_CID}&page=${page}&key=${mkey}&language=1>k=6&_cid=${DM5_CID}&_mid=${DM5_MID}&_dt=${DM5_VIEWSIGN_DT}&_sign=${DM5_VIEWSIGN};let res=await fetch(apiUrl);let resText=await res.text();let imgSrc=await eval(resText)[0];let img=new Image();img.src=imgSrc;ge('#cp_img').appendChild(img);page++;pcData(page)};pcData(1)}},100)","nextLink": "//a[text()='下一章']",
"manualMode": true,
"css": "a[href^='j'],.chapterpager,.view-comment{display:none!important}#cp_img>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}.container{width:auto!important}"
},
{
"name": "dm5 動漫屋 / 極速漫畫 - PC版閱讀",
"author": "skofkyo",
"example": "https://www.dm5.com/m1331307/,https://www.1kkk.com/ch1063-1331307/",
"url": "^https?://(www|tel|en|cnc)?\.?(dm5|1kkk)\.(com|cn)/(m|ch)[-_0-9]+/$",
"include": "#chapterpager",
"pinUrl": true,
"init": "let ge=(e)=>document.querySelector(e);let loop=setInterval(()=>{let set=ge('#cp_img>img');if(set){clearInterval(loop);ge('body').removeAttribute('style');ge('#cp_img').innerHTML=ge('#cp_img>img').outerHTML}},100);",
"nextLinkByJs": "let ge=(e)=>doc.querySelector(e);let gx=x=>doc.evaluate(x,doc,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;let c=ge('.chapterpager>span.current').innerText;let m=ge('.chapterpager>:last-child').innerText;let nc=gx("//a[text()='下一章']");if(c!=m){let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/DM5_CURL/)>-1).innerHTML;let dc=eval(code.match(/DM5_CURL[^;]+/)[0]);let url=location.origin+dc;let next=url.replace(/(-p\d+)?\/$/,'')+'-p'+(parseInt(c)+1)+'/';return next}else if(nc){return nc.href}else{return null}",
"pageElement": "#cp_img>img",
"replaceElement": ".container",
"pageAction": "let gae=(e)=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/-p\d+\/$/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.active');if(t)return t.innerText.trim()",
"rate": 10,
"css": "a[href^='j'],.chapterpager{display:none!important}#cp_img>img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}.container{width:auto!important}"
},
{
"name": "dm5 動漫屋 / 極速漫畫 - 分類",
"author": "skofkyo",
"example": "https://www.dm5.com/manhua-list/,https://www.1kkk.com/manhua-list/",
"url": "^https?://(www|tel|en|cnc|hk)?\.?(dm5|1kkk)\.(com|cn)/manhua-([a-z]+/|list-area|list-tag|list-char)",
"init": "document.querySelectorAll('.cat-filter a').forEach(a=>{a.setAttribute('onclick','setTimeout(()=>{location.reload()}, 1000)')})",
"nextLink": "//a[text()=' > ']",
"pinUrl": true,
"pageElement": ".box-body",
"replaceElement": ".page-pagination"
},
{
"name": "無限動漫 - 動漫大全",
"author": "skofkyo",
"example": "https://www.8comic.com/list/all_all_all/",
"url": "^https?://www\.8comic\.com/list/",
"nextLink": "//a[span/@Class='mdi mdi-skip-next']",
"pageElement": "a.comicpic_col6",
"replaceElement": ".pager"
},
{
"name": "無限動漫 - 分類",
"author": "skofkyo",
"example": "https://www.8comic.com/comic/u-1.html",
"url": "^https?://www\.8comic\.com/comic/[a-z0-9-]+\.html",
"nextLink": "//a[span/@Class='mdi mdi-skip-next']",
"pageElement": ".row>div:has(>div.cat2_list)",
"replaceElement": ".pager",
"css": ".pagetual_pageBar{margin-top:-14px!important}"
},
{
"name": "無限動漫 - 圖庫原圖瀏覽",
"author": "skofkyo",
"example": "https://www.8comic.com/photo/p6041.html?n=1",
"url": "^https?://www\.8comic\.com/photo/p[0-9-]+\.html\?n=\d+$",
"init": "let total=document.querySelectorAll('#pageindex option').length;let imgSrc=new URL(document.querySelector('#TheImg').src).pathname;let html='';for(let i=1;i<=total;i++){let num=String(i).padStart(3,'0');let src=imgSrc.replace(/(\d+)(\.\w)$/,
${num}$2);html+=<img name='TheImg'hspace='4'vspace='4'border='0'id='TheImg'src='${src}'>}document.querySelector('.photo_main_div').innerHTML=html;","css": "#TheImg{margin:2px auto;display:block}",
"pinUrl": true
},
{
"name": "無限動漫 - 圖庫清單載入大圖",
"author": "skofkyo",
"example": "https://www.8comic.com/photo/6041.html",
"url": "^https?://www\.8comic\.com/photo/\d+\.html$",
"init": "document.querySelectorAll('#dl img').forEach(img=>{let f=img.src.replace('.jpe','.jpg');img.src=f})",
"pinUrl": true
},
{
"name": "無限動漫 - 圖庫分類",
"author": "skofkyo",
"example": "https://www.8comic.com/photo/3-1.html",
"url": "^https?://www\.8comic\.com/photo/[0-9-]+\.html$",
"nextLink": "a:has(>.mdi-skip-next)",
"pageElement": ".row:has(>div>.cat2_list)",
"replaceElement": ".pager"
},
{
"name": "無限動漫 - 類別停止自動匹配",
"author": "skofkyo",
"example": "https://www.8comic.com/html/1/",
"url": "^https?://www\.8comic\.com/html/\d+/$",
"enable": 0
},
{
"name": "砂之船动漫家 - 手機版閱讀",
"author": "skofkyo",
"example": "https://www.szcdmj.com/szcchapter/736400",
"url": "^https?://www\.szcdmj\.com/szcchapter/\d+(\?page=\d+)?",
"include": ".view-bottom-bar",
"history": 2,
"pinUrl": true,
"nextLink": "//a[@href][text()='下一页' or text()='下一话']",
"pageElement": "#cp_img>img",
"replaceElement": ".view-bottom-bar,.view-fix-top-bar,.view-fix-bottom-bar",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/page=/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('#cp_img>');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.view-fix-top-bar-title');if(t)return t.innerText",
"css": ".view-bottom-bar>li:nth-child(n+3):nth-child(-n+4),.view-fix-bottom-bar-item:nth-child(n+4):nth-child(-n+5){display:none!important}.view-fix-bottom-bar-item,.view-bottom-bar>li{width:33.33%!important}"
},
{
"name": "砂之船动漫家 / 土豪漫画 - PC版閱讀",
"author": "skofkyo",
"example": "https://www.szcdmj.com/szcchapter/736400,https://7hxy.com/chapter/968191?page=8&id=968191",
"url": "^https?://(www\.)?(szcdmj|7hxy)\.com/\w{0,5}chapter/\d+",
"include": ".read-section",
"history": 2,
"pinUrl": true,
"nextLink": "//a[@href][text()='下一页' or text()='下一话' or text()='下一章']",
"pageElement": ".comiclist>.comicpage",
"replaceElement": ".fanye",
"pageAction": "let gae=e=>document.querySelectorAll(e);gae('.pagetual_pageBar>a').forEach(e=>{if(/page=/.test(e.href))e.parentNode.remove()});let ps=gae('.pagetual_pageBar');if(ps.length>4){ps[0].remove();let ds=gae('.comiclist>');for(let i in ds){if(/pagetual/.test(ds[i].id)){break};ds[i].remove()}}",
"pageBarText": "let t=doc.querySelector('.title');if(t)return t.innerText.match(/\s(.+)/)[1]",
"css": ".comiclist img{width:auto!important;height:auto!important;max-width:100%!important;display:block!important;margin:0 auto !important}"
},
{
"name": "砂之船动漫家 - 分類",
"author": "skofkyo",
"example": "https://www.szcdmj.com/szcbolist",
"url": "^https?://www\.szcdmj\.com/szcbolist",
"nextLink": "#nextPage,a[title='下一页'],li.active+li>a",
"pageElement": ".mh-list,.manga-list>ul",
"replaceElement": ".pagination",
"pageAction": "document.querySelectorAll('.mh-cover').forEach(e=>{e.style=e.getAttribute('style')})",
"css": ".mh-list+.pagetual_pageBar{margin-top:20px!important}.manga-list-2-cover-img{opacity: 1!important}"
},
{
"name": "来漫画 - 手機版閱讀",
"author": "skofkyo",
"example": "https://m.laimanhua88.com/kanmanhua/kaijujiangliyiyitiaoming/1684241122.html",
"url": "^https?://m\.laimanhua88\.com/kanmanhua/\w+/\d+\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let E=ge('#manga');let F=new DocumentFragment();json.images.forEach(e=>{let img=new Image();img.src=realurl+json.path+e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let next=json.nextUrlid;if(next>0)return location.href.replace(/\d+\.html$/,'')+next+'.html';",
"pageElement": "#manga",
"replaceElement": "head>title,#mangaTitle",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let E=ge('#manga');let F=new DocumentFragment();json.images.forEach(e=>{let img=new Image();img.src=realurl+json.path+e;F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#manga');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/mhInfo/)>-1).innerHTML;let json=eval(code.match(/mhInfo[^;]+/)[0]);let imgSrcArr=[];json.images.forEach(e=>{let imgSrc=realurl+json.path+e;imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('#mangaTitle');if(t)return t.innerHTML.replace(/.+<.+>/g,'').trim()",
"css": ".action-list li{width:50%!important}#action>ul>li:nth-child(n+2):nth-child(-n+3),.manga-page,[id^='jusha']{display:none!important}.manga-box img{border-top:0px!important;border-bottom:0px!important}"
},
{
"name": "来漫画 - 閱讀",
"author": "skofkyo",
"example": "https://www.laimanhua88.com/kanmanhua/kaijujiangliyiyitiaoming/1684241122.html",
"url": "^https?://www\.laimanhua88\.com/kanmanhua/\w+/\d+\.html",
"pinUrl": true,
"history": 2,
"init": "let ge=e=>document.querySelector(e);let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let base64=eval(code.match(/picTree[^;]+/)[0]);let imgData=base64_decode(base64).split('$qingtiandy$');let host=getpicdamin();let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=encodeURI(host+e);F.appendChild(img)});E.innerHTML='';E.appendChild(F);$('head').append('<style>.loading-box+#pic-list>img:nth-child('+imgData.length+')~* {display:none!important}</style>')",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextUrlid/)>-1).innerHTML;let next=eval(code.match(/nextUrlid[^,]+/)[0]);if(next>0)return location.href.replace(/\d+\.html$/,'')+next+'.html'",
"pageElement": "#pic-list",
"replaceElement": "head>title,h1,#position>b",
"pageInit": "let ge=e=>doc.querySelector(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let base64=eval(code.match(/picTree[^;]+/)[0]);let imgData=base64_decode(base64).split('$qingtiandy$');let host=getpicdamin();let E=ge('#pic-list');let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=encodeURI(host+e);F.appendChild(img)});E.innerHTML='';E.appendChild(F);",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#pic-list');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/picTree/)>-1).innerHTML;let base64=eval(code.match(/picTree[^;]+/)[0]);let imgData=base64_decode(base64).split('$qingtiandy$');let host=getpicdamin();let imgSrcArr=[];imgData.forEach(e=>{let imgSrc=encodeURI(host+e);imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('#position>b');if(t)return t.innerText",
"css": ".img_info{display:none!important}#pic-list>img{max-width: 100% !important;display: block !important;margin: 0 auto -2px auto !important;border:0px!important;padding:0px!important;}.w996,.tbCenter{width:auto!important}.pagetual_pageBar+.img-box{margin-top:0px!important}"
},
{
"name": "古风漫画网 - 手機版閱讀",
"author": "skofkyo",
"example": "https://m.gufengmh9.com/manhua/wokeyiwuxianzhaohuan/2042963.html",
"url": "^https?://m\.gufengmh\d?\.com/manhua/[a-z]+/\d+\.html",
"history": 2,
"pinUrl": true,
"init": "let ge=e=>document.querySelector(e);let gae=e=>document.querySelectorAll(e);ge('body>div:nth-child(1)').innerHTML=ge('#panel-title').innerHTML;ge('.iconRet').href=comicUrl;gae('.beforeChapter,.afterChapter').forEach(e=>{e.removeAttribute('onclick')});let code=Array.from(document.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imghost=eval(code.match(/pageImage[^;]+/)[0]).match(/^https?:\/\/[^/]+\//)[0];let imgPath=eval(code.match(/chapterPath[^;]+/)[0]);let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=imghost+imgPath+e;F.appendChild(img)});let E=ge('#images');E.innerHTML='';E.appendChild(F);let next=eval(code.match(/nextChapterData[^;]+/)[0]);let prev=eval(code.match(/prevChapterData[^;]+/)[0]);if(next.id>0){gae('.afterChapter').forEach(e=>{e.href=comicUrl+next.id+'.html'})}else{gae('.afterChapter').forEach(e=>{e.href=comicUrl;})}if(prev.id>0){gae('.beforeChapter').forEach(e=>{e.href=comicUrl+prev.id+'.html'})}",
"nextLinkByJs": "let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/nextChapterData/)>-1).innerHTML;let next=eval(code.match(/nextChapterData[^;]+/)[0]);if(next.id>0)return comicUrl+next.id+'.html'",
"pageElement": "#images",
"pageInit": "let gae=e=>document.querySelectorAll(e);let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imghost=eval(code.match(/pageImage[^;]+/)[0]).match(/^https?:\/\/[^/]+\//)[0];let imgPath=eval(code.match(/chapterPath[^;]+/)[0]);let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let F=new DocumentFragment();imgData.forEach(e=>{let img=new Image();img.src=imghost+imgPath+e;F.appendChild(img)});let E=doc.querySelector('#images');E.innerHTML='';E.appendChild(F);let next=eval(code.match(/nextChapterData[^;]+/)[0]);let prev=eval(code.match(/prevChapterData[^;]+/)[0]);if(next.id>0){gae('.afterChapter').forEach(e=>{e.href=comicUrl+next.id+'.html'})}else{gae('.afterChapter').forEach(e=>{e.href=comicUrl;})}if(prev.id>0){gae('.beforeChapter').forEach(e=>{e.href=comicUrl+prev.id+'.html'})}",
"pageAction": "let gae=e=>document.querySelectorAll(e);let c=gae('#images');if(c.length>10){c[0].remove()}let p=gae('.pagetual_pageBar');if(p.length>10){p[0].remove()}",
"preloadImages": "document.querySelector('#pagetual-preload').innerHTML='';let code=Array.from(doc.scripts).find(s=>s.innerHTML.search(/chapterImages/)>-1).innerHTML;let imghost=eval(code.match(/pageImage[^;]+/)[0]).match(/^https?:\/\/[^/]+\//)[0];let imgPath=eval(code.match(/chapterPath[^;]+/)[0]);let imgData=eval(code.match(/chapterImages[^;]+/)[0]);let imgSrcArr=[];imgData.forEach(e=>{let imgSrc=imghost+imgPath+e;imgSrcArr.push(imgSrc)});return imgSrcArr",
"pageBarText": "let t=doc.querySelector('.BarTit');if(t)return t.innerText.trim()",
"css": "#images>img{max-width: 100% !important;display: block !important;margin: 0 auto -2px auto !important;border:0px!important;padding:0px!important;}body>div:nth-child(1) .iconRet{position:absolute;left:0px;width:45px;height:45px;top:-3px;display:block;background:url(https://m.gufengmh.com/assets/f0660635/images/bg_icon_ret.png) no-repeat 20px 14px;background-size:9px 17px}"
},
{
"name": "古风漫画网 - 手機版分類",
"author": "skofkyo",
…