Google Chrome Frame is retiring


Google Chrome Frame is a plugin for Internet Explorer. This plugin enables IE browsers to use the features of open web HTML5 apps. This plugin enables IE with Chrome Browser capabilities in terms of rendering. And It was just today, I used Google Chrome Frame and then I found this blog http://blog.chromium.org/2013/06/retiring-chrome-frame.html . Though I did not have much a time with Google Chrome Frame, this one single trick saved alot of my time.
<meta http-equiv="x-ua-compatible" content="IE=Edge,chrome=1">
 This particular line made my website/webapp to be rendered using chrome frame. Thus I didn't have to worry about IE. As IE was now being treated as Chrome browser. It's really a great plugin for web developers who have to build websites/webapps for users using IE too. This plugin is retiring in January 2014. In the meantime you can test this plugin if you want. It will not be available for download after January 2014 and won't be supported by Google anymore. However the GCF installed before January will still function. You can detect if GCF is installed in IE or not. If its not installed then you can display an instructional message to install it. Its pretty simple. Just include the script to check:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>

and add the following line on document.ready
CFInstall.check({
    mode:"overlay",
    destination:"http://example.com/"
});
The destination here is the url the browser should redirect to after successful installation of the plugin. Or you can manually download the plugin from : http://www.google.com/chromeframe?prefersystemlevel=true .

Comments

Popular posts from this blog

Automate file upload in Selenium IDE

How To Install and Configure Nextcloud