Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to disable that Firefox automatically saves PDFs?

  • 5 பதிலளிப்புகள்
  • 2 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by cor-el

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?

bernd1-1 மூலமாக திருத்தப்பட்டது

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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.

Read this answer in context 👍 1

All Replies (5)

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

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

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

bernd1-1 மூலமாக திருத்தப்பட்டது

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)

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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.