爱吾下载 - 努力做内容最丰富最安全的下载站!

爱吾下载站

当前位置:爱吾下载 > 网页制作 > html网页判断手机还是电脑登陆进入

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

发表时间:2015-04-10 16:49作者:zhao人气:更新时间:2025-10-06 23:11:16

<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>

标签html,网页,判断,手机,还是,电脑,登陆,进入,scri

相关下载

查看所有评论+

网友评论

网友
您的评论需要经过审核才能显示

公众号