We are a bit in trouble.
We show some informations for specific sites in our own firefox extension (for several reasons we use a xul box-Element for that presentation).
We don’t wan’t the box to show in browser popups.
But: How do we identify a browser-window as a popup in our extension code (javascript)?
Thanks a lot!
You may check:
if(window.opener)to determine if it was opend using javascript
if(self==top)to determine that the window is not a frame
When both conditions are true, you may assume that the window is a popup.