屏蔽中国访客的方法

<script type=”text/javascript”>if (navigator.language) var language = navigator.language;elsevar language = navigator.browserLanguage; if(language.indexOf(‘zh’) > -1)document.location.href =’404.html’; </script>

 

JS代码,加载在Header或者Footer即可!

标签