GitHub Flex Firefox

Examine source code of GitHub Flex

提供元: Lam Ngoc Khuong
Inspect and view changes in GitHub Flex source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "__MSG_extName__",
  "version": "0.0.11",
  "description": "__MSG_extDescription__",
  "default_locale": "en",
  "homepage_url": "https://github-flex.khuong.dev",
  "permissions": [
    "storage",
    "contextMenus"
  ],
  "host_permissions": [
    "https://github.com/*",
    "https://gist.github.com/*"
  ],
  "background": {
    "scripts": [
      "background/service-worker.js"
    ],
    "type": "module"
  },
  "action": {
    "default_popup": "popup/popup.html",
    "default_icon": {
      "16": "icons/icon-16.png",
      "48": "icons/icon-48.png",
      "128": "icons/icon-128.png"
    }
  },
  "content_scripts": [
    {
      "matches": [
        "https://github.com/*",
        "https://gist.github.com/*"
      ],
      "css": [
        "content/styles/wide-layout.css"
      ],
      "js": [
        "content/early-inject.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "https://github.com/*",
        "https://gist.github.com/*"
      ],
      "js": [
        "content/main.js"
      ],
      "run_at": "document_idle"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "content/styles/*.css"
      ],
      "matches": [
        "https://github.com/*",
        "https://gist.github.com/*"
      ]
    }
  ],
  "icons": {
    "16": "icons/icon-16.png",
    "48": "icons/icon-48.png",
    "128": "icons/icon-128.png"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "github-flex@khuong.dev",
      "strict_min_version": "142.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "optional": []
      }
    }
  }
}

ベストのGitHub Flex代替案

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