Quote:
Originally Posted by Jel
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 
|
Thanks Jel

I will try that and see if I can get it to work. TDavid has some real useful work.