Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browsing local files #82

Open
jmarucha opened this issue May 13, 2022 · 1 comment
Open

Browsing local files #82

jmarucha opened this issue May 13, 2022 · 1 comment

Comments

@jmarucha
Copy link

jmarucha commented May 13, 2022

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

@RussCoder
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants