Change what Firefox does when you click on or download a file
This article will describe how Firefox handles downloads for different types of files and how you can change that behavior.
- For help with download problems, 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 that Firefox uses, see Change the program used to open email links.
Table of Contents
When you click a link to download a file, the Internet Media type, also called the MIME type or Content type, determines what action Firefox will take. You may already have an application or plugin installed that will automatically handle the download. Other times, you may see a dialog asking whether you want to save the file or open it with a specific application. When you tell Firefox to open or save the file and also check the option to "Do this automatically for files like this from now on" (see below), a new Content Type and Action entry for that type of file will appear in the Applications panelApplications section of the in Firefox panelOptionsPreferences .
Changing download actions
You can change what action Firefox 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 choose . .
- Select the panel.In the panel, go to the Applications section.
- Select the entry for the file type you want to change. Multiple entries for the same file format or extension? Some file types can include more than one Internet Media type.
- The Action column will give you a drop-down menu, with options on action to take, whenever you click that type of file.
- Preview in Firefox: Select this if you want Firefox to display the content. It's only applicable to a limited number of types, those that Firefox is able to decode such as Podcast, Video Podcast, Web Feed, and PDF.
- Always ask: This will prompt you to select what action you want Firefox to take when you click on that type of file. This can be useful if Firefox is automatically saving a file type or is always opening it with a certain program and you want to be asked what to do.
- Save File: This will always save the file to your computer using the Downloads window, whenever you click that type of file.
- Use ... : Open the file with an application or plugin of your choosing.
- Close the about:preferences page. Any changes you've made will automatically be saved.
Adding download actions
When you click on a link for a type of file that doesn't have a set content type and download action, Firefox will ask you how to handle the file:
- Open with: Saves the file to a temporary folder and opens it in the default application for that file type. To select an application, click .
- Save file: Saves the file to the download folder (specified in the GeneralGeneral panel of Firefox OptionsPreferences).
- Do this automatically for files like this from now on: Check mark this setting and then click to add a new entry to the Content Type list for that file type.
Resetting download actions for all content types
If you are having problems with how Firefox 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 manually deleting the file that stores these settings.
Open your profile folder:
Click the menu button , click help Click the menu button , click and select . The Troubleshooting Information tab will open.
Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.
- Under the Application Basics section, click on A window will open that contains your profile folder.Your profile folder will open. .
- Close Firefox.
Click the menu button and then click ExitQuit .
Click the Firefox menu , then click .Click the Firefox menu at the top of the screen, then click .Click the Firefox menu , then click .
- Delete (or rename) the mimeTypes.rdfhandlers.json file.
- Restart Firefox.
Last Update: 2017-12-25