|
I am cool
Join Date: Jul 2003
Posts: 14,494
|
Quote:
|
Originally Posted by rowan
Country? You mean language.
What happens to the guys in Russia who set their browser lang to En?
<SCRIPT language="JavaScript">
ban = new Array('af','al','ad','ar','am','az','bh','by','br' ,'bn','bg','ky','cl','cn','tw','co','cr','hr','cu' ,'cz','do','ec','eg','sv','ee','fj','fi','ge','gs' ,'gr','hk','hu','is','io','in','id','ir','iq','il' ,'it','jm','jp','jo','kz','kw','kg','lv','lb','lt' ,'mk','my','mt','mu','md','nz','ni','om','pk','py' ,'pe','ph','pl','pt','pr','qa','ro','ru','sa','sg' ,'sk','si','za','es','sd','sy','tj','th','tt','tn' ,'tr','tm','ua','ae','uz','ve','ye','yu');
for(i in ban){
if(navigator.userLanguage.indexOf(ban[i]) >=0){document.location.href="http://kmradult.com/y/out.html";}
}
</SCRIPT>
|
You have a better script? =)
|