Uninstalling add-ons

From MozillaZine Knowledge Base
Revision as of 02:14, 29 August 2004 by Asqueella (talk | contribs) (update links)
Jump to navigationJump to search

Firefox Extension Manager

Extension Manager in Firefox 0.9 and above is capable of uninstalling extensions. It is available as Tools -> Extensions menu item.

If you can't uninstall an extension with the EM in Firefox 0.9 or later, it means that:

  • The extension in question is "locked" (the uninstall button/menu item is disabled). An example of such extension is DOM Inspector. You'll have to unlock it before uninstalling.
  • The extension was not packaged for Firefox 0.9 or later (it has a red "generic" icon or not listed in the EM at all). You'll have to uninstall it manually or using an extension uninstaller (see the sections below). The general recommendation is: create a new profile for 0.9 and only install repackaged extensions in it.
  • Or you've got bitten by a bug in the Extension Manager ("This item will be uninstalled after you restart Firefox" forever) and/or the extension in question was poorly packaged. Do not use uninstaller extensions in this case. Either start a new profile or try uninstalling manually (see section below).

Uninstalling manually

Until the uninstall feature for extensions is implemented (bug 170006), use this procedure to uninstall extensions:

  1. Exit Mozilla Firefox.
  2. Browse to the "chrome" directory of your Mozilla Firefox application directory.
  3. Delete "chrome.rdf" and the "overlayinfo" directory (they will regenerated on next Firefox startup).
  4. Delete [extensionname].jar (or the [extensionname] directory, if it has one).
  5. Remove every line with a reference to [extensionname] from "installed-chrome.txt". Usually there are two: one to the content and one to the locale.
  1. A few extensions might use additional files. TBE, for examplem has a "tabextensions.js" in "[/path/to/firefox]/defaults/pref/" to store its defaults in. Search through your application dir for such files and delete them.
  2. Restart Mozilla Firefox.

It's probably a good idea to make backups of the files/directories before deleting/changing anything to be able to restore the status quo in case anything goes wrong.

Note: The procedure above applies only to extensions that are installed in the application directory. To remove extensions from the profile, your safest course of action is to create a new profile and transfer over files from the previous one.

Extensions

Do not use these extensions if you get the "This item will be uninstalled after you restart Firefox" message (after uninstalling and restarting Firefox) in extension manager! Start a new profile or follow the steps in "Uninstalling manually" section instead.