IE浏览器不能使用window.open()的解决方案

1.判断浏览器是否为IE浏览器 var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串  app var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器  url if(isIE){spa //若是为
相关文章
相关标签/搜索