摘要: var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端 var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端 if(isAnd... 阅读全文
posted @ 2017-03-27 15:15 fiona118 阅读(336) 评论(0) 推荐(0) 编辑