Auto Dark for YouTube™

Auto Dark for YouTube™

Automatically turns on Dark Theme at night for YouTube™

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "version": "3.0.0",
  "name": "Auto Dark for YouTube™",
  "short_name": "Auto Dark YT",
  "description": "Automatically turns on Dark Theme at night for YouTube™",
  "author": "Carlos Jeurissen",
  "homepage_url": "https://apps.jeurissen.co/auto-dark-for-youtube",
  "developer": {
    "name": "Carlos Jeurissen",
    "url": "https://apps.jeurissen.co/auto-dark-for-youtube"
  },
  "content_security_policy": {
    "extension_pages": "default-src 'none'; child-src 'none'; connect-src 'none'; font-src 'none'; frame-src 'none'; manifest-src 'none'; media-src 'none'; object-src 'none'; worker-src 'none'; img-src data:; script-src 'self'; script-src-elem 'self'; script-src-attr 'none'; style-src 'self'; style-src-elem 'self'; style-src-attr 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; block-all-mixed-content; upgrade-insecure-requests; report-uri https://api.jeurissen.co/reports/csp/webext/dfyt/v1_6_2/"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "[email protected]"
    }
  },
  "externally_connectable": {
    "ids": [],
    "accepts_tls_channel_id": false
  },
  "icons": {
    "16": "/images/icon-16.png",
    "19": "/images/icon-19.png",
    "32": "/images/icon-32.png",
    "38": "/images/icon-38.png",
    "48": "/images/icon-48.png",
    "128": "/images/icon-128.png"
  },
  "permissions": [
    "storage",
    "scripting"
  ],
  "background": {
    "service_worker": "/background.js"
  },
  "options_ui": {
    "page": "/views/options.html",
    "browser_style": false
  },
  "action": {
    "browser_style": false,
    "default_icon": {
      "16": "/images/icon-16.png",
      "19": "/images/icon-19.png",
      "32": "/images/icon-32.png",
      "38": "/images/icon-38.png"
    },
    "default_title": "Configure settings"
  },
  "content_scripts": [
    {
      "js": [
        "/scripts/content-script.js"
      ],
      "matches": [
        "https://*.youtube.com/*"
      ],
      "run_at": "document_start"
    }
  ]
}