Jump to content

How to Change Your Browser’s User Agent Without Installing Any Extensions


Batu69

Recommended Posts

ximg_57f567db24def.png.pagespeed.gp+jp+j

 

If you ever wanted to make your web traffic seem like it was coming from a different browser–say, to trick a site that claims it’s incompatible with yours–you can. All popular browsers offer built-in user agent switchers, so you can change your user agent without installing any extensions.

 

Websites identify browsers by their “user agents“. Change a browser’s user agent and it will report it’s a different browser to websites. This allows you to request web pages intended for different browsers–or even different devices, like smartphones and tablets.

 

Google Chrome

Chrome’s user agent switcher is part of its Developer Tools. Open them by clicking the menu button and selecting More Tools > Developer Tools. You can also use press Ctrl+Shift+I on your keyboard.

 

ximg_57f5530e67aec.png.pagespeed.gp+jp+j

 

Click the menu button to the right of the “Console” tab at at the bottom of the Developer Tools pane and select “Network Conditions”

If you don’t see the console at the bottom, click the menu button at the top right corner of the Developer Tools pane–that’s the button just to the left of the “x”–and select “Show Console”.

 

ximg_57f55323d388e.png.pagespeed.gp+jp+j

 

On the Network conditions tab, uncheck “Select automatically” next to User agent. You can then select a user agent from the list or copy and paste a custom user agent into the box.

 

This setting is temporary. It only works while you have the Developer Tools pane open, and it only applies to the current tab.

 

ximg_57f5535dcd1a0.png.pagespeed.gp+jp+j

Mozilla Firefox

In Mozilla Firefox, this option is buried on Firefox’s about:config page.

To access the about:config page, type about:config into Firefox’s address bar and press Enter. You’ll see a warning–be careful when you change settings here, you could mess up Firefox’s settings.

 

ximg_57f556656872c.png.pagespeed.gp+jp+j

 

Type useragent into the filter box. We’re looking for the general.useragent.overridepreference, but it probably won’t exist on your system.

 

ximg_57f5567e05bf3.png.pagespeed.gp+jp+j

 

To create the preference, right-click on the about:config page, point to New, and select String.

 

ximg_57f5568d4259a.png.pagespeed.gp+jp+j

 

Name the preference general.useragent.override .

 

ximg_57f556a9da0cc.png.pagespeed.gp+jp+j

 

Enter your desired user agent as the value of the preference. You’ll have to look up your desired user agent on the web and enter it exactly. For example, the following user agent is used by Googlebot, Google’s web crawler:

Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

You can find extensive lists of user agents on various websites, such as this one.

 

ximg_57f556fcaa822.png.pagespeed.gp+jp+j

 

This setting applies to every open tab and persists until you change it, even if you close and reopen Firefox.

To revert Firefox to the default user agent, right-click the “general.useragent.override” preference and select Reset.

 

ximg_57f5571a2a09e.png.pagespeed.gp+jp+j

Microsoft Edge and Internet Explorer

Microsoft Edge and Internet Explorer have user agent switchers in their developer tools, and they’re nearly identical. To open them, click the settings menu and select “F12 Developer Tools” or just press F12 on your keyboard.

 

ximg_57f55f8bc503f.png.pagespeed.gp+jp+j

 

The developer tools will open in a separate pane at the bottom of the window. Click the “Emulation” tab and choose a user agent from the “User agent string” box. You can also select the “Custom” option in the User agent string list and type a custom user agent into the box. You can find extensive lists of user agents on various websites, such as this one.

 

This setting is temporary. It only applies to the current tab, and only while the F12 Developer Tools pane is open.

 

ximg_57f56056e3693.png.pagespeed.gp+jp+j

Apple Safari

This option is available in Safari’s normally hidden Develop menu. To enable it, click Safari > Preferences. Select the “Advanced” tab and enable the “Show Develop menu in menu bar” option at the bottom of the window.

 

ximg_57f564862cdb4.png.pagespeed.gp+jp+j

 

Click Develop > User Agent and select the user agent you want to use in the list. If the user agent you want to use isn’t shown here, select “Other” and you can provide a custom user agent. You can find extensive lists of user agents on various websites, such as this one.

 

This option only applies to the current tab. Other open tabs and tabs you open in the future will use the “Default” user agent.

 

ximg_57f564b0e4cf1.jpg.pagespeed.gp+jp+j

 

Credit to

Link to comment
Share on other sites


  • Views 1.3k
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...