You can change the User Agent String (UAString) in Google Chrome for your desktop computer by using these steps.
When you browse a website using any web browser such as Google Chrome, a user agent string is read from your browser so it can determine how to render the page. For example, if you are browsing from your Android phone, by default it may have a user agent string like the following:
Mozilla/5.0 (Linux; U; Android 2.2; en-us; Nexus One Build/FRF91) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1
A website that reads this string may decide to display a mobile version of the site or a version that is specific to Android. Google Chrome for Windows has a default string that looks like this:
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
You can change this user agent string if you are developing a website and wish to test how your site looks under different strings. You may also change it if you wish to view the mobile version of a website from your desktop. Here’s how it’s done.
- Select the “Menu” button in the upper-right corner, then select “Tools” > “Developer tools“. You can also get to this screen by pressing Ctrl + Shift + I for Windows and Linux or Command + Option + I for Mac OS X.
- Select the “Show console” icon. Then select the “Emulation“tab.
- If prompted with a message that says “Emulation is currently disabled“. Click the phone icon next to the word “Toggle“.
- Select “Network” on the left pane of the Developer console.
- From there you can set the “Spoof user agent” box to the User Agent you wish to use. You can free text the string by selecting “Other“.
Note: The UA String will only be spoofed on the current tab and only while the Developer Tools are open.
There are plugins that change the User Agent string. Do I need to download and install those?
No. There is no need for a plugin. Just use the steps as I have outlined above.