Framekiller
From Wikipedia, the free encyclopedia
Framekiller is a term commonly used for a piece of JavaScript code that doesn't allow a Web page to be displayed within a frame. A frame is a subdivision of a Web browser window and can act like a smaller window, as described in Web site Framing. This kind of script is often used to prevent a frame from an external Web site being loaded from within a frameset without permission.
The typical source code for a framekiller script is:
<script type="text/javascript">if (top!=self) top.location.href=self.location.href;</script>