MrCocoNuat / clip-studio-reader-downloader

Download manga and other books from the browser version of Clip Studio Reader
MIT License
8 stars 1 forks source link

Hi! Can you add support of https://comic.iowl.jp/ #2

Closed kcMiG closed 4 months ago

kcMiG commented 4 months ago

These links are to guide you: https://comic.iowl.jp/titles/182198/volumes https://comic.iowl.jp/titles/147403/volumes

MrCocoNuat commented 4 months ago

Hi, Can you try the newest changes out? You can update your userscript via your userscript manager or at the GreasyFork page. If everything is good, please consider dropping a star on the repository!

kcMiG commented 4 months ago

The script works fine on Pixiv but sometimes fails on the other 2 sites. I solved that problem by adding a 3 second delay to the script so that the page loads and then the script runs.

MrCocoNuat commented 4 months ago

Interesting, do you mean in addition to the timer at first page load?

Anyways, it is time to remove that page load timer, it was a quick fix ok for my use, but if other people with various browser/hardware configurations are using it... better to use an actual event listener

kcMiG commented 4 months ago

Yes, I added: window.addEventListener('load', () => { setTimeout(async () => {

script

}, 3000); });

MrCocoNuat commented 4 months ago

Ok, a proper check that the reader has actually loaded (instead of a static timer) should do it. Can you confirm?

kcMiG commented 4 months ago

Yes, it works perfect. Thank you.