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@lemmy.ml
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    8 months 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
      fedilink
      English
      arrow-up
      6
      ·
      8 months ago

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

      • ReversalHatchery@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 months 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
          fedilink
          English
          arrow-up
          2
          ·
          8 months ago

          That’s even better, thank you!