File types and download actions: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (cat downloads)
m (→‎Resetting download actions: updated link; added caution about deleting the wrong mimeTypes.rdf file)
Line 36: Line 36:
#Find the preference '''browser.download.pluginOverrideTypes''' and,  if it is present, right-click on it and select <u>reset</U>.
#Find the preference '''browser.download.pluginOverrideTypes''' and,  if it is present, right-click on it and select <u>reset</U>.
#Find the preference '''plugin.disable_full_page_plugin_for_types''' and, if it is present, right-click on it and select <u>reset</U>.
#Find the preference '''plugin.disable_full_page_plugin_for_types''' and, if it is present, right-click on it and select <u>reset</U>.
#[[Kill application | Exit the browser]], then open the [[profile folder]] (Windows 2000/XP users, [[Profile_folder#For_Windows_2000_and_XP_users | read this]] for help finding it).
#[[Kill application | Exit the browser]], then open the [[profile folder]] (Windows users, [[Profile_folder#For_Windows_users | read this]] for help finding it).  
#Delete (or rename) the file [[mimeTypes.rdf]].
#Delete (or rename) the file [[mimeTypes.rdf]].  '''Caution:''' There is also a mimeTypes.rdf file in the [[installation directory |program folder]]. Do not delete it by mistake.


==See also==
==See also==

Revision as of 13:23, 27 January 2007


When you download a media file, the MIME type determines what action is taken. Files that are associated with certain plugins like Adobe Acrobat, Quicktime, Windows Media Player and Macromedia Flash will open automatically inside a browser window or in an external player. If no plugin exists, a predefined "helper application" will be used [1] or, if no download action has been defined, you will be prompted to either save the file or open it with a specified application. This article explains how you can change the way downloaded media files are handled.

Changing download actions

This will not affect media embedded in a web page - only links to the files themselves. Note that certain file extensions may include multiple entries, one for each MIME type associated with that type of file.

Firefox 1.0.x

Go to "Tools -> Options -> Downloads".

  • To change the helper application or "save to disk" action, select the file type entry you wish to change and click the 'Change Action...' button.
  • To disable the plugin for downloaded files, click the 'Plug-Ins' button and clear the checkmark for the listed entry. The next time you click a download link to that file type, you will get a dialog box prompting you to choose what action to take.

Firefox 1.5 and later

Firefox 1.5: Go to "Tools -> Options -> Downloads / Download Actions -> View & Edit Actions".

Firefox 2: Go to "Tools -> Options -> Content / File Types -> Manage...".

Select a file type entry and click 'Change Action...'

  • If you want the file to open with the default external program for that file type, select "Open them with the default application"
  • If you want the file to open with an external program other than the default, select "Open them with this application" - you will then be prompted to select an application.
  • If you want the file to be downloaded and saved instead of opened, select "Save them on my computer".
  • If a plugin exists for a file type, you can select "Use this plugin" so that links to files are opened in the plugin. This is the default action when a plugin is available.

Mozilla Suite

Go to "Edit -> Preferences -> Navigator -> Helper Applications", select the entry for the download action you wish to change (the entries will be listed as MIME types) and click the 'Edit' button. Note that Mozilla Suite does not allow you to disable the plugin for downloaded files.

Removing a download action

To remove a helper application or "save to disk" action, select the file type entry you wish to change, as described above, except click the 'Remove' button instead of the 'Change Action...' or 'Edit' button. The next time a file of that type is downloaded, you will be asked what to do with it. Note that the 'Remove' button does not affect file types that are set to open with plugins.

Resetting download actions

If problems arise or if you want to restore the default set of file download actions, do the following [2]:

  1. Type about:config into the address bar.
  2. Find the preference browser.download.pluginOverrideTypes and, if it is present, right-click on it and select reset.
  3. Find the preference plugin.disable_full_page_plugin_for_types and, if it is present, right-click on it and select reset.
  4. Exit the browser, then open the profile folder (Windows users, read this for help finding it).
  5. Delete (or rename) the file mimeTypes.rdf. Caution: There is also a mimeTypes.rdf file in the program folder. Do not delete it by mistake.

See also