2012-04-04 82 views
1

我不能調試和測試Windows 7的手機,但是 我有下面的代碼重定向IE7瀏覽器,但無法在Windows Phone 7的

<!--[if lte IE 7]><meta http-equiv="refresh" content="0; url=/index_ie.html" /><script type="text/javascript"><![CDATA[ window.top.location = "/index_ie.html";]]></script><![endif]--> 

不過,我剛剛從一個朋友說,這是影響他的Windows Mobile聽說電話,它有這個代理:

Mozilla/4.0 (compatible; MSIE 7.0; Windows Phone OS 7.0; Trident/3.1; IEMobile/7.0) 

有沒有辦法來排除Windows手機瀏覽器觸發此重定向?

回答

相關問題