//判断浏览器版本是否过低
var ua = navigator.userAgent.toLowerCase();
if (window.ActiveXObject) var IEversion = ua.match(/msie ([\d.]+)/)[1]; if (IEversion < 8) location.href = "/static/kill-ie.html";

浏览器版本低于8以下就跳到kill-ie.html

05-11 02:44