Source Code Firefox

Examine source code of Source Code

作者: Happy Code Time Add-on
Inspect and view changes in Source Code 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
{
  "manifest_version": 2,
  "name": "Source Code",
  "short_name": "SourceCode",
  "version": "4.0.2",
  "description": "Show the source code and all external requests of the current visited website. Export source code to: clipboard, xls, xlsx, csv or JSON file. Store informations about the grabbed source code locally in the cache (of your browser) and view the history from the Dashboard page.",
  "browser_action": {
    "browser_style": true,
    "default_popup": "Distribution/Popup/index.html",
    "default_icon": {
      "64": "Distribution/Images/code-64.png"
    }
  },
  "applications": {
    "gecko": {
      "strict_min_version": "61.0"
    }
  },
  "background": {
    "scripts": [
      "Distribution/Background/background.js"
    ]
  },
  "content_scripts": [
    {
      "run_at": "document_start",
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "Distribution/Content/content.js"
      ]
    }
  ],
  "permissions": [
    "activeTab",
    "<all_urls>",
    "storage",
    "tabs",
    "contextMenus",
    "webRequest"
  ],
  "web_accessible_resources": [
    "Distribution/*.{html,js}",
    "Distribution/Images/*.{jpeg,png,gif,ico}",
    "Distribution/Dashboard/*.{html,js,jpg,jpeg,png,gif}",
    "Distribution/Popup/*.{html,js,jpg,jpeg,png,gif}",
    "Distribution/Iframes/*.{html,js,jpg,jpeg,png,gif}"
  ],
  "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self';"
}

最佳 Source Code 替代方案

这里是一些与Source Code类似的Firefox add-on: