I am using 4.4 sailfish os with the updated sailfish-browser. I am trying to increase fonts displayed by the browser by changing
layout.css.devPixelsPerPx in about:config. Unfortunately this works for the current browser session only and gets the default value after restart. The same applies to manual modification of /home/defaultuser/.local/share/org.sailfishos/browser/.mozilla/prefs.js. My next idea is to add proper line to user.js (as pointed out in the comment present in prejs.js) but I cannot locate “profile directory” where user.js should be located.
To sum up - Is it the desired behavior that you cannot make any permanent changes in about:config? - it was possible in 4.3 from what I recall. Do you have any idea where user.js should be placed as a possible workaround?