摘要: /** * 判断浏览的设备是否为移动设备 */ function isMobileDevice() { var sUserAgent = navigator.userAgent.toLowerCase(); var bIsIpad = sUserAgent.match(/ipad/i) == "ip 阅读全文
posted @ 2016-06-24 16:42 sunsian 阅读(231) 评论(0) 推荐(0) 编辑