Compare Revisions
How to reset the default user agent on Firefox
Revision 185606:
Revision 185606 by TyDraniu on
Revision 191299:
Revision 191299 by AliceWyman on
Keywords:
useragent incompatible outdated
useragent incompatible outdated
Search results summary:
Learn how to reset your Firefox "user agent" so that websites can detect your correct browser and version and display the way they should.
Learn how to reset your Firefox "user agent" so that websites can detect your correct browser and version and display the way they should.
Content:
A [https://wikipedia.org/wiki/User_agent user agent] is a line of code that tells websites what type of browser and operating system you're using. This information helps the web server deliver content that's compatible with your browser.
You can change Firefox's user agent to trick outdated websites into thinking that you're using a different version of the browser. Web developers might do this to see how their websites will appear on different versions of a browser. Sometimes, add-ons and other installations can change your user agent without your knowledge. In any case, it's important to switch it back to the ''default user agent'' to display most websites correctly.
To view your user agent, click the Firefox menu button [[Image:Fx57Menu]], click Help [[Image:Fx57Help]] and select {menu Troubleshooting Information}. This will open a page with the address ''about:support''. The '''Application Basics''' section will include a '''User Agent''' entry. For example, the ''default user agent'' entry for Firefox 68 on Windows 7 (64-bit) would appear as:<br>
<sub>''Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0''</sub>
{for win}{note}'''Note''': If your user agent shows a previous Windows version, such as NT 6.0 (Windows Vista) instead of NT 6.1 (Windows 7), make sure you are not running Firefox in Compatibility mode. You can open the Properties of the Firefox desktop shortcut from the right-click context menu. Check the "Compatibility" tab and make sure that all items are deselected in the "Compatibility" tab of the Properties window.{/note}{/for}
To reset your user agent:
# [[T:aboutconfig]]
# Search for '''useragent''' by typing it into the '''Search''' field.
# [[T:contextmenu]] on each of these preferences, if they exist, and select {menu Reset} from the context menu.
* {pref general.useragent.extra.firefox}
* {pref general.useragent.extra.''productName''} - where ''productName'' can be the name of some third party software (e.g. ''microsoftdotnet'').
* {pref general.useragent.locale}
* {pref general.useragent.override}
* {pref general.useragent.security}
[[Image:reset_ua1.png]]
After resetting your user agent, you may need to clear your cookies and cache:
[[T:clearCookiesCache]]
A [https://wikipedia.org/wiki/User_agent user agent] is a line of code that tells websites what type of browser and operating system you're using. This information helps the web server deliver content that's compatible with your browser.
You can change Firefox's user agent to trick outdated websites into thinking that you're using a different version of the browser. Web developers might do this to see how their websites will appear on different versions of a browser. Sometimes, add-ons and other installations can change your user agent without your knowledge. In any case, it's important to switch it back to the ''default user agent'' to display most websites correctly.
To view your user agent, click the Firefox menu button [[Image:Fx57Menu]], click Help [[Image:Fx57Help]] and select {menu Troubleshooting Information}. This will open a page with the address ''about:support''. The '''Application Basics''' section will include a '''User Agent''' entry. For example, the ''default user agent'' entry for Firefox 68 on Windows 7 (64-bit) would appear as:<br>
<sub>''Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0''</sub>
{for win}{note}'''Note''': If your user agent shows a previous Windows version, such as NT 6.0 (Windows Vista) instead of NT 6.1 (Windows 7), make sure you are not running Firefox in Compatibility mode. You can open the Properties of the Firefox desktop shortcut from the right-click context menu. Check the "Compatibility" tab and make sure that all items are deselected in the "Compatibility" tab of the Properties window.{/note}{/for}
To reset your user agent:
{for not fx71}
# [[T:aboutconfig]]
# Search for '''useragent''' by typing it into the '''Search''' field.
# [[T:contextmenu]] on each of these preferences, if they exist, and select {menu Reset} from the context menu.
{/for}
{for fx71}
# [[T:aboutconfig]]
# Search for '''useragent''' by typing it into the ''Search preference name'' field.
# Click the ''Reset'' [[Image:Fx71aboutconfig-ResetButton]] or ''Delete'' [[Image:Fx71aboutconfig-DeleteButton]] button on each of these preferences, if they exist:
{/for}
* {pref general.useragent.extra.firefox}
* {pref general.useragent.extra.''productName''} - where ''productName'' can be the name of some third party software (e.g. ''microsoftdotnet'').
* {pref general.useragent.locale}
* {pref general.useragent.override}
* {pref general.useragent.security}
{for not fx71}[[Image:reset_ua1.png]]{/for}
{for fx71}See [[Configuration Editor for Firefox]] for more information about using the about:config page to reset or delete preferences.{/for}
After resetting your user agent, you may need to clear your cookies and cache:
[[T:clearCookiesCache]]