var browser=navigator.appName;
var panduan_hide='style="display:none;"';
if(browser=="Microsoft Internet Explorer"){
var b_version=navigator.appVersion;
var version=b_version.split(";");
var trim_Version=version[1].replace(/[ ]/g,"");
if(browser=="Microsoft Internet Explorer" && trim_Version=="MSIE8.0")
{
panduan_hide='';
}
}
判断IE8
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)