Full Picture Load - FancyboxV5

supports 1,000+ websites for photos, h-comics, and comics, fully loaded images, simple image viewing function, comic infinite scroll read mode, and compressed and packaged downloads.

< Feedback on Full Picture Load - FancyboxV5

Review: Good - script works

§
Posted: 2024-07-20

https://sxchinesegirlz.one/ 大佬求添加啊

tony0809Author
§
Posted: 2024-07-20

2.4.1 已更新

§
Posted: 2024-07-20

https://nofzwn.xxtt.info/ 这个网站都是下载失败 大佬能看下咋回事不?

tony0809Author
§
Posted: 2024-07-20

https://nofzwn.xxtt.info/ 这个网站都是下载失败 大佬能看下咋回事不?

二級域名會下載錯誤
主域名www.4khd.com可以正常下載,這我需要研究一下,我也不知道為什麼會下載錯誤。

§
Posted: 2024-07-20

没事 不急慢慢弄吧~~~

tony0809Author
§
Posted: 2024-07-20

二級域名的圖片服務器會轉向yt4.googleusercontent.com
主域名是加WordPressCDN請求pic.4khd.com

yt4.googleusercontent.com直接外連無法顯示圖片,用GM_xmlhttpRequest或Fetch API請求下載會錯誤,瀏覽器直接開啟圖片鏈結卻可以載入圖片,光靠我自己研究不出個所以然...

權宜之計是直接替換成跟主域名的圖片鏈結一樣
我這測試是可以顯示圖片也能正常下載

請修改腳本協助測試一下
查找原碼"4KHD",然後把imgs替換成下面這個,看這樣能不能正常下載。

        imgs: async () => {
            thumbnailsSrcArray = await fun.getImgA("figure.wp-block-image>a>img,#basicExample>a>img,.entry-content>p>a>img", ".page-link-box a").then(arr => arr.map(e => e.replace(/\?w=\d+$/, "?w=100")));
            let bigSrcArray = thumbnailsSrcArray.map(e => e.replace(/\/w\d+-rw\//, "/w7680-rw/").replace("?w=100", ""));
            if (fun.lh === "www.4khd.com") {
                return bigSrcArray;
            } else {
                let oldImgOrigin = new URL(bigSrcArray[0]).origin;
                let newImgOrigin = "https://i0.wp.com/pic.4khd.com";
                return bigSrcArray.map(src => src.replace(oldImgOrigin, newImgOrigin));
            }
        },
§
Posted: 2024-07-21

谢谢大佬了

tony0809Author
§
Posted: 2024-07-21

谢谢大佬了

所以是行不行?

反正我就先更新一版吧
2.4.2

§
Posted: 2024-07-21

可以了 万分感谢大佬的帮助

Post reply

Sign in to post a reply.