Eric
I would prefer not to have to do the XPCOM, can you point me to some
examples of how to do it another way.
Thanks
Eric H. Jung wrote:
You
don't need an XPCOM component to execute code at startup and shutdown.
But to answer your question, you can use mozIJSSubScriptLoader to load
the JS which has the functions you're already written.
-----
Original Message ----
From: Trevor Hobson <[EMAIL PROTECTED]>
To: Mozdev Project Owners List <[email protected]>
Sent: Monday, April 14, 2008 10:55:09 PM
Subject: [Project_owners] XPCOM help
Greetings all
I would like my extension to have the ability do some tasks when the
first browser window is opened and when the last is closed. As part of
the current functionality of the extension these tasks are done
manually when when the user requests them, this functionality will not
be changed.
I have created a simple XPCOM component that runs code on first load
and last close. What I want to know is what is the best way to achieve
the desired functionality without duplicating the current code?
Thanks
Trevor
between 0000-00-00 and 9999-99-99
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners
|
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners