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 recently, changing the user agent required installing an extension, opening about:config or adding a command-line parameter.
Now that browsers started to include powerful developer tools and even Internet Explorer has a built-in user agent editor, Chrome added a similar feature. It’s only available in Chrome 17 (Dev Channel / Canary) right now.
Here’s how to change 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 select “other” and enter a custom user agent.