区分不同浏览器的方法

来源:互联网 发布:淘宝助手mac版 编辑:程序博客网 时间:2024/06/06 01:20

通过window.navigator.appName的返回值就可以区分不同的浏览器,,

其中返回值为对应浏览器的名称