IE浏览器下很多 css 样式错误,决定不再支持,强制跳转。
This commit is contained in:
@@ -54,13 +54,11 @@
|
||||
</nav>
|
||||
<!-- nav end -->
|
||||
|
||||
<!--browser happy begin -->
|
||||
<!--[if lt IE 9]>
|
||||
<div class="alert alert-danger text-center" role="alert">
|
||||
当前网页 <strong>不支持</strong> 你正在使用的浏览器. 为了正常的访问, 请 <a href="http://browsehappy.com/">升级你的浏览器</a>.
|
||||
</div>
|
||||
<![endif]-->
|
||||
<!-- browser happy end -->
|
||||
<script>
|
||||
if(navigator.userAgent.indexOf("MSIE") > -1){
|
||||
location.href = "/static/img/unsupported_browser.html";
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="container main">
|
||||
<div class="row">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="zh-cn">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
@@ -21,13 +21,11 @@
|
||||
|
||||
<body>
|
||||
|
||||
<!--browser happy begin -->
|
||||
<!--[if lt IE 9]>
|
||||
<div class="alert alert-danger text-center" role="alert">
|
||||
当前网页 <strong>不支持</strong> 你正在使用的浏览器. 为了正常的访问, 请 <a href="http://browsehappy.com/">升级你的浏览器</a>.
|
||||
</div>
|
||||
<![endif]-->
|
||||
<!-- browser happy end -->
|
||||
<script>
|
||||
if(navigator.userAgent.indexOf("MSIE") > -1){
|
||||
location.href = "/static/img/unsupported_browser.html";
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- nav begin -->
|
||||
<nav class="navbar navbar-masthead navbar-default navbar-static-top">
|
||||
|
||||
Reference in New Issue
Block a user