[Project_owners] Initialising an extension once per session

Brian King brian at mozdev.org
Tue Jul 8 06:20:04 PDT 2008


massey wrote:
> Couldn't you just check to see if another browser window is open with 
> nsIWindowMediator in the initialization routine and exit if another 
> window is already open?

Sure, but it sounds like a hack. An ad window, for instance, could popup 
before then and prevent the initial run.

- Brian


More information about the Project_owners mailing list