let isMac = /macintosh|mac os x/i.test(navigator.userAgent); //苹果
/windows|win32/i.test(navigator.userAgent);//Windows
/linux/i.test(navigator.userAgent);//Linux
js 判断是windows和苹果浏览器
猜你喜欢
转载自blog.csdn.net/lbPro0412/article/details/86580452
今日推荐
周排行