Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know of a plugin or extension for Google Chrome that would allow me to quickly choose what user agent I want to appear as.

Say if I visit a site that says "Please use IE to view this page" I can just click a button instead of opening IE.

share|improve this question
up vote 1 down vote accepted

I use User-Agent Switcher.

However, you might notice it only switches the JavaScript navigator.userAgent and navigator.vendor because apparently the Chrome Plugin API does not provide a way to modify the HTTP headers yet, but most sites only use the JavaScript variables so it should work pretty well.

share|improve this answer
    
+1 This is exactly what I was looking for! :) – JD Isaacks Dec 31 '10 at 17:24

IE Tab For Chrome will let you do this for IE only. It gives you a button next to your address bar to quickly open the current page with an IE compatible User Agent.

share|improve this answer
    
Thanks, but this renders the page as IE, I just want to change the user agent to trick a website into letting me view it in chrome when its blocking me. – JD Isaacks Nov 17 '10 at 19:23
    
I do this every day on a page that blocks the use in chrome. Pages that are IE only will load in IE Tab. – xdumaine Nov 18 '10 at 16:19
    
Did you even try it? It doesn't just render the page differently, the user agent DOES change. Use whatsmyuseragent.com/ to see your user agent with and without the extension. – xdumaine Nov 18 '10 at 16:27
    
that's precisely the problem. He only wants the user agent change. He doesn't want the IE engine. – houbysoft Dec 28 '10 at 21:08

You can do this quickly if you make a shortcut to chrome on your desktop that points to something like this:

C:\Users\Saraquie\AppData\Local\Google\Chrome\Application\chrome.exe --user-agent="Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; SAMSUNG-SGH-I777 Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"

Just make multiple shortcuts that all have different values for the --user-agent="" parameter.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .