return to homepage

Scripts: Javascript

Frame Breakout Script

This little script prevents your site being forced into frames by other sites. It checks to see if the page is the main window page (window.location), if not it makes it so.

Simply cut and paste the following JavaScript into the <HEAD></HEAD> portion of each web page.

<SCRIPT LANGUAGE="Javascript">
<!--

 if (window.location != top.location) {top.location.href=window.location}

// -->
</script>