Experimental Imgur album support
Supports reading Imgur albums as if they were a manga chapter. Imgur resizes images to fit their narrow gallery view, so using Manga Loader gives a much better reading experience.
This is experimental as it relies on a whole bunch of React internals which may change at any time! However, I've personally used this implementation for around half a year now and nothing major has changed since then.
Imgur isn't necessarily a dedicated manga site, so if this gets merged users will see "Load Manga" on a site completely unrelated to manga. Feel free to close this PR if this is a major problem for you.
Very cool, thanks for this! 👍
I'm not too worried about the load manga button showing on imgur since that's pretty easy to ignore if you don't want it. I'm more worried about people who have autoload enabled.. Maybe if an option was added to the implementations to override autoload for certain implementations.. Not sure what kind of demand there is for this either..
Maybe if an option was added to the implementations to override autoload for certain implementations..
What about changing auto-load to be an per-implementation on/off, rather than a global on/off? For example, instead of having "Auto-load: ☑" in the settings, we could have "Auto-load batoto chapters: ☑". If someone wants to have auto-load on many websites, they'll have to check the box once for each site they go to (a minor inconvenience) - but on the other hand, Manga Loader won't unexpectedly auto-load on "new" sites.
To be completely honest, I had no idea that auto-load was a feature until I read your comment. I would personally use auto-load if I could enable it per-site - there are sites where I prefer the default reader over Manga Loader.
Thanks a lot for this. However, it only works on imgur old album layout. Could it be updated to support the new one?
Sorry, it's been literally 3 years since I've written that code! It seems like Imgur has changed their front-end, so my old code doesn't work any more.
Additionally, there is no open source license in manga-loader, so writing new code for it would be difficult due to my new employer since 3 years ago 😢.
There's an alternative to reading manga hosted on imgur these days so I'd recommend using that instead.
Haha that's understandable. And thanks for your reply :)