The Energy Area

The Energy Area
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "description": "The Energy Area",
  "version": "1.1.1",
  "manifest_version": 3,
  "name": "The Energy Area",
  "short_name": "Energy",
  "permissions": [
    "storage",
    "unlimitedStorage",
    "activeTab"
  ],
  "host_permissions": [
    "*://*.youtube.com/*",
    "*://*.theenergyarea.com/*"
  ],
  "externally_connectable": {
    "matches": [
      "*://*.theenergyarea.com/*"
    ]
  },
  "action": {
    "default_popup": "index.html",
    "default_icon": "/assets/x-nrg.png"
  },
  "display": "standalone",
  "icons": {
    "128": "/assets/x-nrg.png"
  },
  "background": {
    "service_worker": "static/js/background.js"
  },
  "content_scripts": [
    {
      "js": [
        "static/js/content.js"
      ],
      "matches": [
        "https://*.youtube.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://*.youtube.com/*"
      ],
      "css": [
        "assets/css/content.styles.css"
      ],
      "run_at": "document_idle",
      "all_frames": true
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "/assets/*"
      ],
      "matches": [
        "https://*.youtube.com/*"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
  }
}