Resetting your useragent string to its compiled-in default: Difference between revisions
m (typo) |
Alice Wyman (talk | contribs) (removed stub template, added link explaining user agent strings, added prefs.js edit, bug 83376added categories) |
||
Line 1: | Line 1: | ||
To reset the [http://www.mozilla.org/build/revised-user-agent-strings.html user-agent string] to its compiled-in default for your Mozilla application: | |||
To reset | |||
# Type [[about:config]] in the Location Bar, then hit Enter. ''(For Thunderbird, click "[[Menu differences in Windows, Linux, and Mac|Tools -> Options]] -> Advanced -> General -> Config Editor" instead.)'' | # Type [[about:config]] in the Location Bar, then hit Enter. ''(For Thunderbird, click "[[Menu differences in Windows, Linux, and Mac|Tools -> Options]] -> Advanced -> General -> Config Editor" instead.)'' | ||
# Enter '''general.useragent''' in the Filter box. | # Enter '''general.useragent''' in the Filter box. | ||
# If any of the preferences still displayed are '''user set''', right-click | # If any of the preferences still displayed are shown as '''user set''', right-click (context click) the preference and select "Reset". | ||
You can also reset your user-agent string by editing the [[prefs.js file]] in the [[profile folder]] with your Mozilla application closed. (This may be necessary if the browser crashes at startup loading the Java plugin because of a spoofed user agent - see [https://bugzilla.mozilla.org/show_bug.cgi?id=83376 bug 83376].) Save a backup copy of prefs.js as a precaution, then open the prefs.js file in a text editor such as Notepad, delete any lines beginning with ''user_pref("general.useragent.'' and then save the changes. | |||
Warning: If you have a [[user.js]] file, make sure that any any ''general.useragent.'' lines are removed from that file as well, since any preferences set by the user.js file will be set again the next time you restart the application. | |||
[[Category:Configuration]] | |||
[[Category:Configuration (Thunderbird)]] |
Revision as of 03:10, 16 November 2007
To reset the user-agent string to its compiled-in default for your Mozilla application:
- Type about:config in the Location Bar, then hit Enter. (For Thunderbird, click "Tools -> Options -> Advanced -> General -> Config Editor" instead.)
- Enter general.useragent in the Filter box.
- If any of the preferences still displayed are shown as user set, right-click (context click) the preference and select "Reset".
You can also reset your user-agent string by editing the prefs.js file in the profile folder with your Mozilla application closed. (This may be necessary if the browser crashes at startup loading the Java plugin because of a spoofed user agent - see bug 83376.) Save a backup copy of prefs.js as a precaution, then open the prefs.js file in a text editor such as Notepad, delete any lines beginning with user_pref("general.useragent. and then save the changes.
Warning: If you have a user.js file, make sure that any any general.useragent. lines are removed from that file as well, since any preferences set by the user.js file will be set again the next time you restart the application.