I prefer Librewolf as it is easier and simpler to use

  • MrOtherGuy
    arrow-up
    2
    arrow-down
    0
    ·
    3 months ago
    link
    fedilink

    Sure. For simplified example have only the following in your user.js file:

    user_pref("browser.tabs.warnOnClose",true);
    
    1. Start Firefox
    2. Observe that the pref is indeed true
    3. Go to Setting > General, observe that Confirm before closing multiple tabs is checked
    4. Uncheck the option
    5. In about:config observe that browser.tabs.warnOnClose is now false
    6. Restart Firefox
    7. Observe that the pref is again set to true

    The reason is also very simple. Firefox will never write anything to user.js - thus any changes you do at runtime will only be stored to prefs.js. However, user.js always overrides prefs.js at startup.

    • laughterlaughter
      arrow-up
      1
      arrow-down
      0
      ·
      3 months ago
      edit-2
      3 months ago
      link
      fedilink

      Understood, thanks. So on a clean install, I’m assuming user.js is either empty or missing, correct?

      • MrOtherGuy
        arrow-up
        2
        arrow-down
        0
        ·
        3 months ago
        link
        fedilink

        Yes. Firefox doesn’t create user.js file itself - if you want one then you need to create it yourself either manually or with some tool. Also, I’ve seen some “security” software create user.js file without notifying the user about it