CSPTool Firefox

Examine source code of CSPTool

提供元: Aleph Void LLC Add-on
Inspect and view changes in CSPTool source codes across current and past versions
xHeader
Modify request and response headers. No ads, no malware.
Please login to examine the extension's source code.
manifest.json
{
  "name": "CSPTool",
  "description": "A Browser Extension for Working with The Content Security Policy (CSP) of Websites",
  "version": "0.0.6.0",
  "manifest_version": 3,
  "action": {
    "default_popup": "src/ui/action-popup/index.html"
  },
  "background": {
    "scripts": [
      "service-worker-loader.js"
    ],
    "type": "module"
  },
  "content_scripts": [
    {
      "js": [
        "assets/index.ts-DPnwE1Ij.js"
      ],
      "all_frames": false,
      "matches": [
        "*://*/*"
      ]
    }
  ],
  "devtools_page": "src/devtools/index.html",
  "options_page": "src/ui/options-page/index.html",
  "host_permissions": [
    "<all_urls>"
  ],
  "permissions": [
    "storage",
    "tabs",
    "webRequest",
    "declarativeNetRequest",
    "declarativeNetRequestWithHostAccess",
    "scripting"
  ],
  "web_accessible_resources": [
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": [
        "src/ui/setup/index.html",
        "src/ui/content-script-iframe/index.html",
        "src/ui/devtools-panel/index.html"
      ]
    },
    {
      "matches": [
        "*://*/*"
      ],
      "resources": [
        "assets/index.ts-DPnwE1Ij.js"
      ]
    }
  ],
  "icons": {
    "16": "src/assets/logo-16.png",
    "24": "src/assets/logo-24.png",
    "32": "src/assets/logo-32.png",
    "48": "src/assets/logo-48.png",
    "64": "src/assets/logo-64.png",
    "128": "src/assets/logo-128.png"
  },
  "author": "nick@alephvoid.com",
  "browser_specific_settings": {
    "gecko": {
      "id": "csptool@alephvoid.com",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  }
}

ベストのCSPTool代替案

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