Hello,
I'm writing a JavaScript XPCOM component (actually service) for a Firefox add-in, and would like to be able to use some of the JS functions that come with Firefox (globalOverlay.js, utilityOverlay.js, etc.). Is there an easy way to do this? I can see that from XUL you can just <script src="chrome://.../utilityOverlay.js" /> but obviously I can't do that from a .js file.
If absolutely necessary I was thinking I could initialize the service from an overlay by importing the functions and then passing them as values into the service. Would that work? Is there an easier way?
Thanks, Joe Cheng _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
