Examine source code of Watch YouTube in HD/4K

Inspect and view changes in Watch YouTube in HD/4K 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": "Watch YouTube in HD/4K",
  "description": "Simple Auto HD quality selector for YouTube. Up to 8k/4kupported.Right click Search in Youtube.",
  "version": "3.0.0.2",
  "manifest_version": 3,
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "*://*/*"
      ],
      "js": [
        "content_script.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "*://www.youtube.com/*"
      ],
      "exclude_globs": [
        "*/embed/*",
        "*/tv#/*",
        "*/tv/*"
      ],
      "all_frames": true,
      "js": [
        "content.js"
      ],
      "run_at": "document_end"
    }
  ],
  "action": {
    "default_icons": {
      "16": "icons/icon16.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    },
    "default_title": "yt",
    "default_popup": "popup.html"
  },
  "options_page": "options.html",
  "background": {
    "service_worker": "background.js"
  },
  "permissions": [
    "contextMenus",
    "tabs",
    "storage",
    "declarativeNetRequest"
  ],
  "host_permissions": [
    "*://*/*"
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}