IE11用JS检测判断

var isIE =navigator.userAgent.toLowerCase().search(/(msies|trident.*rv:)([w.]+)/)!=-1;  

检测是否IE浏览器  执行IE11

原文地址:https://www.cnblogs.com/zhenzhong/p/3453683.html