javascript 判断浏览器客户端
<script type="text/javascript"> $(document).ready(function () { var usAgent = navigator.userAgent.toLowerCase(); if (usAgent.indexOf("android") >= 0 || usAgent.indexOf("iphone") >= 0 || usAgent.indexOf("ipod") >= 0 || usAgent.indexOf("ipad") >= 0) { location.href = "MobileWeb/sqb_mweb_login.aspx"; } else { location.href = "BackWeb/sqb_bweb_login.aspx"; } }); </script>