UpdateSWH

UpdateSWH

Check archival state of a source code repository and propose to update it if needed.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "name": "UpdateSWH",
  "version": "0.6.8",
  "manifest_version": 3,
  "description": "Check archival state of a source code repository and propose to update it if needed.",
  "icons": {
    "16": "img/icon-16.png",
    "32": "img/icon-32.png",
    "48": "img/icon-48.png",
    "64": "img/icon-64.png",
    "128": "img/icon-128.png"
  },
  "action": {
    "default_title": "UpdateSWH",
    "default_popup": "popup.html",
    "default_icon": {
      "16": "/img/icon-16.png",
      "32": "/img/icon-32.png",
      "48": "/img/icon-48.png",
      "128": "/img/icon-128.png"
    }
  },
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "css": [
        "css/updateswh.css"
      ],
      "js": [
        "js/jquery-3.6.0.min.js",
        "updateswh.js"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "default-src 'self'; object-src 'self'; style-src 'self'; connect-src 'self' https://archive.softwareheritage.org/"
  },
  "web_accessible_resources": [
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": []
    }
  ],
  "options_ui": {
    "page": "options.html",
    "open_in_tab": false
  },
  "permissions": [
    "storage",
    "tabs",
    "activeTab"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}