Dark Reader for Firefox: install, modes, shortcuts and site list

Martin Brinkmann
Updated •
Firefox

Dark Reader for Firefox is a free, open-source extension (MIT license) that adds a dark theme to any website, including sites that have no dark mode of their own. Install it from Mozilla's official add-ons site, click its toolbar icon to turn it on, and adjust brightness, contrast, sepia and grayscale per site. It works on Firefox for desktop and Firefox for Android.

This guide covers installation, the four theme generation modes, the site list, keyboard shortcuts, Firefox's own website dark setting and what to do when a site looks wrong.

How to install Dark Reader in Firefox

Dark Reader installs in Firefox from the official Mozilla Add-ons listing in under a minute. The developer listed there is Dark Reader Ltd, and the listing shows more than 1.3 million Firefox users and a 4.5 out of 5 rating. Get it only from that page, because copycat extensions with similar names exist.

  1. Open the Dark Reader page on Firefox Add-ons.
  2. Click Add to Firefox and confirm the permission prompt.
  3. Pin the Dark Reader icon to the toolbar if Firefox places it in the extensions menu.
  4. Click the icon and make sure the extension is set to On.

On Firefox for Android, open the browser menu, go to the add-ons section and install Dark Reader from the same Mozilla listing. The extension asks for two permissions: access to browser tabs and access to your data on all websites. It needs both to read and restyle each page. The Dark Reader help page states that it does not insert ads and does not collect or send any data, and the source code is public on GitHub.

Dark Reader is one of the add-ons we include in our list of essential Firefox extensions.

Dark Reader settings: brightness, contrast, sepia and fonts

Dark Reader's main popup controls how dark every site looks, and each change applies instantly. The popup has a Dark and Light switch (Light mode makes pages lighter instead of darker) and four sliders:

  • Brightness: lowers or raises overall page brightness.
  • Contrast: changes the gap between text and background.
  • Sepia: adds a warm tone that some readers find easier on the eyes at night.
  • Grayscale: removes color saturation from the page.

Font settings let you replace site fonts with one you choose. In Firefox you can type a font name manually, which is useful when a font installed on your system does not appear in the list.

Settings can apply to all sites or only to the current site. A practical setup is a moderate global profile (for example slightly reduced brightness) plus per-site adjustments for pages with large images or charts, where full darkening can make content hard to read.

Dynamic, Filter, Filter+ and Static modes compared

Dark Reader offers four theme generation modes, and Dynamic is the best choice for most Firefox users. The modes differ in how they create the dark theme:

Mode How it works Firefox notes
Dynamic Analyzes style sheets, background images and vector graphics Best visual result; uses more resources on first page load
Filter Inverts the whole page, then reverts some parts Fast, but can lag on large pages and fails to render some pages in Firefox
Filter+ Like Filter, with custom SVG filters for better colors The developers say it works poorly in Firefox
Static Quickly generates a basic stylesheet Lightweight, less precise

If a page is slow or displays incorrectly in Dynamic mode, the Dark Reader help suggests switching that one site to Filter or to Light mode rather than changing the global mode. Static is worth trying on older PCs where page loading feels sluggish with Dynamic mode enabled.

Dark Reader keyboard shortcuts and how to change them

Dark Reader ships with two default keyboard shortcuts: Alt+Shift+D turns the extension on or off, and Alt+Shift+A toggles Dark Reader for the current site. A third command, which switches the theme generation mode, has no default key. You can change or assign all of them in Firefox:

  1. Open the Firefox menu and select Extensions and themes, then Extensions.
  2. Click the cogwheel (Tools for all add-ons).
  3. Select Manage Extension Shortcuts.
  4. Find Dark Reader and type a new shortcut into the field for each command.

Mozilla documents this page in its extension shortcuts help article. If a Dark Reader shortcut conflicts with another add-on or opens the Firefox menu bar instead, assigning a different combination here resolves it.

How to disable Dark Reader on specific sites

Dark Reader uses a site list to decide where it applies, and the Toggle site button in the popup adds or removes the current site. The list works in one of two ways:

  • Not invert listed: Dark Reader darkens every site except those on the list. Use this when most sites benefit and only a few break.
  • Invert listed only: Dark Reader works only on the sites you add. Use this when you want dark mode on a handful of bright sites.

Entries accept patterns such as google.com, google.* or google.com/maps, and regular expressions wrapped in slashes. Sites that already offer a good native dark theme are good candidates for the exclusion list, because a second dark layer on top can wash out colors.

Firefox website appearance setting vs Dark Reader

