10

I am looking for a way to switch my user agent in Chrome.

I have tried User-Agent Switcher for Chrome with only limited success. I really want more user agents, and the ability to add new agents with different operating systems.

Are there other ways of changing Chrome's user agent?

nc4pk
  • 9,257
  • 14
  • 61
  • 71
daviesgeek
  • 1,709

2 Answers2

14

I'm not aware of any extensions that allow you to input a custom string, however you can specify a custom user agent on the program's command line.

Right-click Chrome's shortcut and select properties, then add the --user-agent switch to the command.

e.g.:

enter image description here

From a website's perspective ( www.useragentstring.com ):

enter image description here

Google Chrome has no API that allows you to modify the HTTP headers as of yet, so extensions rely on the Javascript method. Any website that parses the agent from HTTP headers will see past that extension anyways. This may be one of the reasons a developer has not spent time creating a user agent switcher that allows custom agents.

4

On OSX you can launch from command line like this.

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-agent="Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Molla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 3.5.30729)"