为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Need to make Firefox stop automatically downloading PDF files. None of the suggested fixes work.

  • 5 个回答
  • 4 人有此问题
  • 1 次查看
  • 最后回复者为 James

more options

I need to know how to stop firefox from automatically downloading every PDF file I look at. I’ve tried all of the suggested fixes on Mozilla and various other sites to no avail. None of them work. I’ve tried the following:

Going into settings, downloads, and checking “Always ask you where to save files.” Didn’t work.

Going into settings, applications, and under PDF, choosing “always ask.” Didn’t work.

Going into settings, applications, and under PDF, choosing “open in firefox.” Didn’t work.

Going into about:config and changing browser.download.alwaysOpenPanel from true to false. Didn’t work

None of these fixes stopped firefox from automatically downloading pdf files. I can’t just click on a pdf file to look at it without firefox downloading it.

I’m at wit’s end. My recylcle bin is full of unwanted pdf files.

Please give me a solution that actually works. My version is 105.0.3.

I need to know how to stop firefox from automatically downloading every PDF file I look at. I’ve tried all of the suggested fixes on Mozilla and various other sites to no avail. None of them work. I’ve tried the following: Going into settings, downloads, and checking “Always ask you where to save files.” Didn’t work. Going into settings, applications, and under PDF, choosing “always ask.” Didn’t work. Going into settings, applications, and under PDF, choosing “open in firefox.” Didn’t work. Going into about:config and changing browser.download.alwaysOpenPanel from true to false. Didn’t work None of these fixes stopped firefox from automatically downloading pdf files. I can’t just click on a pdf file to look at it without firefox downloading it. I’m at wit’s end. My recylcle bin is full of unwanted pdf files. Please give me a solution that actually works. My version is 105.0.3.

所有回复 (5)

more options

A file has to be downloaded by a browser for you to open it. Before the recent change, opened files were saved to the system's temp folder. There is now a preference in about:config to do that again. browser.download.start_downloads_in_tmp_dir Change the value to true.

https://support.mozilla.org/en-US/kb/about-config-editor-firefox

more options

What's the other about:config that affects this? Now instead of my downloads folder filling up with worthless pdf files, my temp folder is filling up with them instead.

more options

I omitted to post a link to the comment in the relevant bug report. Your temp folder should be cleared by your OS at some point.

https://bugzilla.mozilla.org/show_bug.cgi?id=1738574#c133

more options

I finally solved this problem by removing the Avast! antivirus from my computer. It had taken over part of Firefox and was forcing the download of PDF documents instead of letting me choose whether to just open them or to download them. Case closed.

more options

The outdated information you may have seen posted by Dropa mentioning the browser.download.improvements_to_download_panel Preference will NOT work as it was for Fx 98.0 to 101.0. The Preference for Fx 102.0 to current is browser.download.start_downloads_in_tmp_dir

Please be careful with all about:config changes. Please read Firefox Advanced Customization and Configuration Options and Configuration Editor for Firefox to learn more.

Also the first reply posted by Terry had the correct Preference.

由James于修改