Degit in Github

Degit in Github

Fast copy a Degit command path in github repository pages

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 3,
  "name": "Degit in Github",
  "version": "0.0.4",
  "description": "Fast copy a Degit command path in github repository pages",
  "icons": {
    "16": "./assets/icon-512.png",
    "48": "./assets/icon-512.png",
    "128": "./assets/icon-512.png"
  },
  "permissions": [
    "tabs",
    "storage",
    "activeTab"
  ],
  "content_scripts": [
    {
      "matches": [
        "http://github.com/*",
        "https://github.com/*"
      ],
      "js": [
        "./dist/contentScripts/index.global.js"
      ]
    }
  ],
  "commands": {
    "copy-path": {
      "description": "Copy the current page degit path",
      "suggested_key": {
        "default": "Alt+Shift+C",
        "mac": "Alt+Shift+C"
      }
    }
  },
  "action": {
    "default_icon": "./assets/icon-512.png",
    "default_popup": "./dist/popup/index.html"
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  },
  "host_permissions": [
    "http://github.com/*",
    "https://github.com/*"
  ],
  "background": {
    "service_worker": "./dist/background/background.js"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "dist/contentScripts/style.css"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}