/dark-mode-enabler-extension

Turns the page into dark mode when you click the icon or by Ctrl+Shift+D

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Dark Mode Enabler Extension

Инструкции на русском

Browser extension that turns the page into dark mode when you click the extension's icon or by Ctrl+Shift+D. Chrome, Opera and any modern Chromium-based browser are supported. Very simple and lightweight extension, without any adware, spyware or user data collection.

Installation and usage

  1. Download dark-mode-enabler.crx file from Releases page
  2. Go to на Extensions page in your browser: copy and paste chrome://extensions to address bar of the browser then press Enter
  3. Enable "Developer mode"
  4. Drug-and-drop dark-mode-enabler.crx file to extensions page
  5. Confirm installation of custom extension
  6. (Optional) Allow access to search pages (such as Google) and Incognito (private) mode if you planned to use extension there
  7. While on the site that you want to darken, click on the extension icon or on Ctrl + Shift + D.

How it works

Extension simple adds/removes CSS property filter: invert(90%) to page's <html> tag. Read about this property.

I have an idea/feature request/issue!

The power of this extension is simplicity. If you need extended things like these:

  • Firefox/Safari/Edge version of this extension;
  • save state of dark mode for page or domain;
  • fix inverted colors on images or some other page elements;
  • add possibility for setup darkness/sepia/grayscale levels...

pay attention to this powerful open-source extension: Dark Reader.