Source Code

Source Code

Read and export the source code of a website quickly, easily and conveniently.

Merlin
Additional files are visible only to premium users

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';"
}