摘要: /判断手机横竖屏状态: function hengshuping(){ if(window.orientation==180||window.orientation==0){ alert("竖屏状态!") } if(window.orientation==90||window.orientation... 阅读全文
posted @ 2015-11-16 11:12 smght 阅读(334) 评论(0) 推荐(0)
摘要: 先来观察 iOS 的 User-Agent 串: iPhone 4.3.2 系统:Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_2 like Mac OS X; en-us)AppleWebKit/533.17.9 (KHTML, like Gecko) Ver... 阅读全文
posted @ 2015-11-16 10:57 smght 阅读(1959) 评论(0) 推荐(0)
摘要: 转载地址:http://caibaojian.com/browser-ios-or-android.html 阅读全文
posted @ 2015-11-16 10:48 smght 阅读(730) 评论(0) 推荐(0)