Firefox does not remember open with setting for pdf files
Hi all,
When I open a pdf in FF, it does not remember my settings, even though I have set to always open in Adobe Reader. I am running the latest version of FF and Win 10. I have recreated the handler.json file.
Regards,
Steve
被選擇的解決方法
Hi Steve, unfortunately, your preference is not used for every download of a .pdf file -- sites can set two HTTP headers that will trigger the download dialog, bypassing Firefox's automatic handling of downloads:
(1) Content-Disposition
If a server sends a Content-Disposition header set to attachment, which bypasses viewing in a tab, Firefox will always show the download dialog.
(2) Content-Type
The setting on the Options/Preferences page is keyed to the content type application/pdf, not the .pdf file name extension. If the server sends a different content type, Firefox won't use the PDF instructions.
If you would consider using an add-on to address these issues, I have one here:
https://addons.mozilla.org/firefox/addon/content-type-fixer/
When enabled (click the Zzzz button to wake it up), issue #2 is handled automatically. To address #1, tick the "Follow my settings (inline)" option on the extension menu:
<center></center> 從原來的回覆中察看解決方案 👍 0所有回覆 (1)
選擇的解決方法
Hi Steve, unfortunately, your preference is not used for every download of a .pdf file -- sites can set two HTTP headers that will trigger the download dialog, bypassing Firefox's automatic handling of downloads:
(1) Content-Disposition
If a server sends a Content-Disposition header set to attachment, which bypasses viewing in a tab, Firefox will always show the download dialog.
(2) Content-Type
The setting on the Options/Preferences page is keyed to the content type application/pdf, not the .pdf file name extension. If the server sends a different content type, Firefox won't use the PDF instructions.
If you would consider using an add-on to address these issues, I have one here:
https://addons.mozilla.org/firefox/addon/content-type-fixer/
When enabled (click the Zzzz button to wake it up), issue #2 is handled automatically. To address #1, tick the "Follow my settings (inline)" option on the extension menu:
<center></center>