2

When downloading a file, Firefox pops up a window asking to confirm if the file should be saved or some other action should be taken.

I would like Firefox to download all files of any type without showing this window. I do not want to spell out automatic saving for each type of file individually (also, this checkbox does not even show up on my machine).

Firefox is configured to save all files to a download directory. I removed the option to open a file using browser.download.forbid_open_with but the window still appears, with the only ways to proceed being saving (by OK) or canceling.

Is there a way to, basically, have Firefox 'click' the OK automatically for me?


As for previous questions about this topic, I'm afraid these pertain to old/ancient versions of Firefox and the answers no longer apply. In particular that applies to this, this, this and this. (mimeTypes.rdf is no longer used, ASF is not supported with Firefox anymore, the DTA extension does not exist anymore, ContentDisposition is not the problem, and it should be general instead of a per-extension basis.)

mafu
  • 2,855

1 Answers1

1

From the about:Config list, try

browser.download.useDownloadDir Set this to true.

browser.download.useDownloadDir screenshot

This finally allows the downloaded file to silently be added to the WaterFox download list without any Save As prompt.

The accepted answer still works, even if one-by-one. neverAsk.saveToDisk still works for a list of MIME types. Alt+Click still works. I don't believe there is anything else. – @harrymc

I tried many other answers from older posts, and none of them seemed to work. I was able to get rid of the initial dialog box (Open With or Save) by getting the MIME type listed with the help of a tool Content-Type Fixer. But the Save As dialog box just kept showing up...Which is very annoying when you are downloading a lot of known files within the browser

And no, I did not want to use download manager for these files, although those are helpful for other files.

Interestingly enough, the silent add to the download list was default behavior until about 4 months ago in WaterFox (Based on Mozilla browser).

I did not get to try neverAsk.saveToDisk because browser.download.useDownloadDir solved the problem.

Jon Grah
  • 653