Focus Guard Firefox

Examine source code of Focus Guard

By: tomhat
Inspect and view changes in Focus Guard source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Focus Guard",
  "version": "2.2.0",
  "description": "Protects your focus by intercepting distracting websites",
  "browser_specific_settings": {
    "gecko": {
      "id": "focusguard@example.com",
      "strict_min_version": "112.0"
    }
  },
  "host_permissions": [
    "<all_urls>"
  ],
  "permissions": [
    "storage",
    "webNavigation"
  ],
  "background": {
    "scripts": [
      "background.js"
    ],
    "type": "module"
  },
  "action": {
    "default_popup": "popup.html",
    "default_icon": {
      "32": "images/icon32.png",
      "64": "images/icon64.png"
    },
    "default_title": "Focus Guard"
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self';"
  },
  "icons": {
    "32": "images/icon32.png",
    "64": "images/icon64.png"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "styles/main.css",
        "blocked.html",
        "manager.html",
        "popup.html",
        "blocked.js",
        "manager.js",
        "popup.js",
        "images/default-blocked.png",
        "lib/core/*.js",
        "lib/browser/*.js"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}

Best Focus Guard Alternatives

Here are some Firefox add-ons that are similar to Focus Guard: