manga-loader icon indicating copy to clipboard operation
manga-loader copied to clipboard

Experimental Imgur album support

Open mcpower opened this issue 6 years ago • 5 comments

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.

mcpower avatar Apr 28 '19 05:04 mcpower

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..

fuzetsu avatar May 13 '19 13:05 fuzetsu

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.

mcpower avatar May 14 '19 05:05 mcpower

Thanks a lot for this. However, it only works on imgur old album layout. Could it be updated to support the new one?

SilentSparrow02 avatar Feb 22 '22 10:02 SilentSparrow02

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.

mcpower avatar Mar 01 '22 09:03 mcpower

Haha that's understandable. And thanks for your reply :)

SilentSparrow02 avatar Mar 01 '22 09:03 SilentSparrow02