Enhanced GitHub

Display repo size, size of each file, download link and option to copy file contents
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",
  "name": "Enhanced GitHub",
  "short_name": "Enhanced GitHub",
  "version": "6.0.0",
  "manifest_version": 3,
  "description": "Display repo size, size of each file, download link and option to copy file contents",
  "homepage_url": "https://github.com/softvar/enhanced-github",
  "author": "Varun Malhotra",
  "icons": {
    "16": "icons/enhanced-github16.png",
    "48": "icons/enhanced-github48.png",
    "128": "icons/enhanced-github128.png"
  },
  "action": {
    "default_icon": "icons/enhanced-github48.png",
    "default_popup": "popup.html",
    "default_title": "Enhanced GitHub"
  },
  "permissions": [
    "storage",
    "webRequest",
    "webNavigation"
  ],
  "host_permissions": [
    "*://*.github.com/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "*://*.github.com/*"
      ],
      "js": [
        "src/inject.js"
      ]
    }
  ],
  "background": {
    "service_worker": "background.js"
  },
  "options_ui": {
    "page": "options.html",
    "open_in_tab": true
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  }
}