判断是否IE6浏览器

if(window.XMLHttpRequest)

{

    alert("IE6")

}

原文地址:https://www.cnblogs.com/nyth/p/1929016.html