{
  "name": "GitHub Differ",
  "version": "1.0",
  "manifest_version": 2,
  "description": "Allow you to request diffs between arbitrary commits in some branch.",
  "content_scripts": [
    {
      "matches": [
          "https://*.github.com/*/commits",
          "https://*.github.com/*/pull/*",
          "https://*.github.com/*/commits/*",
          "https://*.github.com/*/compare/*"
      ],
      "js": ["src/add-diff-buttons.js"]
    }
  ]
}

{
  "name": "GitHub Differ",
  "version": "1.0",
  "manifest_version": 2,
  "description": "Allow you to request diffs between arbitrary commits in some branch.",
  "content_scripts": [
    {
      "matches": [
          "https://*/*/commits",
          "https://*/*/pull/*",
          "https://*/*/commits/*",
          "https://*/*/compare/*"
      ],
      "js": ["src/add-diff-buttons.js"]
    }
  ]
}

Use a * to support hostnames like github.example.com. The matcher syntax isn't flexible enough to accomodate a more refined match.
Use a * to support hostnames like github.example.com. The matcher syntax isn't flexible enough to accomodate a more refined match.
