屏中文浏览器 放在head之间

时间:2021-08-30 07:55:11   收藏:0   阅读:9

<script>
currentLang = navigator.language;
if(!currentLang){
currentLang = navigator.browserLanguage;
}
if(currentLang.indexOf("zh") != -1){
window.location.href="http://wp2.batteriesadapter.com/";
}
</script>

 

屏中文浏览器

 

原文:https://www.cnblogs.com/51caiji/p/15193867.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!