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

Sudhakar Chandra thaths at openscroll.org
Mon Jan 10 09:56:17 EST 2005


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

I think you could check for window.opener property. If it is empty, the 
window is not a popup.

Thaths
-- 
Lisa: Dad, I think that's pretty spurious.
Homer: Well, thank you, honey.
Slacker Without Borders                        http://openscroll.org/
Key fingerprint = 8A 84 2E 67 10 9A 64 03  24 38 B6 AB 1B 6E 8C E4


More information about the Project_owners mailing list