Ehs*_*san -2 html javascript css
我们都知道IE在打开html和渲染css文件方面有很多问题.
我希望IE在打开页面时不显示任何内容.
我怎样才能做到这一点?
您可以使用条件评论并清除页面!
<!--[if IE]>
<script>
window.onload = function() {
document.body.innerHTML = 'Please choose a better browser!';
}
</script>
<![endif]-->
Run Code Online (Sandbox Code Playgroud)