摘要: var ua = navigator.userAgent.toLowerCase(); if (/iphone|ipad|ipod/.test(ua)) { alert("苹果"); } else if (/android/.test(ua)) { alert("安卓"); } //判断是否是微信浏 阅读全文
posted @ 2016-04-18 14:52 万物皆object 阅读(140) 评论(0) 推荐(0) 编辑