• think1984@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    You can force Firefox to display dark mode in web content (even with privacy tweaks enabled to resist fingerprinting or tracking), by setting the two following hidden prefs in your user.js:

    // PREF: enable a Dark theme for browser and webpage content
    // [TEST] https://9to5mac.com/
    user_pref("ui.systemUsesDarkTheme", 1); // HIDDEN
    user_pref("browser.in-content.dark-mode", true); // HIDDEN
    
    • Lemongrab@lemmy.one
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      8 months ago

      Does this force dark mode on pages or just what. I couldn’t get it to work anywhere close to chomiums force dark mode.