IE浏览器判断
作者:互联网
$(function () { | |
//判断是否为IE | |
if (! +[1, ]) { | |
} | |
else { | |
} | |
var navigatorName = "Microsoft Internet Explorer"; | |
var isIE = false; | |
if (navigator.appName == navigatorName) { | |
isIE = true; | |
} else { | |
} | |
if (document.all) { | |
} else { | |
} | |
if (!!window.ActiveXObject || "ActiveXObject" in window) { | |
} | |
else { | |
} | |
}); | |
标签:判断,浏览器,ActiveXObject,navigatorName,isIE,else,window,var,IE 来源: https://www.cnblogs.com/webrdd/p/10967023.html