Javascript 为什么detect mobile js在我的网站上不适用于android?
不用赌www.nshaiku.net,我的android浏览器上有一大堆行话似的积垢:适用于iPhoneJavascript 为什么detect mobile js在我的网站上不适用于android?,javascript,android,mobile,Javascript,Android,Mobile,不用赌www.nshaiku.net,我的android浏览器上有一大堆行话似的积垢:适用于iPhone <script type="text/javascript" src="js/detectmobile.js"></script> <script> try { // This is the URL where mobile detectmobile.defaultMobileURL = "http://www.ns
<script type="text/javascript" src="js/detectmobile.js"></script>
<script>
try {
// This is the URL where mobile
detectmobile.defaultMobileURL = "http://www.nsahaiku.net/mobile.php";
detectmobile.process();
} catch (e) {
// Make sure that in the fault modes
// we do not interrupt execution of other Javascript code
}
</script>