User-Agent字符串是服务器判断Web客户端的重要依据。 MSDN上有篇文章《Understanding User-Agent Strings》 很好,建议读一下。
以下列出IE8在不同Windows版本以及不同渲染模式下的User-Agent 字符串,便于参考。
IE8 on Windows Vista (兼容视图)
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0)
IE8 on Windows Vista (标准视图)
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0)
IE8 on Windows 7
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0)
64-bit IE on 64-bit Windows:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Win64; x64; Trident/4.0)
32-bit IE on 64-bit Windows:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0)
本文详细列举了Internet Explorer 8在不同版本的Windows操作系统及不同渲染模式下的User-Agent字符串。这些信息对于理解浏览器如何标识自己以及解决网页兼容性问题非常有用。
1万+

被折叠的 条评论
为什么被折叠?



