Distraction Sentry (Web Blocker) Firefox

Examine source code of Distraction Sentry (Web Blocker)

Inspect and view changes in Distraction Sentry (Web Blocker) source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "_comment_mv3_firefox": [
    "────────────────────────────────────────────────────────────────────────────",
    "manifest.json — Firefox Manifest Version 3",
    "",
    "MANIFEST V3 vs V2 DIFFERENCES (relevant to Firefox):",
    "",
    "  Background scripts:",
    "    MV2  → `background.scripts` (persistent by default)",
    "    Chrome MV3 → `background.service_worker` (non-persistent, no DOM)",
    "    Firefox MV3 → `background.scripts` (still persistent background pages!)",
    "",
    "  Firefox does NOT yet support `service_worker` in MV3 manifests.",
    "  Using `background.scripts` keeps a long-lived background page alive,",
    "  which gives us full access to the DOM, WebExtension APIs, and avoids",
    "  the 30-second idle termination that affects Chrome service workers.",
    "",
    "  Web Request blocking:",
    "    MV2  → `webRequest` + `webRequestBlocking` (synchronous blocking)",
    "    Chrome MV3 → `declarativeNetRequest` (static rule-based only)",
    "    Firefox MV3 → Both `webRequest` and `declarativeNetRequest` are",
    "                  available; `webRequest` blocking is still supported,",
    "                  making Firefox MV3 more capable for content blockers.",
    "────────────────────────────────────────────────────────────────────────────"
  ],
  "manifest_version": 3,
  "name": "Distraction Sentry (Website Blocker)",
  "version": "0.1.0",
  "description": "Your arcane guardian against digital distractions.",
  "browser_specific_settings": {
    "gecko": {
      "id": "distraction-sentry-website-blocker@your-domain.com",
      "strict_min_version": "140.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  },
  "icons": {
    "48": "icons/icon48.png",
    "96": "icons/icon96.png"
  },
  "action": {
    "default_popup": "index.html",
    "default_icon": {
      "48": "icons/icon48.png"
    },
    "default_title": "Distraction Sentry"
  },
  "background": {
    "scripts": [
      "background.js"
    ],
    "type": "module"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "content.js"
      ],
      "run_at": "document_start"
    }
  ],
  "permissions": [
    "storage",
    "tabs",
    "webRequest",
    "webRequestBlocking",
    "declarativeNetRequest",
    "declarativeNetRequestWithHostAccess"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "icons/*",
        "blocked.html"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}

Best Distraction Sentry (Web Blocker) Alternatives

Here are some Firefox add-ons that are similar to Distraction Sentry (Web Blocker):