Firefox has a built-in Website appearance setting, but it only changes sites that provide their own dark design, while Dark Reader generates a dark theme for any site. Find the setting under Settings, General, then Appearance in the Language and Appearance section (see Mozilla's website appearance guide). The options are Automatic, Light and Dark.

The two work well together. Set Firefox to Dark so sites with a native dark theme use it, then add those sites to Dark Reader's exclusion list and let the extension handle everything else. Note that with privacy.resistFingerprinting enabled, Firefox reports Light to websites even when Dark is selected. The same idea applies in other browsers: Brave, for example, has its own night mode for any website.

What to do when a site looks wrong in Dark Reader

When a site displays incorrectly, first switch that site to another theme generation mode, and if that fails, exclude it with Toggle site. Other fixes, in order:

  • Check that the site is not on the site list by mistake (in Invert listed only mode, unlisted sites stay bright).
  • Try Filter mode or Light mode for that site, as the Dark Reader help recommends.
  • If you know CSS selectors, use the Dev tools button in the popup to preview and suggest a fix for the site.
  • Report the problem to the developers with the site address, a screenshot and your operating system and browser versions.

If pages stutter while scrolling, Firefox's hardware acceleration setting is worth checking, since Dynamic mode adds work on each page load.

FAQ

Is Dark Reader for Firefox free?

Yes. Dark Reader for Firefox is free and open source under the MIT license. No features are locked behind a payment in the Firefox extension.

Is Dark Reader safe to use in Firefox?

Dark Reader is published on Mozilla's official add-ons site by Dark Reader Ltd, its code is public on GitHub, and its help page states that it does not collect or send user data. It needs access to all websites because it restyles every page you open.

Does Dark Reader slow down Firefox?

Dynamic mode uses extra resources on the first load of a page, which can be noticeable on large pages or older hardware. Switching to Static mode, or excluding heavy sites, reduces the impact.

Is there Dark Reader for Safari?

Yes. For Safari, the developers offer Dark Reader as a separate iOS and macOS app, linked from the Dark Reader help page, rather than as the same extension used in Firefox and Chrome.

Related: dark high contrast theme for Windows 10, enable night mode on Twitter, Auto Tab Discard for Firefox memory savings

Comments

  1. Emil said on
    Reply

    My favorite extension ever, it beats all attempts with Stylish/Stylus dark themes that I made over time. I never understood this design mistake of having a monitor shine its full brightness in your face.

  2. Jon Bovi said on
    Reply

    I use Dark Reader in Vivaldi with success.

    I tried it in Opera with far less success.

  3. mt said on
    Reply

    I tried the extension, and decided it isn’t for me.

    I went to Tools/Extentions/disable, and re-booted the computer.

    When I logged back on, the monitor still continues to operate in Dark Reader Mode….EVEN THOUGH firefox confirmed the extension was removed from the Tools/extensions section.

    So, what next?

  4. Clairvaux said on
    Reply

    I searched whether you had written on Dark Reader, only to express my deep statisfaction at that extension, which I just found out on my own. My eyes are beginning to hurt with all that staring at a big white LED panel, and while I used to make fun of dark background aficionados, Dark Reader really got me converted.

    As others have mentioned, it’s a dream come true. The problem, with other attempts at dark backgrounds, is that you’ve got to do it right. White text on a black background is worse than the traditional black on white. Text, especially, need to be coloured, even when it seems to be white.

    I don’t know where the developers come from, but their main achievement lays in designing colour combinations which are, at the same time, easy to read, easy on the eyes, and beautiful. Also, the user interface concept is very good : beautiful, fast, intuitive and powerful, without being so crammed with features as to make it a hindrance.

    That being said, I still haven’t understood many of the basics : reverting to default settings, applying settings to one particular site or all sites, etc. But I suppose it’s just a matter of learning.

    Also, the ad handling is problematic — at least on sites where I unblock ads, like here. I’m not sure this can be corrected, though (except by ad-blocking), since the ads are designed for a white background.

    I now run Dark Reader on Firefox, Opera and Vivaldi, and most of my web browsing is going to be dark-based from now on, I guess.

    The other extension I found useful for this is Dark Mode, but it’s much more primitive. You need to try a long list of pre-set themes, and make a note of those you like. Dark Reader is a very, very good starting point. It could become, in its field, what Gorhill’s u-Things are to script-blocking and third-party control.

  5. chesscanoe said on
    Reply

    Dark Reader 4.6.0 for Chrome dated 2018-07-04 is a dream come true for me. I first became aware of this Chrome extension yesterday, and of the 100 or so sites I tested, only one (a weather site) would not show live radar unless I disabled Dark Reader for that site. It is great that New Gmail and my ISP web based email now look like they should for me.

  6. heyric said on
    Reply

    it’s almost always a nightmare for me to understand what to do on github website in order to get a piece of software..it’s probably not meant to distribute software otherwise it’s unclear unless you already know..imho (it will turn out it’s full of directions of what to do and I don’t see them)

  7. Franck said on
    Reply

    Thanks a lot!

  8. Paul(us) said on
    Reply

    I have tried it in Firefox 58.02 private mode and then the settings are not available.
    The setting who is already configured in the normal mode is taken over the private mode.
    I have not tried this with google but I am wondering or I am doing anything wrong in the Firefox 58.02 private mode?
    Do anybody knows a solution?

    P.s. I am really like the dark theme in certain websites.

    1. leanon said on
      Reply

      Looks like we just need to wait for a fix.

      https://github.com/alexanderby/darkreader/issues/217

      1. Paul(us) said on
        Reply

        Thanks for responding concerning the question I had about the private mode, Leanon.
        I seem to have overlooked your find concerning the issues pages, completely.
        Not so ferry smart of me! :-)
        Hopefully alexanderby can fix the API private mode issues, this because i really like that this theme will work in Firefox.

  9. Tekwarfare said on
    Reply

    This doesn’t work at all. I’m on Firefox 58.0.2

  10. Joe said on
    Reply

    I hadn’t tried one of these in a few years. This is pretty good – the ability to have a whitelist with a simple hotkey to add the current site and instantly turn it dark is perfect. I tried the Owl extension too, but I like this UI better.

  11. Anonymous said on
    Reply

    It is possible to disable it per-site. Just click on the toolbar button and press the “Disabled” radio button. The “Enabled” checkbox at the top is the global on/off setting.

  12. mat9v said on
    Reply

    Dark Reader under Chrome has a very nasty “feature”. Chrome can render webpages in multicore mode, when Dark Reader is turned on on a webpage it forces single core rendering. For example on Overclock.net I have noticed rendering and scrolling to be so slow as to be unusable when the site is configured to display 50 or more posts per page. Without the extension active, it is perfectly smooth.

  13. Klaas Vaak said on
    Reply

    There is also the FF extension “Dark background and light text”, which has a high quality definition and is pleasing to use. The drawback: you cannot toggle per site, it is either off or on browser-wide.

    1. DBLT said on
      Reply

      I have only tried “Dark background and light text” on an older FF version and it can save settings for each web site visited, drop down the menu by clicking the “A” icon and choose some of the following:
      * Disabled
      * Stylesheet processor
      * Simple CSS
      * Invert
      * Default
      when any of the other settings except “Default” are chosen the active web site tab will be saved to a list of web site preferences, it will then appear in the list found under “Global Preferences”.
      For the most part it looks pretty good though some minor artifacts may appear.

      1. Klaas Vaak said on
        Reply

        Thank you so much for replying. I had not figured that out, duh. When I noticed Dark Reader offered the possibility of a per site toggle, I decided, with sadness, to ditch DBLT. I have now reinstalled it. Thanks again.

        BTW: I am using Waterfox, which is probably why DBLT still works.

  14. Rush said on
    Reply

    I like the program, and I will have to play around with the screen adjustment.

    One minor problem, is watching a video in FF, changes to “negative” when the video is in Full Screen Mode.”

    1. leanon said on
      Reply

      For a quick fix in the drop down top left is toggle button. Or there is developer tools in the drop down. Looks like the owner does want bug reports, mainly what sites are not displaying correctly.

  15. Joe said on
    Reply

    I was confused by this line in this article: “…the handy shortcut Ctrl-Shift-A to add sites to that list. This shortcut does not work properly in Firefox however as the Alt-key is mapped to the menu bar.”

    I see on the extension’s page that it should read “Alt-Shift-A”.

    1. Martin Brinkmann said on
      Reply

      Shortcut is Alt-Shift-A, corrected.

      1. Joe said on
        Reply

        Note that the shortcut works for me on Firefox as long as I press and hold “Shift” first, before pressing “Alt” and “A”.

  16. nowadays said on
    Reply

    Great but not as great as the decentraleyes addon right no’

    1. syadawon said on
      Reply

      How are the two even remotely comparable? Decentraleyes protects your privacy by packaging local copies of frequently requested libraries and other resources, while the add-on featured in this article gives websites a dark theme.

  17. Kubrick said on
    Reply

    I much prefer the dark mode extension by grephy.Lots of theme choices which can be turned off or on at will.However the only downside is there does not seem to be any config options.

    1. Al Binewski said on
      Reply

      OMG, thanks so much. Finally one that works on Opera and doesnt break some part of FBs UI in some small way. I was leery at the low rating, but there are a crap ton of themes here, and custom stuff for almost all the popular websites. This is the best one Ive seen.

      1. Al Binewski said on
        Reply

        Side note: when I recently tried dark reader it did break some of FBs UI at least for me over here in Opera.

  18. leanon said on
    Reply

    I dont want to be to harsh since it is fairly new to AMO but will say this much its about like a wet dream come true!!! I just opened a folder of bookmarks in tabs to test (roughly 25) an all pass with flying dark colors.

    There are a few bugs, even right here on gHacks the “we use cookies…” bar moves with the page when scrolling. It also dont play nice with css colors but repects changes in size and layout. I tested gHacks with and without my own css. Good thing it has a blacklist rrrr whitelist???

    1. ann said on
      Reply

      i have the same with the owl extention, the “we use cookies bar is also floating”
      I mostly perfer white text on black background any time of the day.

      1. leanon said on
        Reply

        Cookie bar no more, added to css :D

  19. olidie said on
    Reply

    Reading white text on a dark (black) background is a a big pain for my eyes. When I do so and then switch to a lighter site, it seems like the white text lines were burnt into my retina. It takes a little while to go back to normal.

    1. Alexander said on
      Reply

      For high contrast display (like MacBook) set -30% contrast, +10% brightness, +10% sepia. This will make text less bright.

Leave a Reply

By commenting, you accept our privacy policy and keep the discussion respectful and on topic.