View Single Post
Old 10-15-2006, 11:38 AM  
BV
wtf
 
BV's Avatar
 
Industry Role:
Join Date: Sep 2001
Location: Bikini State, FL USA
Posts: 10,914
try this one:


<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var refarray = new Array();
refarray['excite.com'] = "http://www.domain.com?from=excite";
refarray['google.com'] = "http://www.domain.com?from=google";
refarray['yahoo.com'] = "http://www.domain.com?from=yahoo";
refarray['altavista.com'] = "http://www.domain.com?from=altavista";
refarray['alltheweb.com'] = "http://www.domain.com?from=alltheweb";
refarray['msn.com'] = "http://www.domain.com?from=msn";
refarray['lycos.com'] = "http://www.domain.com?from=lycos";
refarray['infoseek.com'] = "http://www.domain.com?from=infoseek";
for (var i in refarray) {
if (document.referrer.indexOf(i) != -1) window.location.replace(refarray[i]);
}
// End -->
</script>
BV is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote