ComicRead

为漫画站增加双页阅读、翻译等优化体验的增强功能。百合会(记录阅读历史、自动签到等)、百合会新站、动漫之家(解锁隐藏漫画)、E-Hentai(关联 nhentai、快捷收藏、标签染色、识别广告页等)、nhentai(彻底屏蔽漫画、无限滚动)、Yurifans(自动签到)、拷贝漫画(copymanga)(显示最后阅读记录)、PonpomuYuri、明日方舟泰拉记事社、禁漫天堂、漫画柜(manhuagui)、漫画DB(manhuadb)、动漫屋(dm5)、绅士漫画(wnacg)、mangabz、komiic、無限動漫、新新漫画、hitomi、koharu、kemono、nekohouse、welovemanga

< Feedback on ComicRead

Review: Good - script works

§
Posted: 2024-09-29

作者您好,拷贝漫画有几百部漫画因为版权问题下架了但下架漫画在热辣漫画还可以阅读,我请求您也给热辣漫画增加双页阅读,万分感谢

§
Posted: 2024-09-29

熱辣漫畫API

需要用GM_xmlhttpRequest

(() => {
    'use strict';

    const xhr = (url, details = {}) => {
        return new Promise((resolve, reject) => {
            GM_xmlhttpRequest({
                method: "GET",
                url: url,
                responseType: "text",
                headers: {
                    "Referer": unsafeWindow.location.href,
                    "User-Agent": unsafeWindow.navigator.userAgent
                },
                onload: data => {
                    resolve(data.response);
                },
                onerror: error => {
                    reject(error)
                },
                ...details
            });
        });
    };
    unsafeWindow.xhr = xhr;

})();

let get = () => {
    let [, , word, , id] = window.location.pathname.split("/");
    let api = `https://mapi.fgjfghkk.club/api/v3/comic/${word}/chapter/${id}?platform=1&_update=true`;
    return window.xhr(api, {
        responseType: "json"
    }).then(json => json.results.chapter.contents.map(e => e.url.replace(".h800x.", ".h1500x.")));
};
get();
§
Posted: 2024-09-29

大佬您好,我没学过编程,恕我愚钝,我看不懂您发的代码以及使用方法,如果您有空的时候,还请写给我详细教程

§
Posted: 2024-09-29

大佬您好,我没学过编程,恕我愚钝,我看不懂您发的代码以及使用方法,如果您有空的时候,还请写给我详细教程

代码是提供给作者参考用的,如果需要简易的双页阅读,可以先用我的脚本图片全载顶一下,有支持热辣漫画。
https://greasyfork.org/scripts/463305

关掉自动聚图,开启自动进入影子画廊,画廊滚轮操作选切换图片,进入影子画廊后选右至左模式,这样就能用滚轮看日漫了。

§
Posted: 2024-09-30

多谢大佬

Post reply

Sign in to post a reply.