https://www.jianshu.com/p/6224f429ce87 window.navigator.userAgent用来区分设备和浏览器 https://blog.csdn.net/liangyihe/article/details/78464656 window.navigator.userAgent.toLowerCase()用来区分设备和浏览器 var sUserAgent = window.navigator.userAgent.toLowerCase(); var bIs…