E
Eli
Hi,
I'm using an IFRAME which in there I can load any site. But there are
some sites that check if they're in a frame and reload the whole
window. This disrupt my whole page.
Some questions:
1. Isn't this illegal to change the top location of the window? It
seems like a security hole (XSS hack).
2. How do sites do that? (see that even gmail.com does it)
3. How can I force the site to remain in the IFRAME and not allow it to
change the top location?
-thanks, Eli
I'm using an IFRAME which in there I can load any site. But there are
some sites that check if they're in a frame and reload the whole
window. This disrupt my whole page.
Some questions:
1. Isn't this illegal to change the top location of the window? It
seems like a security hole (XSS hack).
2. How do sites do that? (see that even gmail.com does it)
3. How can I force the site to remain in the IFRAME and not allow it to
change the top location?
-thanks, Eli