Thursday, August 23, 2012

Javascript break out of frames script

Javascript break out of frames script.
A simple way to break out of frames on page load.

<script type="text/javascript">
if (top != self)
top.location = self.location;
</script>

No comments:

Post a Comment