DecayBlock Firefox

Examine source code of DecayBlock

Inspect and view changes in DecayBlock source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "DecayBlock",
  "version": "2.1",
  "description": "Block distracting websites with an adaptive timeout.",
  "permissions": [
    "storage",
    "webNavigation",
    "tabs",
    "idle"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "background": {
    "scripts": [
      "background.js"
    ],
    "type": "module"
  },
  "action": {
    "default_popup": "popup.html",
    "default_icon": {
      "16": "icons/icon_16.png",
      "48": "icons/icon_48.png",
      "128": "icons/icon_128.png"
    }
  },
  "icons": {
    "16": "icons/icon_16.png",
    "48": "icons/icon_48.png",
    "128": "icons/icon_128.png"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "blocked.html",
        "lib/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'; style-src 'self' 'unsafe-inline';"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "decayblock@decayblock.com",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  }
}

Best DecayBlock Alternatives

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