Dark Background and Light Text

Dark Background and Light Text

Makes every page to have light text on dark background (exact colors are customizable)

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "Dark Background and Light Text",
  "version": "0.6.10",
  "description": "Makes every page to have light text on dark background (exact colors are customizable)",
  "icons": {
    "48": "icons/icon48.png"
  },
  "applications": {
    "gecko": {
      "id": "jid1-QoFqdK4qzUfGWQ@jetpack"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "lib/webextension-polyfill/dist/browser-polyfill.min.js",
        "lib/shared.js",
        "lib/css-color-parser/csscolorparser.js",
        "lib/get_acceptable_range.js",
        "lib/color_utils.js",
        "methods/stylesheet-processor-abstract.js",
        "methods/stylesheet-color-processor.js",
        "lib/content-script.js"
      ],
      "run_at": "document_start",
      "match_about_blank": false,
      "all_frames": true
    }
  ],
  "background": {
    "scripts": [
      "lib/webextension-polyfill/dist/browser-polyfill.min.js",
      "lib/shared.js",
      "lib/css-color-parser/csscolorparser.js",
      "lib/color_utils.js",
      "lib/background-script.js"
    ]
  },
  "commands": {
    "global_toggle_hotkey": {
      "suggested_key": "Ctrl+Shift+Y",
      "description": "Toggle enabled globally"
    },
    "tab_toggle_hotkey": {
      "suggested_key": "Ctrl+Y",
      "description": "Toggle enabled for current tab"
    }
  },
  "browser_action": {
    "browser_style": false,
    "default_icon": {
      "16": "icons/icon16.png",
      "24": "icons/icon24.png",
      "32": "icons/icon32.png",
      "48": "icons/icon48.png",
      "64": "icons/icon64.png"
    },
    "default_title": "Dark Background and Light Text",
    "default_popup": "ui/configure-for-current-tab-panel.html"
  },
  "options_ui": {
    "page": "ui/preferences.html",
    "browser_style": false,
    "open_in_tab": true
  },
  "permissions": [
    "<all_urls>",
    "tabs",
    "storage",
    "notifications",
    "webRequest",
    "webRequestBlocking"
  ]
}