var is_azpg = (function () { var u = navigator.userAgent; if (u.indexOf('Android') > -1 || u.indexOf('Adr') > -1) { return true; } if (!!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)){ return false; } })();
判断手机是苹果还是安卓
最新推荐文章于 2024-04-18 04:14:57 发布
var is_azpg = (function () { var u = navigator.userAgent; if (u.indexOf('Android') > -1 || u.indexOf('Adr') > -1) { return true; } if (!!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)){ return false; } })();