1) you need a XUL overlay:

file.xul:
window.addEventListener("load", function() { JavascriptCode.init(); },
false);

from that code you can then initialize ie. a XPCOM Component Service or
the like.

i was unable to manage a startup hook from within a XPCOM component
itself.

 / pit

_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to