MozillaZine

Uninstalling add-ons

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 02:24, 29 August 2004
Asqueella (Talk | contribs)
(tweak header)
<-- Previous diff
Revision as of 03:04, 29 August 2004
Asqueella (Talk | contribs)
(draft)
Next diff -->
Line 8: Line 8:
===Uninstalling manually=== ===Uninstalling manually===
-Until the uninstall feature for extensions is implemented ([http://bugzilla.mozilla.org/show_bug.cgi?id=170006 bug 170006]), use this procedure to uninstall extensions:+ 
 +'''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)====
 +<ol>
 +<li>Exit Mozilla Firefox (make sure it is not listed in Task Manager[win])</li>
 +<li>Browse to your [[Profile Folder]].</li>
 +<li>Remove Extensions\{GUID}</li>
 +<li>Edit extensions\extensions.rdf</li>
 +<li>Edit the chrome\chrome.rdf</li>
 +<li>Edit chrome\overlayinfo</li>
 +<li>Edit components.ini and defaults.ini</li>
 +<li>compreg.dat and xul.mfl?</li>
 +</ol>
 + 
 +====Removing a globally-installed extension====
 +''This section is outdated''
 + 
# Exit Mozilla Firefox. # Exit Mozilla Firefox.
# Browse to the "chrome" directory of your Mozilla Firefox application directory. # Browse to the "chrome" directory of your Mozilla Firefox application directory.
Line 14: Line 33:
# Delete [extensionname].jar (or the [extensionname] directory, if it has one). # Delete [extensionname].jar (or the [extensionname] directory, if it has one).
# 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. # 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.
- 
# 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. # 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.
# Restart Mozilla Firefox. # 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 [[Profile Folder | create a new profile]] and [http://gemal.dk/mozilla/files.html transfer over files] from the previous one. '''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 [[Profile Folder | create a new profile]] and [http://gemal.dk/mozilla/files.html transfer over files] from the previous one.
 +-->
===Uninstaller Extensions=== ===Uninstaller Extensions===

Revision as of 03:04, 29 August 2004

Contents

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

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

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.