[Project_owners] How do I that a window is a popup window

Henrik Gemal spam at gemal.dk
Mon Jan 10 12:00:30 EST 2005

Net One wrote:
> How can I determine if the current window is a popup window (Like the
> Gmail compose mail window)?
> Thanks!

This could/should be used in Firefox to determain which window to open 
links from other applications in.
If it's a popup window open a new window and dont use the popup window 
to create a new tab in.

Henrik Gemal
Mozilla Evangelist

Mozilla Blog with news, devinfo, links, etc:

More information about the Project_owners mailing list