Recently, my /etc/firefox/syspref.js
stopped being applied.
Unlike on Windows, where configuration errors results in
Failed to read the configuration file. Please contact your system administrator.
on my Ubuntu machines, firefox just silently ignores my settings.
Launching with the -jsconsole
switch reveals
** Preference parsing error (line 1) = non-matching string **
I did not make any changes to my /etc/firefox/syspref.js
file. It did work in Firefox 58 and stopped working with the first Firefox 59 version. My file contains
// first line is ignored
lockPref("browser.startup.homepage", "https://example.org/");
What can i do to
- temporarily mitigate the problem: Make firefox read my config again?
- permanently solve the problem: Prevent firefox from starting with invalid configuration when it encounters syntax errors in my system-wide config?