Emano-Waldeck / pdf-reader

a PDF reader extension based on Mozilla's PDF.js library for Chromium-based browsers
https://webextension.org/listing/pdf-reader.html
29 stars 8 forks source link

Can't download PDFs when "Allow access to file URLs" is enabled #17

Closed amsmeier closed 1 year ago

amsmeier commented 1 year ago

When I try to download a pdf in chrome (like a gmail pdf attachment), and the "Allow access to file URLs" option is enabled for this extension, the PDF does not download and no error message is displayed (nothing happens on click). When disabling "Allow access to file URLs" for this extension, PDFs download normally.

Unfortunately, turning off "Allow access to file URLs" for this extension disables some basic functionality for the extension; it no longer creates a custom URL for the document (it just displays the windows filepath to the PDF in the navigation bar), meaning that it forgets what page you were on when re-opening the document.

Does anyone know a fix for this problem, so that I can download PDFs while using this extension?

amsmeier commented 1 year ago

Actually, this issue is resolved upon removing and re-installing the extension.