标签:als ie9 gen nbsp navigator user msi useragent agent
var isIE8 = false;
var isIE9 = false;
var isIE10 = false;
isIE8 = !!navigator.userAgent.match(/MSIE 8.0/);
isIE9 = !!navigator.userAgent.match(/MSIE 9.0/);
isIE10 = !!navigator.userAgent.match(/MSIE 10.0/);
//判断当前浏览器版本是否符合,符合为true
标签:als ie9 gen nbsp navigator user msi useragent agent
原文地址:https://www.cnblogs.com/SHZX/p/9968872.html