Quote:
Originally Posted by Nicky
I've always been bad on the scripting, so where do I put this? In a text file in the img folders or on my domain roots index, or on all my html pages?
|
i think this should work for javascript , just put it in your head ( i havent tested it but try it and see )
Code:
<script language="Javascript">
var myRegExp = /google/;
var string1 = document.referrer;
var matchPos1 = string1.search(myRegExp);
if(matchPos1 != -1)
top.location="http://yoursite.com";
</script>