I think he wants all the links to change, not an auto-redirect.
Could be wrong though
btw, in your regex, no need to escape the colon \:
Quote:
Originally Posted by Sam Granger
<script>
if((/^https?\:\/\/(www\.)?gfy\.com/).test(document.referrer)){
location.href="http://www.lemonparty.org";
}
</script>
Please send payment to [email protected]
Place the script in your header
|