I sometimes need to test if a website I develop is working correctly in dark mode, but dark/light mode buttons doesn’t work in LibreWolf devtools. Is there a solution for this?

  • z3rOR0ne
    link
    fedilink
    6
    edit-2
    1 month ago

    Librewolf turns on resist fingerprinting by default. If you go into about:config and disable resist fingerprinting, you can re enable light/dark mode preferences being recognized by the browser.

    Or you could install the Dark Reader extension, but that will overwrite all CSS and approximate Dark Mode rather than use a customized CSS stylesheet.

    Or you could install Vanilla Firefox and use that only to develop while you use Librewolf to privately browse, which is what I do.

    • @starmanOP
      link
      English
      61 month ago

      If there isn’t more convenient way, I’ll just disable RFP when needed. Thanks!

      • @[email protected]
        link
        fedilink
        English
        31 month ago

        You can create a new profile on the about:profiles page, which you could use for development. This is like if you installed a new browser, but with your original one, because the new profile have it’s own separate settings.

        • @starmanOP
          link
          English
          21 month ago

          That’s even better, thank you!