Dark Mode Website Switcher

Dark Mode Website Switcher

Adjusts the website's color scheme, so that all websites are dark by default, if they have a special design for that. It makes websites look dark even with a light system style.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "name": "__MSG_extensionName__",
  "short_name": "__MSG_extensionNameShort__",
  "version": "2.0",
  "author": "rugk",
  "description": "__MSG_extensionDescription__",
  "homepage_url": "https://github.com/rugk/website-dark-mode-switcher/",
  "browser_action": {
    "browser_style": true,
    "default_icon": "icons/icon-dark.svg",
    "default_title": "__MSG_browserActionButtonTitle__",
    "theme_icons": [
      {
        "dark": "icons/icon-dark.svg",
        "light": "icons/icon-light.svg",
        "size": 32
      }
    ]
  },
  "options_ui": {
    "page": "options/options.html",
    "browser_style": true
  },
  "background": {
    "page": "background/background.html"
  },
  "commands": {
    "_execute_browser_action": {
      "suggested_key": {
        "default": "Ctrl+Shift+B"
      },
      "description": "__MSG_commandToggleDarkMode__"
    }
  },
  "content_security_policy": "default-src 'self'",
  "icons": {
    "16": "icons/icon-dark.svg",
    "32": "icons/icon-dark.svg",
    "48": "icons/icon-dark.svg",
    "96": "icons/icon-dark.svg"
  },
  "default_locale": "en",
  "permissions": [
    "storage",
    "browserSettings"
  ],
  "applications": {
    "gecko": {
      "id": "[email protected]",
      "strict_min_version": "95.0"
    }
  }
}