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


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.

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


The Best Tech Newsletter Anywhere

Join 425,000 subscribers and get a daily digest of features, articles, news, and trivia.

By submitting your email, you agree to the Terms of Use and Privacy Policy.


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

Name the preference general.useragent.override .


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; +

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

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.


還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.