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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

user.js file not working for new preference

  • 2 uphendule
  • 1 inale nkinga
  • 1 view
  • Igcine ukuphendulwa ngu Ferrar

more options

I noticed that the secure URL padlock icon is now grey instead of green. This is intuitively wrong: it makes me think it's not really secure, so I found on another forum the about: config setting for this and changed it back to green. I have about 20 FF profiles across several devices, and these all share a common user.js file which I edit in a Dropbox folder and copy to all the profiles. I placed this setting into the common user.js file:

user_pref("security.secure_connection_icon_color_gray", false);

But it doesn't work. Do I have the syntax wrong, or is there another setting for this?

I noticed that the secure URL padlock icon is now grey instead of green. This is intuitively wrong: it makes me think it's not really secure, so I found on another forum the about: config setting for this and changed it back to green. I have about 20 FF profiles across several devices, and these all share a common user.js file which I edit in a Dropbox folder and copy to all the profiles. I placed this setting into the common user.js file: user_pref("security.secure_connection_icon_color_gray", false); But it doesn't work. Do I have the syntax wrong, or is there another setting for this?

All Replies (2)

more options

Did you confirm via about:config that the pref is actually set to false and that there isn't a problem with the user.js file?

Note that you can also set prefs via an autoconfig.cfg file for all profiles used by a specific Firefox installation.

more options

In about:config the pref remained at true. I checked the prefs.js file and the pref had not been copied from user.js. To check that the user.js file is not corrupt, I changed the setting of a random existing pref in user.js. This was copied correctly and was applied. So it's this particular pref that is not being copied.

Thank you for the information about autoconfig.cfg. I didn't know about that, so I'll try it.