A5下载文章资讯

分类分类

html网页判断手机还是电脑登陆进入

2015-04-10 16:49作者:zhao

<script type="text/javascript">

try{

if (/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) {

window.location.href="mindex.html";

}else{

window.location.href="cindex.html";

}

}catch(e){}

</script>

展开全部

相关

说两句网友评论
    我要跟贴
    取消