var isAndroid = /android/i.test(navigator.userAgent); //安卓
var isIos = /ipad|iphone|mac/i.test(navigator.userAgent); //苹果
var onLine = navigator.onLine;//判断是否连接网络
var location = navigator.geolocation; //获取用户地理位置
js 判断手机系统的方法
最新推荐文章于 2022-06-02 14:55:30 发布