Quick Search:
 
 JavaScript: Prevent framing a page Jump to:  
Category: >> JavaScript >> Prevent framing a page  

<< lastnext >>

Snippet Name: Prevent framing a page

Description: Stops people from "framing" your pages and presenting them as their own.

Comment: (none)

Language: JAVASCRIPT
Highlight Mode: JAVASCRIPT
Last Modified: February 27th, 2009

<script type="text/javascript">
FUNCTION breakout(){
   IF (top.location != location) {
     top.location.href = document.location.href ;
   }
}
</script>
<body onload="breakout()"> 


 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org