29,027
社区成员
发帖
与我相关
我的任务
分享
var ua = navigator.userAgent;
var chekcer = {
iphone: ua.match(/(iPhone | iPod | iPad)/),
android: ua.match(/Android/)
};
/*if (chekcer.android) {
alert("android");
}
else if (chekcer.iphone) {
alert("iPhone");
}*/
if (chekcer.android || chekcer.iphone) {
}