user.js - some prefs are ignored Topic is solved

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
gepus
Keeps coming back
Keeps coming back
Posts: 943
Joined: 2017-12-14, 12:59

user.js - some prefs are ignored

Unread post by gepus » 2018-08-18, 13:34

I thought this problem was solved but some prefs from user.js are still ignored.
This is weird because user.js should have priority over the prefs in "about:config".
If I change the respective prefs in "about:config" they get applied.

Some examples of prefs which I can't apply through user.js:

Code: Select all

user_pref("general.warnOnAboutConfig", false);
user_pref("security.OCSP.enabled", 0);
user_pref("plugin.default.state", 0);
user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
Probably there are more, I will have to recheck them all and they are many because they are for different profiles and aimed for different use case.

Any idea, hint or advise or explanation regarding this issue?
Can at least anybody test and confirm or prove me wrong?

Thanks in advance for any help.

(I know what those prefs are for and that some of them are not recommended)

User avatar
therube
Board Warrior
Board Warrior
Posts: 1651
Joined: 2018-06-08, 17:02

Re: user.js - some prefs are ignored

Unread post by therube » 2018-08-18, 13:46

Perhaps a syntax error elsewhere in user.js?
(Do I recall a bug where... what was it... xyz cause settings to be ignored, kind of thing... nope don't recall?)
(Also don't recall if Error Console, Browser Console would point out issues?)

Maybe it was something along this line, Bug 107264 bad syntax in prefs.js causes file to be ignored.?
Last edited by therube on 2018-08-18, 13:48, edited 2 times in total.

User avatar
gepus
Keeps coming back
Keeps coming back
Posts: 943
Joined: 2017-12-14, 12:59

Re: user.js - some prefs are ignored

Unread post by gepus » 2018-08-18, 15:16

therube wrote:Perhaps a syntax error elsewhere in user.js?
Yes. I did it again. :oops:

There were 4 slashes (//) which I have omitted before comments at the end of the pref.
Now all the prefs that didn't work are applied.

Thanks. :)

Locked