kha-white / mokuro

Read Japanese manga inside browser with selectable text.
GNU General Public License v3.0
770 stars 57 forks source link

Longstrip/Webtoons comics mode #94

Open spacehamster opened 2 months ago

spacehamster commented 2 months ago

I'd like to see support for longstrip/webtoon comics in the reader / html output. It'd be nice to have an option to display all pages at once instead of only one page at a time as longstrip/webtoon comics don't really have a concept of pages.

GunGunGun commented 1 month ago

Due to the way mokuro display images which uses background CSS, it's pretty hard to change it behavior imo, I'm not sure maybe people who're good at CSS/JS can do, I tried but honestly unless I rewrite the reader code, I have no idea how to make background long strip.

spacehamster commented 1 month ago

Divs using background-url to display images does not pose any issues, it's just a matter of making disabling the display:none property and changing the layout to column instead of row. The challenge is polishing it up so it's user friendly, eg keeping place on page reload and switching between longstrip and paged modes, etc.