This content covers features introduced in Thunderbird 3
The extIExtensions
interface represents a list of all installed extensions. extIExtensions
is defined in toolkit/components/exthelper/extIApplication.idl
.
Implemented via XPCOM service for extIApplication
: see the instructions on the FUEL (Firefox), STEEL (Thunderbird) and SMILE (SeaMonkey) pages.
Please note that as of Firefox 4.0 or Thunderbird 3.2, this interface is no longer available through Application.extensions
. You shall use the new add-on manager instead. Please see http://www.oxymoronical.com/blog/2010/03/How-were-breaking-some-extensions-in-the-near-future for details until the proper documentation is added to MDC.
Method overview
boolean has(in AString aId) |
extIExtension get(in AString aId) |
Attributes
Attribute | Type | Description |
all | readonly attribute nsIVariant | Array of extIExtension listing all extensions in the application. |
Methods
has()
Determines if an extension exists with the given id.
boolean has(in AString aId)
Parameters
aId
- The id of an extension
Return value
true if an extension exists with the given id, false otherwise.
get()
Gets an extension object with the given id.
extIExtension get(in AString aId)
Parameters
aId
- The id of an extension
Return value
An extension object or null
if no extension exists with the given id.