I have a framed window (currently iframe but may possibly be frame) - I do not have control over this.
I would like to detect if my content is inside an iframe (or frame).
I wanted to compare the location of the current document with the one the top object holds but it appears it is the same object (top === window).
After extensive googling I got to this IEMobile blog entry and in one of the comments there is this answer:
iemoblog said:
No, you can't access any part of the parent's DOM from script in an iframe in IE Mobile.
December 20, 2007 12:12 PM
I can't seem to find any documentation about this - can anyone help confirm this or even better - suggest a way to detect if the page is "framed"?