Boris Zbarsky wrote:
>> How can I identify whether I'm inside an iframe?
> See if window.parent is defined.

Since I'm working out of an XUL overlay, the window
is always the same. I can check whether
evt.target.ownerDocument== window._content.document

But that doesn't tell me whether it's an iframe or a
regular frame.


Reply via email to