Examine source code of Prevent Accidental Close

Inspect and view changes in Prevent Accidental Close source codes across current and past versions
Premium users can view and search full source code, and see the source code differences between two versions.
Upgrade to premium
manifest.json
{
  "manifest_version": 2,
  "name": "Prevent Accidental Close",
  "version": "1.0",
  "description": "Warns before closing Firefox, even with a single tab.",
  "permissions": [
    "tabs"
  ],
  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": false
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_start"
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "{b94e1f0d-6c36-4112-940f-8b0a9c06e9ca}"
    }
  }
}