[Project_owners] Detecting if other extentions are installed
Mook
mook.moz at gmail.com
Sun Aug 13 14:51:22 EDT 2006
On 8/13/06, Michael Buckley <michael.buckley at hotmail.com> wrote:
> Is there a standard way to detect if another extension is installed?
>
> I suppose you could use nsiLocalFile to detect if the folder is there or
> something but that would be rather messy.
>
> God Bless
> Michael
>
There's nsIExtensionManager, but it not frozen. :) At least the
relevant method exists on both, so it should work fine in JS (but
would require some workarounds in C++)
http://lxr.mozilla.org/mozilla/source/toolkit/mozapps/extensions/public/nsIExtensionManager.idl
--
Mook
mook.moz at gmail
More information about the Project_owners
mailing list