-
Notifications
You must be signed in to change notification settings - Fork 163
Internet Explorer
hotoo edited this page Jan 27, 2015
·
2 revisions
Windows 7, IE9
字段 | 值 |
---|---|
ua | Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) |
vendor | undefined |
vendorSub | undefined |
platform | Win32 |
appCodeName | Mozilla |
appName | Microsoft Internet Explorer |
appVersion | 5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) |
product | undefined |
productSub | undefined |
screenWidth | 1237 |
screenHeight | 727 |
colorDepth | 24 |
Windows 7, IE9(兼 容模式)
字段 | 值 |
---|---|
ua | Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) |
vendor | undefined |
vendorSub | undefined |
platform | Win32 |
external | |
appCodeName | Mozilla |
appName | Microsoft Internet Explorer |
appVersion | 4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) |
product | undefined |
productSub | undefined |
screenWidth | 1237 |
screenHeight | 727 |
colorDepth | 32 |
Windows 7, IE8.
字段 | 值 |
---|---|
ua | Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) |
vendor | undefined |
vendorSub | undefined |
platform | Win32 |
external | |
appCodeName | Mozilla |
appName | Microsoft Internet Explorer |
appVersion | 4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) |
product | undefined |
productSub | undefined |
screenWidth | 1237 |
screenHeight | 727 |
colorDepth | 32 |
Windows 7, IE8(兼容模式).
字段 | 值 |
---|---|
ua | Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) |
vendor | undefined |
vendorSub | undefined |
platform | Win32 |
external | |
appCodeName | Mozilla |
appName | Microsoft Internet Explorer |
appVersion | 4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0) |
product | undefined |
productSub | undefined |
screenWidth | 1237 |
screenHeight | 727 |
colorDepth | 32 |
Windows XP, IE8.
字段 | 值 |
---|---|
ua | Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727) |
vendor | undefined |
vendorSub | undefined |
platform | Win32 |
external | |
appCodeName | Mozilla |
appName | Microsoft Internet Explorer |
appVersion | 4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727) |
product | undefined |
productSub | undefined |
screenWidth | 1164 |
screenHeight | 727 |
colorDepth | 32 |
Windows XP, IE8(兼容模式).
字段 | 值 |
---|---|
ua | Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727) |
vendor | undefined |
vendorSub | undefined |
platform | Win32 |
external | |
appCodeName | Mozilla |
appName | Microsoft Internet Explorer |
appVersion | 4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727) |
product | undefined |
productSub | undefined |
screenWidth | 1164 |
screenHeight | 727 |
colorDepth | 32 |
Windows XP, IE7.
字段 | 值 |
---|---|
ua | Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727) |
vendor | undefined |
vendorSub | undefined |
platform | Win32 |
external | |
appCodeName | Mozilla |
appName | Microsoft Internet Explorer |
appVersion | 4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727) |
product | undefined |
productSub | undefined |
screenWidth | 1164 |
screenHeight | 727 |
colorDepth | 32 |
Windows XP, IE6.
字段 | 值 |
---|---|
ua | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) |
vendor | undefined |
vendorSub | undefined |
platform | Win32 |
external | |
appCodeName | Mozilla |
appName | Microsoft Internet Explorer |
appVersion | 4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727) |
product | undefined |
productSub | undefined |
screenWidth | 1164 |
screenHeight | 727 |
colorDepth | 32 |
Windows Phone, IE9.
字段 | 值 |
---|---|
ua | Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; SAMSUNG SGH-i917) |
vendor | undefined |
vendorSub | undefined |
platform | Win32 |
external | {} |
appCodeName | Mozilla |
appName | Microsoft Internet Explorer |
appVersion | 5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; SAMSUNG SGH-i917) |
product | undefined |
productSub | undefined |
screenWidth | 480 |
screenHeight | 800 |
colorDepth | 16 |
documentMode | 9 |
compatMode | CSS1Compat |
Windows Blue, IE 11
Mozilla/5.0 (IE 11.0; Windows NT 6.3; Trident/7.0; .NET4.0E; .NET4.0C; rv:11.0) like Gecko
- 收集客户端环境信息用于统计。 这种情况下,应该尽量返回真实的客户端信息:IE9 兼容模式下,浏览器应该仍然是 IE9。
- 判断客户端环境做兼容性处理。 这种情况下,IE9 应该识别位 IE7 或其 Trident 5 做相应降级。
实际浏览器兼容模式下,会修改 userAgent 信息来宣告浏览器信息,但是只是修改 userAgent 中的浏览器版本信息,内核版本保持不变。
但是实际浏览器是使用不同的渲染引擎,而不是浏览器。
// IE9
// http://beamnote.com/2010/site-pinning-of-ie9.html
//添加到开始菜单:window.external.msAddSiteMode;
//是否第一次使用Site Pinning:window.external.msIsSiteModeFirstRun;
//
//external.menuarguments
//window.external.msIsSiteMode()
//external.msSiteModeShowJumpList()
//external.msSiteModeClearJumpList()
//external.msSiteModeCreateJumpList()
//external.msSiteModeAddJumpListItem()
//IE10
//http://blogs.msdn.com/b/ie/archive/2012/03/02/web-platform-features-in-windows-consumer-preview.aspx
//ArrayBuffer
//http://www.khronos.org/registry/typedarray/specs/latest/
//http://msdn.microsoft.com/en-us/library/ie/br212485(v=vs.94).aspx
//https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays
//http://blog.csdn.net/hfahe/article/details/7421203
- The Internet Explorer 8 User-Agent String (Updated Edition)
- [定义文档兼容性](http://msdn.microsoft.com/zh-cn/library/cc288325(VS.85\).aspx)
- documentMode property
- compatMode property
- [Internet Explorer 10 user-agent string](http://msdn.microsoft.com/en-us/library/ie/hh869301(v=vs.85\).aspx)
- Internet Explorer 11′s user-agent string: What does it mean?
- IE11: what we know and what we can speculate
- IE11新特性大揭秘 – IE11的现在和未来
- Internet Explorer 11 user agent makes browser look like Firefox, thumbs nose at legacy CSS hacks
- IE11 changes UA string but won’t ‘be’ Firefox
- IE11伪装成Firefox:避开旧版IE CSS