Hello. I would like to limit the number of browser windows to one. I
haven't been able to find a way to do this through XUL, so I've started
looking through the source. I'm guessing that there's some function
that is always called to create a new browser window. The plan is to
have this function return the current window if another widow is
requested. Does this seem like a reasonable course of action? My best
guess is that I need to deal with nsGlobalWindow, but my search for a
factory or something of that sort hasn't panned out. Can anyone make
some suggestions as to how I can go about acomplishing this? I'm having
trouble piecing together what happens when a browser window is created.
Thanks.
Aaron