关于为什么以下内容不适用于任何 IE9 测试版的任何想法?IE8正常(或IE9运行兼容模式):
if(b.msie){
b.ver = /MSIE (\d+(.\d+)?)/.exec(ua)[1];
}else if(b.mozilla){
b.ver = /Firefox\/(\d+(.\d+)?)/.exec(ua)[1];
}else if(b.opera){
b.ver = /Opera\/? ?(\d+(\.\d+)?)/.exec(ua)[1];
}else if(b.safari){
b.ver = /Version\/(\d+(\.\d+)+)/.exec(ua)[1];
}else if(b.chrome){
b.ver = /Chrome\/(\d+(\.\d+)+)/.exec(ua)[1];
}