AdBlock for Firefox Firefox

Examine source code of AdBlock for Firefox

By: AdBlock
Inspect and view changes in AdBlock for Firefox source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "author": "Adblock, Inc.",
  "applications": {
    "gecko": {
      "strict_min_version": "75.0",
      "id": "jid1-NIfFY2CA8fy1tg@jetpack"
    }
  },
  "content_scripts": [
    {
      "all_frames": true,
      "js": [
        "vendor/@eyeo/webext-ad-filtering-solution/content.js",
        "polyfill.js",
        "ext/common.js",
        "ext/content.js",
        "globals-front.js",
        "adblock-functions.js",
        "contentscript-loader.js",
        "premium.preload.js",
        "adblock-picreplacement.js"
      ],
      "match_about_blank": true,
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": true,
      "js": [
        "vendor/@eyeo/webext-ad-filtering-solution/content-main.js"
      ],
      "match_about_blank": true,
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "world": "MAIN",
      "run_at": "document_start"
    },
    {
      "all_frames": true,
      "js": [
        "polyfill.js",
        "adblock-uiscripts-rightclick_hook.js"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_idle"
    },
    {
      "all_frames": true,
      "js": [
        "polyfill.js",
        "globals-front.js",
        "adblock-functions.js",
        "adblock-getadblock.js"
      ],
      "matches": [
        "https://getadblock.com/*",
        "https://*.dev.getadblock.com/*",
        "https://*.myaccount.getadblock.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "js": [
        "polyfill.js",
        "yt-auto-allowlist.preload.js"
      ],
      "matches": [
        "*://*.youtube.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "js": [
        "polyfill.js",
        "reverse-trial.preload.js"
      ],
      "matches": [
        "https://youtube.com/*",
        "https://www.youtube.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "js": [
        "polyfill.js",
        "info-injector.preload.js"
      ],
      "matches": [
        "https://getadblock.com/*",
        "https://vpn.getadblock.com/*",
        "https://*.dev.getadblock.com/*",
        "https://*.myaccount.getadblock.com/*",
        "https://adblockplus.org/*",
        "https://new.adblockplus.org/*",
        "https://welcome.adblockplus.org/*",
        "https://accounts.adblockplus.org/*",
        "https://*.myaccount.adblockplus.org/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": true,
      "js": [
        "polyfill.js",
        "public-api.preload.js"
      ],
      "matches": [
        "https://btloader.com/trustedIframe.html?o=*"
      ],
      "run_at": "document_start"
    },
    {
      "js": [
        "polyfill.js",
        "conflict-detection.preload.js"
      ],
      "matches": [
        "*://*.youtube.com/*",
        "*://*.facebook.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": true,
      "js": [
        "polyfill.js",
        "cookie-banner-detection.preload.js"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": true,
      "js": [
        "polyfill.js",
        "growth-experiments.preload.js"
      ],
      "matches": [
        "https://stackoverflow.com/*"
      ],
      "run_at": "document_start"
    },
    {
      "js": [
        "polyfill.js",
        "close-tab.preload.js"
      ],
      "matches": [
        "https://getadblock.com/*",
        "https://*.dev.getadblock.com/*",
        "https://*.myaccount.getadblock.com/*"
      ],
      "run_at": "document_idle"
    }
  ],
  "content_security_policy": "default-src 'self'; img-src 'self' data: blob: https://cdn.adblockcdn.com; style-src 'self' 'unsafe-inline'; connect-src *; frame-src 'self' https://getadblock.com",
  "name": "__MSG_name__",
  "short_name": "__MSG_short_name__",
  "description": "__MSG_description__",
  "default_locale": "en_US",
  "devtools_page": "devtools.html",
  "icons": {
    "16": "icons/adblock-16.png",
    "32": "icons/adblock-32.png",
    "48": "icons/adblock-48.png",
    "64": "icons/adblock-64.png",
    "128": "icons/adblock-128.png"
  },
  "options_ui": {
    "open_in_tab": true,
    "page": "options.html"
  },
  "optional_permissions": [
    "management"
  ],
  "manifest_version": 2,
  "background": {
    "persistent": true,
    "scripts": [
      "polyfill.js",
      "ext/common.js",
      "ext/background.js",
      "abp-background.js"
    ]
  },
  "browser_action": {
    "default_icon": {
      "16": "icons/adblock-16.png",
      "19": "icons/adblock-19.png",
      "20": "icons/adblock-20.png",
      "32": "icons/adblock-32.png",
      "38": "icons/adblock-38.png",
      "40": "icons/adblock-40.png"
    },
    "default_popup": "adblock-button-popup.html",
    "default_title": "__MSG_name__"
  },
  "permissions": [
    "<all_urls>",
    "alarms",
    "contextMenus",
    "idle",
    "notifications",
    "storage",
    "tabs",
    "unlimitedStorage",
    "webNavigation",
    "webRequest",
    "webRequestBlocking"
  ],
  "web_accessible_resources": [
    "adblock-uiscripts-adblock-wizard.css",
    "icons/icon24.png",
    "icons/adblock-19.png",
    "icons/adblock-20.svg",
    "icons/dark_theme/logo.svg",
    "icons/default_theme/logo.svg",
    "fonts/lato-ext-italic.woff",
    "fonts/lato-italic.woff",
    "fonts/lato-ext-bolditalic.woff",
    "fonts/lato-bolditalic.woff",
    "fonts/lato-ext-regular.woff",
    "fonts/lato-regular.woff",
    "fonts/lato-ext-bold.woff",
    "fonts/lato-bold.woff",
    "fonts/font-face.css",
    "icons/MaterialIcons-Regular.woff2",
    "icons/adblock-icons.woff2",
    "adblock-deny-push-notifications-requests.js"
  ],
  "version": "6.42.1"
}

Best AdBlock for Firefox Alternatives

Here are some Firefox add-ons that are similar to AdBlock for Firefox: