<script>
// 如果不是PC站,跳转到手机设备
if ((/Android|webOS|iPhone|iPod|BlackBerry|iPad/i.test(navigator.userAgent))) {
window.location.href = "跳转地址写成网站的手机站地址";
}
</script>
判断pc端登陆还是手机端登陆的js
最新推荐文章于 2022-07-24 00:27:42 发布
<script>
// 如果不是PC站,跳转到手机设备
if ((/Android|webOS|iPhone|iPod|BlackBerry|iPad/i.test(navigator.userAgent))) {
window.location.href = "跳转地址写成网站的手机站地址";
}
</script>