[Project_owners] Detecting if other extentions are installed

Michael Buckley michael.buckley at hotmail.com
Sun Aug 13 18:12:17 EDT 2006


Mook wrote:
>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
>
>
Thanks mook.  As long as it works in JS, that is fine.  I not quite up
to using C   yet.  Thought I going to have to learn how some time soon.
JavaScript's handling of Regular Expressions dose not have every thing
that I could wish for.

God Bless
Michael

_________________________________________________________________
realestate.com.au: the biggest address in property   
http://ninemsn.realestate.com.au



More information about the Project_owners mailing list