Examine source code of Dark Night Mode for Microsoft Edge™

Inspect and view changes in Dark Night Mode for Microsoft Edge™ source codes across current and past versions
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "name": "Dark Night Mode for Microsoft Edgeâ„¢",
  "description": "It is a night mode for the entire Internet. It darkens all the websites you visit so that you can browse without straining your eyes",
  "version": "3.0.0.1",
  "manifest_version": 3,
  "icons": {
    "48": "icons/icon48.png",
    "128": "icons/icon.png"
  },
  "content_scripts": [
    {
      "matches": [
        "*://*/*"
      ],
      "js": [
        "content_script.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "all_frames": true,
      "match_about_blank": true,
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_start",
      "exclude_globs": [
        "*/chrome/newtab*"
      ],
      "js": [
        "js/main.js"
      ]
    },
    {
      "all_frames": true,
      "match_about_blank": true,
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_start",
      "exclude_globs": [
        "*/chrome/newtab*"
      ],
      "css": [
        "css/universal.css"
      ]
    }
  ],
  "action": {
    "default_icons": {
      "48": "icons/icon48.png",
      "128": "icons/icon.png"
    },
    "default_title": "dark mode",
    "default_popup": "popup.html"
  },
  "options_page": "options.html",
  "background": {
    "service_worker": "background.js"
  },
  "permissions": [
    "tabs",
    "scripting",
    "activeTab",
    "storage",
    "contextMenus",
    "declarativeNetRequest"
  ],
  "host_permissions": [
    "*://*/*"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "css/*.css"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "offline_enabled": true,
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}