We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

ExtensionManager (Toolkit)

This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

The ExtensionManager follows the nsIExtensionManager API.

Note: This API is obsolete starting in Gecko 2.0, and has been replaced by the new Add-on Manager.


Here is how to retrive all the extensions installed:

var em = Cc['@mozilla.org/extensions/manager;1']
const nsIUpdateItem = Ci.nsIUpdateItem;

var extension_type = nsIUpdateItem.TYPE_EXTENSION;
items = em.getItemList(extension_type, {});
items.forEach(function(item, index, array) {
    alert(item.name + " / " + item.id + " version: " + item.version);

Document Tags and Contributors

Contributors to this page: teoli, kscarfone, Sheppy, madarche
Last updated by: kscarfone,