Patrick McHale wrote:
> Well - not quite. Thanks for the info but I am still not able to access
> functions like navigator.javaEnabled() etc
> when doing Mozilla / Netscape component software updating via an XPI file.
> The install.js file produces an
> error in the install.log file saying it doesn't recognise the above and
> other javascript commands. Just wondered
> if anyone know's how to do this. I realise that ther have been some issues
> raised in other postings - to do with running
> Javascript commands like this within an XPI install file - but just need to
> know a method around this or another
> correct method of achieving this.
There were a lot of issue exposing the standard browser objects to the
install context. Anything you're trying to accomplish using them will have
to be added specifically to the install context in some manner. The
likelihood of that happening depends on how many people have the same need
or if someone volunteers to do the work.
-Dan Veditz