什么是Google-Chrome-Frame

本文主要讲述了:

  1. 什么是Google-Chrome-Frame
  2. 作用
  3. 特性

正文

什么是Google-Chrome-Frame

Google Chrome Frame是由Chromium项目组为IE浏览器开发的一款开源的插件。该插件始于2009年9月22日,止于2014年2月25日。

作用

Google Chrome Frame旨在为IE6 - IE9提供Webkit布局引擎和V8 JavaScript引擎。

特性

指定内核

对于安装了Google Chrome Frame插件的IE8+浏览器用户,开发者可以在HTML文档中添加如下<meta>使得IE8+浏览器使用Google Chrome Frame渲染页面。对于其他IE用户,这不会造成任何影响。

1
<meta http-equiv="X-UA-Compatible" 大专栏  什么是Google-Chrome-Frame"attr">content="chrome=1">

userAgent

安装了Google Chrome Frame之后,浏览器的userAgent会被修改。

示例:Internet Explorer 8.0.7601.17514 + Google Chrome Frame 32.0.1700.107

安装前:

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

安装后:

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; chromeframe/32.0.1700.107; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

参考资料

猜你喜欢

转载自www.cnblogs.com/liuzhongrong/p/12365166.html