NameSilo

Simple JavaScript to break out of Frames

SpaceshipSpaceship
Watch

deadserious

Established Member
Impact
6
Code:
<script language="JavaScript" TYPE="text/javascript">
<!--
function fB()
{
if (top.location != location) {
top.location.href = document.location.href ;
  }
}
-->
</script>

You can place that in the head section of you Webpage and if somebody trys including your website in their frames it will break out out of them and put your page in it's own window. :D
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back