Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Firefox does not remember open with setting for pdf files

more options

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 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)

more options

Выбранное решение

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>