Refined GitHub

Simplifies the GitHub interface and adds useful features
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",
  "$schema": "https://json.schemastore.org/chrome-manifest",
  "name": "Refined GitHub",
  "version": "25.3.19",
  "description": "Simplifies the GitHub interface and adds useful features",
  "homepage_url": "https://github.com/refined-github/refined-github",
  "manifest_version": 3,
  "minimum_chrome_version": "123",
  "browser_specific_settings": {
    "gecko": {
      "id": "{a4c4eda4-fb84-4a84-b4a1-f7c1cbf2a1ad}",
      "strict_min_version": "126.0"
    },
    "gecko_android": {
      "id": "{a4c4eda4-fb84-4a84-b4a1-f7c1cbf2a1ad}",
      "strict_min_version": "126.0"
    }
  },
  "permissions": [
    "storage",
    "scripting",
    "contextMenus",
    "activeTab",
    "alarms"
  ],
  "host_permissions": [
    "https://github.com/*",
    "https://api.github.com/*"
  ],
  "action": {
    "default_icon": "assets/icon.png"
  },
  "optional_permissions": [
    "*://*/*"
  ],
  "optional_host_permissions": [
    "*://*/*"
  ],
  "icons": {
    "128": "assets/icon.png"
  },
  "options_page": "assets/options.html",
  "background": {
    "service_worker": "assets/background.js",
    "type": "module",
    "scripts": [
      "assets/background.js"
    ]
  },
  "content_scripts": [
    {
      "run_at": "document_start",
      "matches": [
        "https://github.com/*",
        "https://gist.github.com/*"
      ],
      "exclude_matches": [
        "https://*/login/*"
      ],
      "css": [
        "assets/refined-github.css"
      ],
      "js": [
        "assets/content-script.js"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "assets/*"
      ],
      "matches": [
        "https://*/*"
      ]
    }
  ]
}