Manage file types and download actions in Firefox

Revision Information
  • Revision id: 146028
  • Created:
  • Creator: AliceWyman
  • Comment: update for fx56, new screenshots for fx53-fx55 and fx56, other edits
  • Reviewed: Yes
  • Reviewed:
  • Reviewed by: AliceWyman
  • Is approved? Yes
  • Is current revision? No
  • Ready for localization: Yes
  • Readied for localization:
  • Readied for localization by: AliceWyman
Revision Source
Revision Content

This article will describe how Firefox handles downloads for different types of files and how you can change that behavior.

Download actions

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), an entry for that type of file appears in the Applications panel of your Firefox Settings General panel of your Firefox Settings under the Applications section.

Changing download actions

This will not affect media embedded in a web page - only links to the files themselves.

  1. In the Menu bar at the top of the screen, click Firefox and then select Preferences or Settings, depending on your macOS version.Click the menu button Fx89menuButton and select Settings.
  2. Select the Applications panel.In the General panel, navigate to the Applications section.
  3. Select the type of file for which you want to change the default action.
    Multiple entries for the same file format or extension? Some file types can include more than one Internet Media type.
  4. The Action column will give you a drop-down menu, with options on action to take, whenever you click that type of file.
    Applications panel 38Fx54ApplicationsPanelFx56General-Applications
    • Always ask: 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: will always save the file to your computer using the Downloads window, whenever you click that type of file.
    • Open the file with an application or plugin of your choosing.
  5. The template "closeoptionspreferences" does not exist or has no approved revision.

Adding download actions

  1. On the web, find a link to a file matching the type you want to add.
  2. Click on the file link to download it.
  3. Select how you want Firefox to handle the file:
  4. In the Opening file window, check mark Do this automatically for files like this from now on.
    Fx4WinOpeningFileMacOpeningFile
  5. Click OK.
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.