How to view the Apple HTML5 Showcase in Chrome

by Chris Taylor 5. June 2010 06:00

Apple have released a really interesting HTML5 showcase this week, which demonstrates the future of the web. Unfortunately they have blocked access to these demos to anyone not running Safari, and encouraging users to download their browser.

I doubted that Chrome couldn't support them just as well, so did some digging around and found that you can easily change the UserAgent string (which identifies the browser type and version when downloading web pages) by using a simple command line switch. In windows it's just a case of creating a new chrome shortcut, right clicking on it and choosing properties, then adding the following onto the end of the target box.

--user-agent="Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7; en-us) AppleWebKit/533.4 (KHTML, like Gecko) Version/4.1 Safari/533.4"

So on my machine it looks like:

C:\Users\Chris\AppData\Local\Google\Chrome\Application\chrome.exe --user-agent="Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_7; en-us) AppleWebKit/533.4 (KHTML, like Gecko) Version/4.1 Safari/533.4"

All you need to do is then launch this version of Chrome and the site will let you access the demos!

Bookmark and Share

Tags: , ,

Apple | Chrome | Standards

Comments

6/5/2010 6:24:28 AM #

pingback

Pingback from topsy.com

Twitter Trackbacks for
        
        Bright Fox Blog | How to get the Apple HTML5 Showcase in Chrome
        [brightfoxsolutions.com]
        on Topsy.com

topsy.com |

Comments are closed

Poll

No poll

Show Results