How to Switch the User-Agent Header for a Single Website

firefoxgoogle-chromeuser-agent

I have to use a particular web site for work, but this web site checks to see whether I'm using Internet Explorer and, if not, won't allow me to log in. I can switch my User-Agent header using the User Agent Switcher Firefox plugin and the web site works fine, but I really don't want to switch the header every time I go to the site and also don't want my User-Agent header to perpetually say I'm using IE.

I'm on Linux, so actually switching to IE unfortunately isn't an option.

Is there any way to define a particular User-Agent for a particular web site in either Firefox or Chrome?

Best Answer

The extension User-Agent Switcher for Chrome has a Permanent Spoof list, where you can set specific user agents for certain domains.

Configuration

  1. Add the extension to Chrome.

  2. Open chrome-extension://djflhoibgkdhkhhcedjiklpkjnoahfmg/options.html.

  3. Click Permanent Spoof list.

  4. Enter the domain of the particualr website, select the desired user agent and click Add.

screenshot

Related Question