Antoine Julien wrote:
Daniel Kirsch wrote:
alert(navigator.vendor)
That is good for a javascript function, but I was talking about a C++
XPCOM function (such as myComponentRegistration(), which gets called
automatically from XPInstall)
It could also be acceptable to figure it out in javascript from the
install.js file, but the document object does not seem to exist at that
point, and I get a script error when I try to install a component while
trying to access the document object in intall.js.
Thanks.
A.
(replace "document object" by "navigator object", the rest still applies)
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom