Hi,

This is a question about how to do something WITHOUT Javascript but I guess this is still the best forum to ask.

There are tons of examples how to break out of frames with Javascript and I thought you couldn't do it without Javascript.

But YAHOO! does it! If you place www.yahoo.com inside an iframe and click on an item in the Navigation (say Autos) it breaks out of the frame even if Javascript is disabled in the browser. Works for both IE and Firefox.

The page redirects with a Location header a couple of times, but I tested that and it's not what is causing it to break out.

To test simply create an html file on your desktop with the following contents:

Code:
<html>
 <body>
  <h1>My Iframe</h1>
  <iframe src="http://www.yahoo.com"></iframe>
 </body>
</html>
Disable Javascript in your browser, open this page and click on any of the links inside, they break of the iframe.

Anyone knows or can figure out how they do it?


Thanks guys
-j