Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

How to disable that Firefox automatically saves PDFs?

  • 5 réponses
  • 2 ont ce problème
  • 1 vue
  • Dernière réponse par cor-el

more options

I have the following settings in Settings/Preferences>General:

Files and Applications

Downloads Save all files in the following folder: Downloads Ticked Ask every time where to save a file

Applications Portable Document Format (PDF): Open in Firefox How should Firefox deal with other files? Ticked Ask whether to open or save files

On specific websites when I click on a pdf link, Firefox opens and automatically saves the file to Downloads folder without asking whether to save and where to save despite the above settings. As far as I remember, on other websites when clicking a pdf link Firefox only opens the corresponding file and doesn't save.

I found this with a internet search https://connect.mozilla.org/t5/discussions/stop-saving-pdfs-to-downloads-when-viewing-in-firefox/td-p/10225.

How can it be disabled that Firefox automatically saves PDFs?

I have the following settings in Settings/Preferences>General: Files and Applications Downloads Save all files in the following folder: '''Downloads''' '''Ticked''' Ask every time where to save a file Applications Portable Document Format (PDF): '''Open in Firefox''' How should Firefox deal with other files? '''Ticked''' Ask whether to open or save files On '''specific websites''' when I click on a pdf link, Firefox opens and automatically saves the file to Downloads folder without asking whether to save and where to save despite the above settings. As far as I remember, on other websites when clicking a pdf link Firefox only opens the corresponding file and doesn't save. I found this with a internet search https://connect.mozilla.org/t5/discussions/stop-saving-pdfs-to-downloads-when-viewing-in-firefox/td-p/10225. How can it be disabled that Firefox automatically saves PDFs?

Modifié le par bernd1-1

Solution choisie

Firefox always needs to download and save the file to be able to display the file in a tab.

You can set browser.download.start_downloads_in_tmp_dir => true on the about:config page to make Firefox use the OS temp folder for downloading and opening files.

You can open the about:config page via the location/address bar. On the warning page, click "Accept the Risk and Continue" to open about:config.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (5)

more options

Change browser.download.open_pdf_attachments_inline to true in about:config.

Cela vous a-t-il été utile ?

more options

How does the server sends those PDF files if you check this in the in the Network Monitor?

Cela vous a-t-il été utile ?

more options

@cor-el Here are 3 screenshots of the Network Monitor regarding an example of a pdf that was (unfortunately) automatically saved.

Modifié le par bernd1-1

Cela vous a-t-il été utile ?

more options

Hello

Other information What information is stored in my profile? https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_what-information-is-stored-in-my-profile Download actions: handlers.json This file stores your preferences that tell Firefox what to do when it comes across a particular type of file. For example, these are the settings that tell Firefox to open a PDF file with Acrobat Reader when you click on it. For more information, see Manage file types and download actions in Firefox.

Try

Go to your profile https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data#w_how-do-i-find-my-profile Open Folder Then shut down Firefox Then, in your profile, delete the file handlers.json or rename the file (for example) handlers.json-old Next, start Firefox

Then Perform your checks https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file

handlers.json will be recreated automatically For information purposes You can view the contents of the file handlers.json (e.g. with Notepad)

Cela vous a-t-il été utile ?

more options

Solution choisie

Firefox always needs to download and save the file to be able to display the file in a tab.

You can set browser.download.start_downloads_in_tmp_dir => true on the about:config page to make Firefox use the OS temp folder for downloading and opening files.

You can open the about:config page via the location/address bar. On the warning page, click "Accept the Risk and Continue" to open about:config.

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.