Google Chrome 浏览器内嵌框架的优点和疑虑
我应该花很多时间评估这项技术吗?
http://code.google.com/chrome/chromeframe/
Chrome 内嵌框架是一个插件Internet Explorer (IE6-IE8) 提供了所有其他主要浏览器所拥有的功能。
对我来说最重要的是 Canvas 标签和快速的 JavaScript。
由于我做了很多 JavaScript 数据集可视化,IE6 是我永远的眼中钉,我经常需要为其编写额外的代码,而且我经常不得不减慢用户驱动的实时可视化的帧速率。使用 Google Chrome Frame 将使我能够为 IE6 用户提供响应速度更快的体验。
但我想知道 IE6 用户是否可能会遇到这样的情况:他们的计算机处于某种 IT 锁定地狱之下,甚至不允许他们安装插件(否则他们为什么要使用 IE6?)
所以我仍然会留下如何处理 IE6 中最后的可怜灵魂?
尽管如此,IE8 缺少 Canvas 并且 JavaScript 很慢,所以我的一些用户会看到性能的提高,甚至可能达到 Google Chrome 和 Safari 的水平。
再次,我真正的问题是:这是我应该花时间评估的技术吗?
注意:Google 将向 IE 用户发出警报,鼓励他们下载适用于 Google Wave 的 Google Chrome Frame。因此,也许 Google 会在 IE 机器上提供足够的 Google Chrome Frame,这样我就可以检测到它并使用它(如果有),并警告用户如果没有它,体验可能会受到影响。我讨厌向我的用户提出任何要求。 http://googlewavedev.blogspot.com/2009/09 /google-wave-in-internet-explorer.html
Is this a technology I should spend much time evaluating?
http://code.google.com/chrome/chromeframe/
Chrome Frame is a plugin for Internet Explorer (IE6-IE8) that gives it, well, what all the other major browsers have.
Biggies for me are the Canvas tag and a fast JavaScript.
As I do a lot of JavaScript dataset visualization, IE6 is a perpetual thorn in my side, and I often have to write extra code for it, and I often have to slow down the frame rate of user-driven real-time visualizations. Using Google Chrome Frame will allow me to produce a much more responsive experience for IE6 users.
But I wonder if IE6 users may be in situations where their computers are under some kind of IT lockdown hell where they aren't even allowed to install a plugin (why else would they be using IE6?)
So I'd still be left with what to do with the last poor souls in IE6.
Still, IE8 lacks Canvas and the JavaScript is slow, so some of my users would see increased performance, maybe even up to Google Chrome and Safari levels.
So again, my real question: Is this a technology I should spend time evaluating?
Note: Google will be throwing up alerts to IE users to encourage them to download Google Chrome Frame for Google Wave. So maybe Google will get enough Google Chrome Frames out there on IE machines that I can just detect it and use it if it's there, and warn the user that experience may suffer without it. I hate to demand anything of my user. http://googlewavedev.blogspot.com/2009/09/google-wave-in-internet-explorer.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
考虑到您正在制作的可视化,我肯定会对其进行评估。对于您作为开发人员和您的用户来说,潜在的好处是巨大的。您不必强制所有 Internet Explorer 用户使用 Chrome 内嵌框架。您只需包含元标记,选择安装该插件的用户几乎肯定会获得更好的体验。
也就是说,在我对 Chrome 内嵌框架的评估中,我遇到了一些相当大的警告,这些警告可能会阻碍您的项目:
在我的测试中,Chrome Frame 似乎只查看元标记:
<块引用>
我无法通过设置 X-UA 兼容 HTTP 标头来激活 Chrome 内嵌框架,就像使用 模拟IE7模式:
<块引用>
还值得注意的是,如果您配置了该设置,则此元标记将覆盖 EmulateIE7 模式,并且我相信反之亦然。他们都在设置
X-UA-Compatible
。最后一个设置此标记的标记将优先。一项电量测试技巧将帮助您免去亲自参与测试的麻烦和编辑页面的一个优点是,您无需对网站执行任何操作即可使用 Chrome 内嵌框架进行测试。在 IE 中安装 Chrome 框架插件后,只需在任意 URL 前面添加
gcf:
即可将其加载到 Chrome 框架中(例如gcf:http://dshaw.com)。
快乐编码,
- @dshaw
Given the visualizations you're working on, I'd definitely evaluate it. The potential upside for you as a developer and for your users is significant. You do not have to force all Internet Explorer users to use Chrome Frame. You can simply include the meta tag and the users that choose to install the plugin will almost certainly have a better experience.
That said, in my evaluation of Chrome Frame I have encountered some pretty big caveats that might be showstoppers for your project:
In my testing, it appears like Chrome Frame is only looking at the meta tag:
I was unable to get Chrome Frame to activate by setting the X-UA-Compatible HTTP Header as you would with EmulateIE7 mode:
It is also worth noting that this meta tag will override EmulateIE7 mode if you have that setting configured and I believe the inverse is also true too. They are both setting
X-UA-Compatible
. The last tag to set this will take precedence.One power testing tip that will help save you from having to go in and edit your pages, is that you don't have to do anything to your site to test it with Chrome Frame. Once you have the Chrome Frame plugin installed in IE, simply prepend
gcf:
to the any URL and it will load it in Chrome Frame (e.g.gcf:http://dshaw.com
).Happy coding,
- @dshaw
我认为你真的应该花一些时间在上面,因为我刚刚测试了它并且它工作得很好!
它为您提供 ie6 的铬速度!
而谷歌肯定有足够的力量来传播它一点。如果您确实需要,您还可以建议您的用户为您的应用程序安装 chrome 框架。
如果你可以在ie6上安装flash,你就可以安装chrome框架。
一些无法安装 google chrome 的用户将能够安装 chrome 框架。
Think you should really spend some time on it since i just tested it and it works very well !
It gives you ie6 with the chromium speed !
And google will surely have enough power to spread it a little. Also you can advice your users to install chrome frame for your application if you really need it.
If you can install flash on ie6, you'll be able to install chrome frame.
Some users that can't install google chrome, will be able to install chrome frame.
当你说你不喜欢对用户提出任何要求时,我同意你的观点。这通常是一个很好的哲学。我建议评估您对 Canvas 的需求程度以及 JavaScript 的实际速度有多慢。
考虑到 IE 仍然是最流行的浏览器(嗯,至少是使用最广泛的浏览器),如果要使用您的 Web 应用程序,则必须考虑 IE(正如您已经是的那样)。真正要问的问题是,“如果用户‘按原样’使用 IE,他们的体验会受到多大影响?”如果它确实会降低性能,并且会损害您的用户群,那么,是的,我会检查 Google Chrome Frame。
I agree with you when you say that you don't like to demand anything of your users. That's generally a good philosophy. I would recommend evaluating how much you need the Canvas and how slow JavaScript really is.
Considering that IE is still the most popular browser (well, the most widely used, anyway), if your web-application is going to be used, you have to take IE into account (as you already are). The real question to ask is, "How much is the user's experience going to suffer if they use IE 'as is'?" If it really will degrade performance, and it will hurt your user base, then, yes, I would check out Google Chrome Frame.
我认为对于那些考虑不再支持 IE6 的网站来说,这是一个很好的替代方案。
最近一些大型网站停止在 IE6 中工作,他们可能会要求使用 chrome 框架,而不是显示您无法在浏览器中访问该网站。
对于提高 google chrome 框架用户的性能也有好处。
I think it is a good alternative to sites which are considering not maintaining support for IE6.
Recently some big sites stopped working in IE6, they could ask for chrome frame instead of showing you can't access that site in your browser.
Is something good also for improving performance for google chrome frame users.
我会说不。花时间评价它是浪费。
任何能够并且想要安装 IE6/7/8 扩展的人都可以而且应该安装现代浏览器 (Firefox/Safari/Chrome)。这样做的好处是更好的性能和更好的全面标准支持,这比 IE 插件所能提供的还要多。
I'd say no. It is a waste to spend time evaluating it.
Whoever can and want to install extensions to IE6/7/8 can and should install a modern browser (Firefox/Safari/Chrome). The benefit would be both better performance and better support of standards across the board, more than a plugin for IE can provide.