<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit"/>
<meta name="force-rendering" content="webkit"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
<script>/*@cc_on document.write('x3Cscript id="_iealwn_js" src="//support.dmeng.net/ie-alert-warning/latest.js">x3C/script>'); @*/</script>
<title>网页标题</title>
<title></title>
</head>
head标签中这样处理即可
或者 js ie8及一下
<script>
// @cc_on
var temp = window.navigator.userAgent.toUpperCase();
var charHead = temp.indexOf('MSIE');
var charLast = temp.indexOf(";", charHead);
var ieVersion = temp.substring(charHead, charLast);
ieVersion = ieVersion.split(' ')[1];
console.log(ieVersion)
if (ieVersion <= 8) {
window.location.href="http://support.dmeng.net/upgrade-your-browser.html?referrer="+encodeURIComponent(window.location.href);
}
// @
</script>