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!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How to disable that Firefox automatically saves PDFs?

  • 5 trả lời
  • 2 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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?

Được chỉnh sửa bởi bernd1-1 vào

Giải pháp được chọn

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.

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (5)

more options

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

Hữu ích?

more options

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

Hữu ích?

more options

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

Được chỉnh sửa bởi bernd1-1 vào

Hữu ích?

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)

Hữu ích?

more options

Giải pháp được chọn

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.

Hữu ích?

Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.