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和苹果浏览器的全部内容,更多相关js内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复