Manage file types and download actions in Waterfox
This article describes how Waterfox handles downloaded files for different types of content, such as saving a file or opening an application installed on your computer, and how you can change that behavior.
- For help with problems downloading files, see What to do if you can’t download or save files.
- For help with embedded media on web pages, see Fix common audio and video issues.
- For help changing the e-mail program Waterfox uses, see Change the program used to open email links.
File types and download actions
When you click on a link to download a file, you may see a dialog asking whether you want to save the file or open it with a specific application, if there is no download action already set for that file type. The Media type, also called the MIME type or Content type, as configured by the web server, will determine what action Waterfox will take.
Waterfox will not be able to properly handle a file if a misconfigured web server sends it with an incorrect content type. For example, Waterfox may display the content as plain text instead of opening the file in an application. To learn more, see Properly configuring server MIME types and Common MIME types at MDN web docs. You can contact the website in such cases, or you can try a Waterfox add-on such as Content-Type Fixer to work around the problem. (If you use an add-on and need help with it, you should visit the add-on site or contact the add-on developer for support.)
When you tell Waterfox to open or save a file and also check the option “Do this automatically for files like this from now on” in the “What should Waterfox do with this file?” prompt, (see below) a new Content Type and Action entry will be added to the General panel Applications section of Waterfox settings.
Waterfox treats links to some types of media files, such as .mp3 files, the same way it treats .txt and .html links, by handling them internally. You will not be asked what to do with the file (unless the file is assigned “Content-Disposition: attachment” by the web server). Instead, the file will open and play in Waterfox, with a control bar displayed to manage playback (see this article for details). Waterfox only uses Applications settings to determine what action is taken when a file is treated as a download (see below).
Changing download actions
You can change what action Waterfox takes for defined content types. This will not affect media embedded in a web page – only links to the files themselves.
-
Click the menu button and select Settings.
-
In the General panel, go to the Applications section.
-
Select the Content Type entry for action you want to change. (You might see more than one entry for the same file format or extension because some types of files include multiple content types.)
-
The Action column will give you a drop-down menu, with options on the action to take.
-
Close the about:preferences page. Any changes you’ve made will automatically be saved.
Adding download actions
When you click on a link and Waterfox doesn’t have a content type and download action set up for that type of file, Waterfox will ask you how to handle the file by showing you the following prompt:
“What should Waterfox do with this file?” prompt
You will also see this prompt for download actions set to Always ask in Waterfox Applications settings (see above). For content types that can be set to Open in Waterfox (PDF, XML, SVG, and WebP Image files), an Open with Waterfox option will also be available, in addition to the other options described below.
- Open with: Saves the file to a temporary folder and opens it in the operating system’s default application for that file type. (You can also use the drop-down menu to choose another application.)
- Save File: Saves the file to the download folder (specified in your Waterfox Options in the General panel Downloads section).
- Do this automatically for files like this from now on: Check mark this option to always take the selected action and then click OK. This will add a new entry to the Content Type list of download actions.
Is Do this automatically for files like this from now on disabled? This can happen if the website’s server incorrectly specifies the Internet Media type of the file. It also can happen if the server assigns “Content-Disposition: attachment” to the file.
Do not choose Waterfox as a helper application to always open the file type, as this can cause a problem where Waterfox repeatedly opens empty tabs or windows after you click on a link.
”What should Waterfox do with this file?” prompt does not show an application
The “What should Waterfox do with this file?” prompt may not show a default application for some file types you download in the Applications section of Waterfox settings. You can click the Browse… button to choose an application installed on your computer to open the file.
Resetting download actions for all content types
If you are having problems with how Waterfox is handling file downloads that you can’t resolve, or if you just want to start fresh, you can restore the default content types and actions by refreshing Waterfox. To learn more, see Refresh Waterfox - reset add-ons and settings.
Modified from Manage file types and download actions in Firefox. Original by Mozilla Contributors. Licensed under the CC BY-SA 3.0.