其他分享
首页 > 其他分享> > 网页打开直接跳转

网页打开直接跳转

作者:互联网

<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>welcome</title>
</head>

<body>

</body>
<script>
    if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera| Mini/i.test(navigator.userAgent)) {
        top.location = "   ";
    } else {
        top.location = "    ";
} </script> </html>

标签:iPad,Mini,网页,Opera,top,location,跳转,打开
来源: https://www.cnblogs.com/barry1212/p/15834796.html