Tag Archives: firefox

Force Firefox to prompt to save mp3 and videos rather than play them in the browser

You might have noticed that in a lot of Firefox versions the browser starts playing .mp3, or other sound/video formats, directly in the browser rather than displaying a prompt asking if you want to save the file. Moreover, setting the format under Tools > Options > Applications to either Always ask or Save File doesn’t really change this behavior.

Firefox Application Options

Luckily there is a workaround to alter this functionality.

  1. Enter about:config in your Firefox’s address bar and press enter.
  2. Search for media.windows-media-foundation.enabled
  3. Set the value of the property to false

media.windows-media-foundation.enabled

And you are done. Now everytime you click on an .mp3 file or any other format that is supported by Windows media foundation you should get a prompt asking you if you want to save the file or if you want to open it directly.

Clear download list in Firefox

Firefox by default never clears the download list automatically. If you wish change the way Firefox works so it will clear the downloads either automatically upon download complete or when Firefox closes following the next steps.

  1. Type about:config in your address bar
  2. Search for browser.download.manager.retention
  3. Set its value to either 0, 1 or 2 depending on how you Firefox to behave

0 indicates that the download should be removed upon completion.
1 indicates that completed and canceled downloads should be removed when Firefox closes.
2 indicates that downloads should never be removed automatically. (default)

How to disable plugin-container

Plugin-container.exe is a Firefox process that is used to load plugins separately so if a plugin crashes for whatever reason, Firefox won’t be affected by the crash and will stay responsive.

Since there are a lot of people experiencing problems with the plugin-container process I wanted to provide you with two easy methods for disabling it.

In older versions of Firefox it was possible to disable plugin-container.exe by following the steps below.

First method

  1. Enter about:config in your address bar
  2. Search for dom.ipc.plugins.enabled
  3. Set their values to false

Sadly the above method doesn’t seem to work anymore with the newer versions of Firefox. Luckily there is a different workaround which can achieve the same exact result by setting a system or a user environment variable. Follow the steps below if the first method did not work for you.

Second method

  1. Right click on your computer icon on the desktop and click properties
  2. Go to Advance system settings
  3. Click the button called "Environment Variables"
  4. Click the “New” button under User variables or System variables depending if you want the change to affect all the users on the system or just the one you are currently logged as
  5. Set the variable name to MOZ_DISABLE_OOP_PLUGINS and its value to 1

And that is all you have to do. Now simply restart Firefox and you will notice that the plugin-container.exe process will not be used any more.

Force Firefox 20 to use the old download manager

Mozilla released Firefox 20 a few days ago that came with various new features such as:

  • a new per-window Private Browsing feature
  • a new download manager
  • the ability to close unresponsive plugins without the need to restart the browser

Sadly my personal opinion about the new download manager feature isn’t very good. The new manager seems to be very user unfriendly and from what I can see there isn’t an option in the settings to clear a download file from the history automatically after the file has been downloaded. Luckily there is an easy solution for this for those that would like to revered back to the old download manager design.

  1. Type about:config in your address bar
  2. Search for browser.download.useToolkitUI
  3. Set its value to true

Now everytime you download something the old version of the download manager will start instead of the new one.

browser.download.useToolkitUI

If you also want to remove the new download button that was added in this new version simply right click on the bar, click Customize… and drag and drop the button you don’t want into the customize toolbar list that will appear.