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
  • 5 have this problem
  • 458 views
  • Last reply by kglazyrin

more options

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)

more options

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

Helpful?

more options

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

Modified by kglazyrin

Helpful?

more options

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.

Helpful?

more options

"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

Helpful?

more options

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

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.