ComicRead

Add enhanced features to the comic site for optimized experience, including dual-page reading and translation.

< Feedback on ComicRead

Review: Good - script works

§
Posted: 2024-04-25

请求支持新网站
无限动漫(漫画站) https://www.comicabc.com/

p.s.作者大大的插件很好用,大赞

§
Posted: 2024-04-25

新新漫画 https://www.77mh.nl/

§
Posted: 2024-04-25
Edited: 2024-04-25

以前折騰過

取得一話一集的圖片地址的代碼

無限動漫

//PC
let imgSrcTotal = window.ps; //圖片總數
let mainCode = [...document.scripts].find(s => s.textContent.includes("ge(e)")).textContent; //取得主要代碼
let [, keyCode] = mainCode.match(/ge\([^.]+\.src\s?=\s?([^;]+)/); //取得混淆過的關鍵代碼
let imgSrcArray = [];
for (let i = 1; i <= imgSrcTotal; i++) {
    let replaceText = "(" + i + ")";
    let code = keyCode.replace(/\(pp?\)/g, replaceText); //把關鍵代碼裡的(p)或(pp)替換成頁數(1)
    let runCode = new Function("return " + code)(); //使用匿名函式運行改好的代碼返回圖片地址,用eval(code);也行。
    let src = location.protocol + runCode; //補上協議湊成完整圖片地址
    imgSrcArray.push(src);
}
console.log(imgSrcArray);

//Mobile
let imgSrcTotal = window.ps; //圖片總數
let imgSrcArray = [];
for (let i = 1; i <= imgSrcTotal; i++) {
    let imgSrc = "https://img" + ss(c, 4, 2) + ".8comic.com/" + ss(c, 6, 1) + "/" + ti + "/" + ss(c, 0, 4) + "/" + nn([i]) + "_" + ss(c, mm([i]) + 10, 3, f) + ".jpg";
    imgSrcArray.push(imgSrc);
}
console.log(imgSrcArray);

新新漫畫

msg.split("|").map(path => location.hostname.includes("m.77mh") ? ImgSvrList + path : img_qianz + path);
hymbzAuthor
§
Posted: 2024-04-30

久等了,两个网站都更新支持了

hymbzAuthor
§
Posted: 2024-04-30

@tony0809 非常感谢!直接复制完事省了我很多功夫

Post reply

Sign in to post a reply.