Scratchpad Firefox

Examine source code of Scratchpad

Inspect and view changes in Scratchpad source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "Scratchpad",
  "version": "0.7.1",
  "description": "Replacement for the JavaScript Scratchpad editor removed in Firefox 72",
  "content_security_policy": "default-src 'none'; object-src 'none'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'",
  "browser_specific_settings": {
    "gecko": {
      "id": "{077be18e-781a-49f9-b3c4-b1bff607a17e}",
      "strict_min_version": "72.0"
    }
  },
  "background": {
    "scripts": [
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "js": [
        "content.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "match_about_blank": true
    }
  ],
  "commands": {
    "menu-action": {
      "suggested_key": {
        "default": "Shift+F4"
      },
      "description": "Open a scratchpad"
    }
  },
  "icons": {
    "16": "icon.png",
    "32": "icon.svg",
    "64": "icon.svg"
  },
  "options_ui": {
    "browser_style": true,
    "page": "options.htm"
  },
  "optional_permissions": [
    "activeTab",
    "bookmarks",
    "browserSettings",
    "clipboardRead",
    "clipboardWrite",
    "cookies",
    "downloads.open",
    "find",
    "geolocation",
    "history",
    "idle",
    "menus.overrideContext",
    "notifications",
    "search",
    "tabHide",
    "tabs",
    "topSites",
    "webNavigation",
    "webRequest",
    "webRequestBlocking"
  ],
  "permissions": [
    "downloads",
    "menus",
    "storage",
    "<all_urls>"
  ]
}

Best Scratchpad Alternatives

Here are some Firefox add-ons that are similar to Scratchpad: