BlockNest Firefox

Examine source code of BlockNest

提供元: gametease
Inspect and view changes in BlockNest source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "Keyword Blocker",
  "version": "1.0",
  "description": "Blocks sites, YouTube videos, and Telegram channels based on keywords.",
  "permissions": [
    "storage",
    "tabs",
    "webNavigation",
    "*://*.youtube.com/*",
    "*://*.t.me/*",
    "*://*.telegram.org/*",
    "<all_urls>"
  ],
  "background": {
    "scripts": [
      "background.js"
    ],
    "persistent": true
  },
  "browser_action": {
    "default_popup": "popup.html",
    "default_icon": {
      "48": "icon48.png"
    }
  },
  "icons": {
    "48": "icon48.png"
  },
  "content_scripts": [
    {
      "matches": [
        "*://*.t.me/*",
        "*://*.telegram.org/*"
      ],
      "js": [
        "telegram-blocker.js"
      ],
      "run_at": "document_end"
    }
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "{20a5c5ac-a3f6-4f7d-bda3-96590b389836}"
    }
  }
}

ベストのBlockNest代替案

BlockNestに類似したFirefox add-onをいくつか紹介します: