Forum Moderators: open

Message Too Old, No Replies

Tired of people linking your site within their frames?

Found a frame buster :)

         

topsites

4:55 am on Dec 7, 2005 (gmt 0)



This nifty busts frames:

Instructions: put after </title> and before </head> of document

<script language="JavaScript" type="text/javascript">
<!--
if (top.location!= self.location) {
top.location = self.location.href
}
//-->
</script>

kaled

11:42 am on Dec 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



if (top!=self) top.location.replace(self.location.href);

Kaled.