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 //若是爲
相關文章
相關標籤/搜索