GitHub Diff Whitespace Firefox

Examine source code of GitHub Diff Whitespace

提供元: Scott Robertson
Inspect and view changes in GitHub Diff Whitespace source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "GitHub Diff Whitespace",
  "version": "1.0.0",
  "description": "Automatically appends ?w=1 to GitHub diff URLs to ignore whitespace changes",
  "browser_specific_settings": {
    "gecko": {
      "id": "github-diff-whitespace@srobertson.dev",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  },
  "permissions": [
    "tabs",
    "webNavigation"
  ],
  "host_permissions": [
    "https://github.com/*"
  ],
  "content_scripts": [
    {
      "matches": [
        "https://github.com/*"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "background": {
    "scripts": [
      "background.js"
    ]
  }
}

ベストのGitHub Diff Whitespace代替案

GitHub Diff Whitespaceに類似したFirefox add-onをいくつか紹介します: