eightHundreds
10/7/2016 - 9:33 AM

浏览器兼容检测

浏览器适配

window.onload = function () {
    if (navigator.userAgent.indexOf("MSIE") > 0 || navigator.userAgent.indexOf("Edge") > 0 || navigator.userAgent.indexOf(".NET")) {
        //dosomething
    }
}