james250
Newbie
- Aug 25, 2010
- 48
- 1
Code:
<head>
<script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
<script type="text/javascript">
switch(geoplugin_countryCode()){
case "US" :
document.location.href = "https://yahoo.com/";
break;
case "GB" :
document.location.href = "https://yahoo.com/"
break;
case "CA" :
document.location.href = "https://yahoo.com/"
break;
default :
document.location.href = "https://google.com/"
break;
}
</script>
</head>
thanks