使用navigator.userAgent查看浏览器当前模式和版本

navigator.userAgent

获取当前系统版本和浏览器版本

原文地址:https://www.cnblogs.com/MoonASixpence/p/14676269.html