User Agent Switcher for Chrome
You can use this technique to change UA. It relies on changing the User-Agent header using the (still experimental) webRequest API
In version 66 of Chrome the option to set User Agent is hidden in Network Conditions, which can be accessed by pressing f12 to bring up the developer tools box > clicking the 3 dots next to the close button of the developer tools box > More tools > Network conditions
Further reading: https://developers.google.com/web/tools/chrome-devtools/device-mode/override-user-agent
dunno but i found this:
http://www.hacker10.com/tag/internet-browser-headers/
saying:
Chrome browser, User-Agent Switcher extension: UPDATE: Addon erased from Chrome Store
and this where they say (as you mention) you can do it with a command line switch:
http://www.google.com/support/forum/p/Chrome/thread?tid=64e4e45037f55919&hl=en
for example, this is how to make chrome report itself as IE8.0 on my machine C:\Users\XXXX\AppData\Local\Google\Chrome\Application\chrome.exe --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)"
If you really just want to change the user agent for some sites or testing one little thing you could do to make it faster is create shortcuts to the site that includes the switch of user agent. at least that way its not so fiddly.
another silly idea: If you need exactly two user agents in chrome you could use canary build as one, I do this to have my apps account and google account open at the same time.
Chrome Developer Tools (as of version 17+) have the ability to supply custom User-Agent
header
Bring up the developer tools by pressing f12
Look in the Console "drawer" (make it visible if not visible)
Click the Emulation tab in the console drawer.
Tick "Spoof user agent" and select an agent (or enter your own User-Agent string using the Other... option).