Unable to open PDF in library window
I have been using Firefox for years, and until today everything was working okay. Now, all of a sudden, whenever I try to open a PDF using my school library's website, I am being asked to either open a PDF in Firefox, Adobe, or save the file. Because my library allows me to view PDF copies of books and access the table of contents, this does not work for me. Again, all was fine yesterday, but today it has suddenly become an issue.
Running Firefox 92.0 (64 bit) on Windows 10.
Összes válasz (1)
dasmithey67 said
I have been using Firefox for years, and until today everything was working okay. Now, all of a sudden, whenever I try to open a PDF using my school library's website, I am being asked to either open a PDF in Firefox, Adobe, or save the file.
That sounds like the special download dialog for PDFs (the regular download dialog doesn't have "Open in Firefox" as an option).
Is the problem that there is an extra step? Or doesn't the PDF work correctly when you use one of those options?
I can think of two possible reasons for this:
(1) On the Settings page, the instruction for PDFs is "Always Ask"
You can check on that using the steps in this article: View PDF files using Firefox’s built-in viewer.
(2) The server is sending Firefox a header that triggers the download dialog
This is the "Content-Disposition: attachment" header, and the only workaround is through an add-on. If you are allowed to install add-ons on this installation of Firefox, I can suggest my own extension. You can install it from the Mozilla Add-ons site:
https://addons.mozilla.org/firefox/addon/content-type-fixer/
To activate it, click its Zzzz button on the toolbar to wake it up. That should take care of #1 automatically. To solve #2, click the button again and in the Content-Disposition Override section of the menu, click "Follow my settings (inline)".