I have a page that should check if it is contained in an iframe or not, whether the page affects the top page.
I tried to do this: if(window == window.parent)and it works for Opera, FF and Chrome, but not for IE. is there any trick in IE that I should use?
source
share