判断浏览器是否为IE内核的最简单的方法

没啥说的,直接贴代码,算是ie hack了。

if (!+[1,]) {
    alert('is ie');
}
posted @ 2014-05-08 17:32  StanZhai  阅读(656)  评论(0编辑  收藏  举报