Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

general.useragent.override resets to Firefox/61.0

  • 5 replies
  • 6 have this problem
  • 40 views
  • Last reply by kglazyrin
  • Solved

I have minimal add-ons (adblock, multi-acc containers) and don't know why useragent always sets to Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 after browser restart.

I have minimal add-ons (adblock, multi-acc containers) and don't know why useragent always sets to Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 after browser restart.

Chosen solution

You can check what .js files are present in the "defaults\pref" folder in the Firefox program folder. The channel-prefs.js file that sets app.update.channel is a legitimate file in this folder, any other .js file is suspicious. You can open this suspect file in a plain text editor like Notepad (Mac: TextEdit) and please post its content to see whether that allows to identify what software created the file. Also please post the content of the autoconfig.cfg file referenced in this autoconfig.js file.

There shouldn't be a autoconfig.cfg file present unless you've created it yourself to initialize some prefs.

If you have this autoconfig.cfg file then best is to do a clean reinstall and delete the Firefox program folder to make sure that all files are removed before reinstalling a freshly downloaded copy of Firefox.

Read this answer in context 👍 1

All Replies (5)

Go to your profile folder and search for user.js file. Does it contain this user agent?

there is no user.js file. prefs.js only

Modified by kglazyrin

Chosen Solution

You can check what .js files are present in the "defaults\pref" folder in the Firefox program folder. The channel-prefs.js file that sets app.update.channel is a legitimate file in this folder, any other .js file is suspicious. You can open this suspect file in a plain text editor like Notepad (Mac: TextEdit) and please post its content to see whether that allows to identify what software created the file. Also please post the content of the autoconfig.cfg file referenced in this autoconfig.js file.

There shouldn't be a autoconfig.cfg file present unless you've created it yourself to initialize some prefs.

If you have this autoconfig.cfg file then best is to do a clean reinstall and delete the Firefox program folder to make sure that all files are removed before reinstalling a freshly downloaded copy of Firefox.

"C:\Program Files\Mozilla Firefox\defaults\pref\local-settings.js" pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg");

autoconfig.cfg/js is absent

Thank you, cor-el. The mozilla.cfg file does indeed contain pref("general.useragent.override"... Apparently added by the employer