Key Takeaways
- Google Chrome Frame is a solution to the issues of Internet Explorer 6.0, allowing businesses to maintain IE for legacy systems while enabling enhanced features in new applications. It installs as a Browser Helper Object (BHO), a Windows DLL that extends IE functionality.
- Chrome Frame shares many of IE’s browser features, like bookmarks, history, cookies, and passwords. However, it does not allow you to drop IE6 support completely. It enables progressive enhancement techniques that support older browsers but improve the user experience in modern browsers.
- Chrome Frame is still in development and has technical issues to address. It is not recommended for use at this stage. Despite this, its future is promising as it provides a simpler alternative for corporations and private users who are unable or unwilling to upgrade their browsers.
Chrome Frame Installation
Installing Chrome Frame is as easy as installing Flash, the PDF viewer, or any other IE plugin. The full 10MB application is downloaded and installed within a few minutes. The process is quick, painless, and does not require a browser restart. Chrome Frame is available for IE6, IE7 and IE8. I’m not convinced many IE8 users will need it; speed and rendering problems are rarer in that browser. However, the plugin will allow developers to use HTML5, CSS3, canvas and SVG features that would have been technically impossible before.Under the Hood
Chrome Frame installs as a Browser Helper Object; a Windows DLL that extends IE functionality. BHOs are a standard method used to add toolbars and other plugins so Google is using Microsoft’s own documented platform. If Microsoft wanted to kill Chrome Frame, it would be technically difficult to achieve without affecting other plugins. BHOs are also exploited by malware and virus developers. Microsoft fixed this issue in XP SP2 by sandboxing BHO code and introducing the Add-on Manager which allows users to disable unscrupulous code. Chrome Frame therefore requires IE6 on XP SP2 as a minimum.IE Integration
Chrome Frame shares many of IE’s browser features, such as bookmarks, history, cookies and passwords. This is essential for end users; it will retain their login credentials no matter which rendering engine is used. Unfortunately, other plugins could cause confusion. Although Flash may be installed in IE, you will also need to install the plugin within Chrome. This may not be a huge problem; Flash-heavy web sites are unlikely to benefit significantly by switching to Chrome. However, I would suggest Google investigate the detection and automatic installation of popular plugins.Speed and Stability
Confusingly, ComputerWorld are reporting that IE8 runs 10 times faster with Chrome Frame. What they really mean is the Chrome Webkit engine is 10 times faster than IE’s Trident engine when compared in the SunSpider JavaScript benchmark suite. SunSpider is not a real-world test of page rendering speed and nor does Chrome Frame effect IE’s default speed. However, Chrome-rendered pages are noticeably faster and it allows you to run IE-incompatible code such as the excellent JSNES JavaScript NES emulator. Chrome Frame is still in beta and there are issues. For example, I experienced rendering problems in GMail, although it’s fine in both IE6 and the Chrome browser.Chrome Frame for Developers
IE will switch to Chrome Frame rendering if the following meta tag is added to the HTMLhead
:
<meta http-equiv="X-UA-Compatible" content="chrome=1">
In addition, pages can be tested in Chrome Frame by adding “cf:” to the start of a fully-qualified URL, e.g.
cf:https://www.sitepoint.com/
The Webkit Developer Tools are included so it’s possible to right-click a Chrome-rendered page and select “Inspect Element”. It would be great if the same tool could be used in IE’s view, but perhaps that’s asking a little too much!
Accessibility, Progressive Enhancement and Chrome Sniffing
I’m about to make a statement that will upset some developers. Please sit down. Ready? Sure? Here goes… Chrome Frame does not allow you to drop IE6 support! Many users will continue to use IE6 without Chrome Frame. Many companies will block the plugin. Users with IE-specific assistive technologies may not be able to use Chrome Frame. So what’s the point? Chrome Frame allows you to implement progressive enhancement techniques that support older browsers but improve the user experience in modern browsers. For example, your application might produce a table of figures. That table remains viewable in IE6 but Chrome Frame users would also see a colorful canvas-generated chart. Chrome Frame adds “chromeframe” to the IE User Agent string when it’s installed e.g.Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; chromeframe)
You can therefore use server-side code to detect Chrome’s presence, add the HTML meta tag, include enhancements, or display a link to the plugin download page. Google also provide JavaScript Chrome Frame detection code.
Will Users Adopt Chrome Frame?
Chrome Frame is still undergoing development and there are technical issues to iron out so I could not recommend it at this stage. However, the future is promising. Corporations and private users may be unable or unwilling to upgrade their browsers, but installing an unobtrusive plugin is significantly easier. Related reading:- Google Chrome Frame
- Developer guide
- Why Corporations Don’t Upgrade IE6 and How Chrome Frame Could Help
- Google Fixes IE6 with Chrome Frame
- Progressive Enhancement and Graceful Degradation: an Overview
- Progressive Enhancement and Graceful Degradation: Making a Choice
Frequently Asked Questions (FAQs) about Google Chrome Frame
What is Google Chrome Frame and how does it work?
Google Chrome Frame is a plug-in designed for Internet Explorer. It allows you to use Chrome’s rendering engine inside IE, providing you with the benefits of Chrome’s speed, security, and HTML5 support. When a webpage is opened in IE, the plug-in checks if the page has a meta tag that calls for Chrome Frame. If it does, the page is rendered using Chrome’s WebKit-based engine instead of IE’s Trident.
How can I install Google Chrome Frame?
Google Chrome Frame is no longer supported by Google and its installation is not recommended. However, if you still wish to use it, you can find older versions online. After downloading, run the installer and follow the prompts. Remember to restart your browser after installation.
Is Google Chrome Frame still supported?
No, Google Chrome Frame was officially discontinued by Google in 2014. It is no longer receiving updates or security patches, making it potentially unsafe to use.
What are the alternatives to Google Chrome Frame?
The best alternative to Google Chrome Frame is to use a modern, up-to-date browser that supports the latest web standards. This includes Google Chrome, Mozilla Firefox, Microsoft Edge, and Safari.
Why was Google Chrome Frame discontinued?
Google Chrome Frame was discontinued because modern versions of Internet Explorer started supporting the same web standards that Chrome Frame was designed to provide. As such, the plug-in became redundant and was phased out.
Can I use Google Chrome Frame with other browsers?
No, Google Chrome Frame was specifically designed as a plug-in for Internet Explorer. It cannot be used with other browsers.
What are the risks of using Google Chrome Frame?
Since Google Chrome Frame is no longer supported, it does not receive security updates. This makes it potentially vulnerable to exploits and attacks. It is recommended to use a modern, updated browser instead.
What is the difference between Google Chrome and Google Chrome Frame?
Google Chrome is a standalone web browser, while Google Chrome Frame is a plug-in for Internet Explorer. Chrome Frame allows IE to use Chrome’s rendering engine, providing it with Chrome’s speed, security, and HTML5 support.
Can I still download Google Chrome Frame?
While Google Chrome Frame is no longer officially available for download from Google, you may be able to find older versions available online. However, its use is not recommended due to potential security risks.
What benefits did Google Chrome Frame provide?
Google Chrome Frame provided Internet Explorer with the benefits of Chrome’s rendering engine, including its speed, security, and support for HTML5 and other modern web standards.
Craig is a freelance UK web consultant who built his first page for IE2.0 in 1995. Since that time he's been advocating standards, accessibility, and best-practice HTML5 techniques. He's created enterprise specifications, websites and online applications for companies and organisations including the UK Parliament, the European Parliament, the Department of Energy & Climate Change, Microsoft, and more. He's written more than 1,000 articles for SitePoint and you can find him @craigbuckler.