Redirect Shield Firefox

Examine source code of Redirect Shield

提供元: SparkToSource
Inspect and view changes in Redirect Shield source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "Redirect Shield",
  "version": "1.0.0",
  "description": "Blocks all unwanted redirects and popups.",
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "action": {
    "default_popup": "popup.html"
  },
  "background": {
    "scripts": [
      "background.bundle.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "injector.bundle.js"
      ],
      "run_at": "document_start"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "content.bundle.js"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "permissions": [
    "storage"
  ],
  "browser_specific_settings": {
    "gecko": {
      "id": "redirectshield@sparktosource.dev"
    }
  }
}

ベストのRedirect Shield代替案

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