Uninstalling add-ons

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 03:11, 29 August 2004
Asqueella (Talk | contribs)
(the new EM is in TB0.7 too.)
<-- Previous diff
Revision as of 03:13, 29 August 2004
Asqueella (Talk | contribs)
("This also applies to Thunderbird 0.7 and above" was a bad idea, given that page is in global)
Next diff -->
Line 1: Line 1:
-''This also applies to Thunderbird 0.7 and above''+ 
===The New Extension Manager=== ===The New Extension Manager===

Revision as of 03:13, 29 August 2004


The New Extension Manager

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

If you can't uninstall an extension with the new EM, 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 the new EM (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 Firefox 0.9 / Thunderbird 0.7 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

It's 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.

First, determine if the extension is installed in profile or in an appllication directory. For Firefox 0.9 and above the default is profile installation.

Removing profile-installed extension (draft)

  1. Exit Mozilla Firefox (make sure it is not listed in Task Manager[win])
  2. Browse to your Profile Folder.
  3. Remove Extensions\{GUID}
  4. Edit extensions\extensions.rdf
  5. Edit the chrome\chrome.rdf
  6. Edit chrome\overlayinfo
  7. Edit components.ini and defaults.ini
  8. compreg.dat and xul.mfl?

Removing a globally-installed extension

This section is outdated

  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.
  6. 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.
  7. Restart Mozilla Firefox.

Uninstaller Extensions

These extensions are useful for Firefox (pre-0.9), Thunderbird (pre-0.7) and Mozilla Suite users.

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.