Closed kcMiG closed 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!
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.
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
Yes, I added: window.addEventListener('load', () => { setTimeout(async () => {
script
}, 3000); });
Ok, a proper check that the reader has actually loaded (instead of a static timer) should do it. Can you confirm?
Yes, it works perfect. Thank you.
These links are to guide you: https://comic.iowl.jp/titles/182198/volumes https://comic.iowl.jp/titles/147403/volumes