`

IE11以及浏览器的判断

阅读更多

 

http://www.ithome.com/html/ie/48082.htm

http://www.cnblogs.com/CherryGhost/p/3543299.html

function isIE() { //ie?  
    if (!!window.ActiveXObject || "ActiveXObject" in window)  
        return true;  
    else  
        return false;  
}

 这种方法已经验证可以!

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics