Gmail Dark Mode

Gmail Dark Mode

Gmail Dark Mode allows you quickly to enable a dark theme for Gmail.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Gmail Dark Mode",
  "description": "Gmail Dark Mode allows you quickly to enable a dark theme for Gmail.",
  "homepage_url": "https://nighteye.app",
  "version": "1.4.4",
  "author": "Promotino Ltd.",
  "icons": {
    "16": "res/icons/16.png",
    "48": "res/icons/48.png",
    "128": "res/icons/128.png"
  },
  "permissions": [
    "storage",
    "tabs",
    "activeTab",
    "scripting"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "css/*",
        "_locales/*",
        "js/browser-action/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "content_scripts": [
    {
      "matches": [
        "*://mail.google.com/*"
      ],
      "css": [
        "css/loading.css"
      ],
      "js": [
        "js/content/content.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "host_permissions": [
    "*://mail.google.com/*",
    "*://*.gstatic.com/*"
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  },
  "offline_enabled": true,
  "action": {
    "default_icon": "res/icons/64.png",
    "default_popup": "html/browser-action/popup.html",
    "default_title": "Gmail Dark Mode"
  },
  "background": {
    "service_worker": "background.js"
  }
}