|
|
|
|
|
|
|
|
|
#30 |
|
I'm the only guy in the world who has to wake up to have a nightmare
Join Date: Feb 2004
Location: London, United Kingdom
Posts: 1,895
|
Doesn't this piece of code in your head tags prevent your page being loaded in a frame?
<script language="Javascript"> var domaincheck=document.location.href var accepted_ok=false if (domaincheck.match ("http:\/\/www.yourdomain.com")){ accepted_ok=true } if (domaincheck.match ("http:\/\/yourdomain.com")){ accepted_ok=true } if (!accepted_ok){ window.location='http://www.yourdomain.com/' } </script> (Sorry I couldn't get it to paste correctly in a code, php, or even quote tag) That is from TDavid Kalle ![]() |
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|