2013-01-03 48 views
2

使用Internet Explorer 10,通过标记删除浏览器检测,我需要使用Internet Explorer用户重定向到一个新的页面的Internet Explorer 10不重定向

我决定用

<body> 
<script type="text/javascript"> 
if (navigator.appName == 'Microsoft Internet Explorer') 
    { 

    self.location = "http://<url>" 

    } 
</script> 

一种新的方式,但没有发生。 我相信有一点遗漏,我现在没有看到。

+2

http://stackoverflow.com/questions/2202305/how-do-i-detect-ie-8-with-jquery – Vucko

回答