djvujs icon indicating copy to clipboard operation
djvujs copied to clipboard

Browsing local files

Open jmarucha opened this issue 3 years ago • 1 comments
trafficstars

First, much thanks for this super-useful app, it's good complement to pdf.js when browsing a lot of scientific books and papers.

When trying to open local file via Firefox, either with file:// link, drag-and-drop, or opening via Windows Explorer "Open with..." menu, djvu.js doesn't open and download dialogue is shown. This is contrary to how djvu.js handles URLs to DJVU files, and contrary to pdf.js which can be used to open local documents "directly".

jmarucha avatar May 13 '22 17:05 jmarucha

I'm glad you found the app useful and appreciate your feedback.

As for opening files in Firefox, initially I didn't find a way to implement it. It works in Chrome (if Chrome is opened, you can open files via a double click), but Firefox behaves differently. However, you reminded me about a similar request made several months ago - I was told about an extension that provides such an option to open files with a browser. So I will look at its code and will try to find a solution.

Right now you can open local files only from the initial screen of the extension - drag and drop or just click to select a file.

RussCoder avatar May 14 '22 17:05 RussCoder