使用Internet Explorer阻止查看页面

Dan*_*ard 5 browser internet-explorer cross-browser

我开发了一个在Chrome,Safari,Firefox和Opera等现代浏览器中看起来很棒的网站,然而,在旧版本的Internet Explorer中它看起来很糟糕.

是否有一些我可以使用的代码,如果它检测到旧版本的IE,会阻止页面加载?
也许代码可以加载不同的页面?

关于如何最好地实现这一点的任何想法?谢谢.

Per*_*rry 1

在 HTML 中使用 Internet Explorer 条件注释

<!--[if lt IE 9]>
Insert your IE code, like possible redirection or alteration of your page
<![endif]-->
Run Code Online (Sandbox Code Playgroud)