Archive for December, 2009

Setting User-Agent for Mac Chrome

I was having problems watching instantly videos in my Netflix Queue since netflix doesn't yet recognize Chrome on the Mac (and possibly on the PC, haven't tested that.) Netflix knows which browser you're on by it's user-agent. That be changed when Chrome starts up. Here what I did on the Mac to change the user-agent to a version of Safari:

In Terminal enter:



with the location of "Google" if it's not in the /Applications folder or under a different name.
To automate, put in a shell file that you can manually run or set to automatically load at startup.
Note: This works on the terminal "open" in Snow Leopard. But in the Leopard version of "open", the "--args" parameter does not look to be supported.
Update: Angelo, in message below says

For Leopard (10.5.X) (not Snow Leopard) use this:
/Applications/Google\\ Chrome –args -user-agent="Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/525.19 (KHTML, like Gecko) Version/3.2.1 Safari/525/19"