Monday, December 12, 2011

Changing the User Agent, a New Google Chrome Feature

Changing the user agent of a browser is sometimes helpful if you're visiting a site that doesn't work well in your browser or if you're a developer and you want to test a site. Until lately, changing the user agent required installing an addition, opening about: config or adding a command-line parameter.

Now that browsers started to comprise powerful developer tools and even Internet Explorer has a built-in user agent editor, Chrome added a similar feature. It's only obtainable in Chrome 17 (Dev Channel / Canary) right now.

http://felix-googleblog-archive.blogspot.com/

Here's how to alter the user agent:

1. Open the Developer Tools (Ctrl+Shift+I on Windows/Linux, Command - Option - I on Mac OS X)
2. Click the "settings" icon at the bottom of the window
3. Check "override user agent" and select one of the options (Internet Explorer 7/8/9, Firefox 4/7 for Windows/Mac, iPhone, iPad and Nexus S running Android 2.3). You can also choose "other" and enter a custom user agent.


No comments:

Post a Comment