Howto unframe web pages using JavaScript
From LinuxReviews
These are some JavaScript ways of making your site gets the full browser window when people lcick to your site from one of those sites who open the sites they link to in framed windows (like google images).
[edit] The JavaScript
<source lang="js"> <script type="text/javascript"> if (top.location != location) { top.location = location; } </script> </source>
A less clean way of doing it:
<source lang="js"> <script type="text/javascript"> </script> </source>