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

搜索 | 用户支持

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

详细了解

Disable automatic download when browsing

  • 11 个回答
  • 2 人有此问题
  • 3 次查看
  • 最后回复者为 zeroknight

more options

How do I stop firefox from automatically downloading files from the internet when I click on them - without even asking me if I want to download them in the first place. In "Applications", selecting "Always Ask" in "Choose how firefox handles files etc" does not work. Firefox never asks. If it cannot be disabled, I will have to stop using Firefox.

How do I stop firefox from automatically downloading files from the internet when I click on them - without even asking me if I want to download them in the first place. In "Applications", selecting "Always Ask" in "Choose how firefox handles files etc" does not work. Firefox never asks. If it cannot be disabled, I will have to stop using Firefox.

所有回复 (11)

more options

What file type? Sometimes servers report the wrong file type, can you give an example link?

Make sure "Always ask you where to save files" is enabled, all content type actions are set to "Always ask" and "What should Firefox do with other files?" is set to "Ask whether to open or save files".

more options

Definitely file types .jpeg and Adobe Acrobat document (pdf) Content actions are set to "Always ask" but firefox still saves the file without asking anything. Here is an example of a link: (see also screen shot: When I click on Nieuwendijk, firefox saves the pdf to Downloads without asking anything) https://www.amsterdam.nl/parkeren/gemeentelijke-parkeergarages/parkeergarages-vergunninghouders/?adres=Nieuwezijds+Voorburgwal+45%2C+1012RD+Amsterdam

more options

Check the list in the Applications box. By default, PDFs are set to "Open in Firefox." You might prefer "Save file" or "Always ask."

more options

Just to clarify, check "Portable Document Format (PDF)" and not one of the Acrobat ones.

more options

In Applications, the PDF is set to "Always Ask" (as is jpeg and more) - nevertheless, Firefox saves the files without asking. So the whole Applications section does not seem to have any purpose. Firefox does what it wants and ignores what I have set Firefox to do.

more options

Your example works for me, clicking the link shows the "What should Firefox do with this file?" dialog when "Portable Document Format (PDF)" is set to "Always ask".

Does it still happen in Troubleshoot Mode?

more options

To zeroknight: I also get the dialog box but AT THE SAME TIME, Firefox ALSO saves it automatically to Downloads without asking me.

more options

To stop Firefox from automatically downloading files without asking, you can follow these steps:

Open Firefox and type "about:preferences" in the address bar and hit Enter. In the Preferences window, click on "General" on the left sidebar. Scroll down to the "Downloads" section. Uncheck the box next to "Always ask you where to save files." By unchecking this option, Firefox will no longer prompt you to choose a download location for each file you download. Instead, files will be automatically saved to your designated download folder without asking for confirmation.

If you prefer to be prompted each time before a file is downloaded, you can leave the "Always ask you where to save files" option checked.

more options

To Muhammad Rikaz Khan: what you're suggesting me to do is exactly what i do NOT want. And you're contradicting yourself: "To stop Firefox from automatically downloading files ..." .... "Instead, files will be automatically saved ..."

more options

whellebrand said

To zeroknight: I also get the dialog box but AT THE SAME TIME, Firefox ALSO saves it automatically to Downloads without asking me.

Aha, now I see what you mean. While Firefox shows the Open/Save/Cancel dialog, it is downloading the file in the background (you will see a file with a .part file extension start to grow in your designated downloads folder). This is because the most common action after starting a download is to Open or Save, and both require saving the file.

I am not aware of a way to prevent Firefox from downloading in the background while the dialog is displayed.

However, if you prefer that Firefox use the Windows Temp folder for the .part files, you can change a little known setting for that. Here's how you access it:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste browser.download.start_downloads_in_tmp_dir and pause while the list is filtered

(3) Double-click the preference (or click the toggle button at the right end of the row) to switch the value from false to true

more options

Set the default action to save without asking and you can use an extension like Android Download Prompt to prevent any downloading.