NetShield Firefox

Examine source code of NetShield

By: XPDevs Add-on
Inspect and view changes in NetShield source codes across current and past versions
xHeader
Modify request and response headers. No ads, no malware.
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "NetShield",
  "version": "1.0.0",
  "description": "Comprehensive ad blocker - blocks ads, trackers, malware, social widgets, and annoyances",
  "author": "XPDevs",
  "homepage_url": "https://xpdevs.github.io",
  "icons": {
    "48": "icons/icon-48.png",
    "96": "icons/icon-96.png"
  },
  "permissions": [
    "webRequest",
    "webRequestBlocking",
    "<all_urls>",
    "storage",
    "unlimitedStorage",
    "tabs",
    "activeTab"
  ],
  "browser_action": {
    "default_icon": {
      "48": "icons/icon-48.png",
      "96": "icons/icon-96.png"
    },
    "default_title": "NetShield",
    "default_popup": "popup.html"
  },
  "background": {
    "scripts": [
      "filters/builtin-rules.js",
      "js/filter-engine.js",
      "js/background.js"
    ],
    "persistent": true
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "js/content.js"
      ],
      "run_at": "document_start",
      "all_frames": true,
      "match_about_blank": true
    },
    {
      "matches": [
        "*://www.youtube.com/*",
        "*://m.youtube.com/*",
        "*://youtube.com/*"
      ],
      "js": [
        "js/youtube.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "web_accessible_resources": [
    "blocked.html",
    "homepage.html",
    "settings.html",
    "css/homepage.css",
    "css/settings.css",
    "js/homepage.js",
    "js/settings.js",
    "filters/safelist.json"
  ],
  "options_ui": {
    "page": "settings.html",
    "open_in_tab": true,
    "browser_style": false
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "netshield@xpdevs.github.io",
      "strict_min_version": "140.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ]
      }
    }
  },
  "incognito": "spanning"
}

Best NetShield Alternatives

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