低版本浏览器跳转

if(document.documentMode && document.documentMode <= 11){
    window.location="/error.html";
}

 if ((!to3d()) || document.documentMode == 10 || document.documentMode == 11)

    window.location="http://jquery.miaov.com/error.html";
原文地址:https://www.cnblogs.com/wangjiaojiao/p/4595710.html