if (!((/MSIE (6|7|8|9|(\d\d))/g).test(navigator.appVersion)||(/MSIE 5.5/g).test(navigator.appVersion)&&(/SP2/g).test(navigator.appMinorVersion))) { alert("The system supports Microsoft IE 5.5 with SP2 or above. \nYour browser is not fully supported!"); window.opener=null; window.close(); }
{
alert("The system supports Microsoft IE 5.5 with SP2 or above. \nYour browser is not fully supported!");
window.opener=null;
window.close();
}
document.write("浏览器名称: "+navigator.appName);
document.write("版本号: "+navigator.appVersion.split(";")[1].split(" ")[2]);
</script>
你的RegExp就不能用咯哈哈