Manual download no longer hangs
The "Manual Download" button opened a WebView on the book's mirror. Libgen mirrors hand out get.php links, which answer with a redirect to a CDN file (Content-Disposition: attachment). Android's WebView hands that to its download listener instead of loading a page, so the "Preparing download..." overlay never went away.
- Direct file links now go straight to the download manager, so libgen books start downloading immediately.
- When a WebView download starts (Z-Library's
/dl/hop, a resolved CDN URL), that URL is used as the download link. - The blocking overlay now gives up after 60 seconds and says so, instead of waiting forever.
- A late page load can no longer close the book page underneath after the overlay has already returned.
Thanks @DrDustwolf for the detailed log and reproduction steps.
Full changelog: v1.8.0...v1.8.1