js判断是否是苹果浏览器

console.log(/Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent));
 
苹果手机获取时间戳
let stopTime = new Date('2019/02/11 0:00:00').getTime();

猜你喜欢

转载自www.cnblogs.com/geekjsp/p/10221445.html