iBlockAds Firefox

Examine source code of iBlockAds

提供元: Search.com Add-on
Inspect and view changes in iBlockAds source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "iBlockAds",
  "short_name": "iBlockAds 3.0",
  "version": "3.0.10",
  "description": "__MSG_extShortDesc__",
  "author": "iBlockAds Developers",
  "default_locale": "en",
  "browser_specific_settings": {
    "gecko": {
      "id": "iblockads@iblockads.org",
      "strict_min_version": "140.0",
      "data_collection_permissions": {
        "required": [
          "none"
        ],
        "optional": [
          "authenticationInfo"
        ]
      }
    }
  },
  "action": {
    "default_icon": {
      "16": "img/icon_16.png",
      "32": "img/icon_32.png",
      "48": "img/icon_48.png"
    },
    "default_popup": "shared/popup/index.html",
    "default_title": "iBlockAds"
  },
  "background": {
    "scripts": [
      "assets/service-worker.ts-Cw2g3_1Q.js"
    ],
    "type": "module"
  },
  "icons": {
    "16": "img/icon_16.png",
    "32": "img/icon_32.png",
    "48": "img/icon_48.png",
    "64": "img/icon_64.png",
    "128": "img/icon_128.png"
  },
  "permissions": [
    "alarms",
    "activeTab",
    "contextMenus",
    "declarativeNetRequest",
    "declarativeNetRequestFeedback",
    "declarativeNetRequestWithHostAccess",
    "scripting",
    "storage",
    "tabs",
    "unlimitedStorage",
    "webNavigation"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "base",
        "enabled": true,
        "path": "shared/rulesets/base.json"
      },
      {
        "id": "ads-1",
        "enabled": true,
        "path": "shared/rulesets/ads-1.json"
      },
      {
        "id": "ads-2",
        "enabled": true,
        "path": "shared/rulesets/ads-2.json"
      },
      {
        "id": "privacy-1",
        "enabled": true,
        "path": "shared/rulesets/privacy-1.json"
      },
      {
        "id": "privacy-2",
        "enabled": true,
        "path": "shared/rulesets/privacy-2.json"
      },
      {
        "id": "ads-servers",
        "enabled": true,
        "path": "shared/rulesets/ads-servers.json"
      },
      {
        "id": "premium-cookies",
        "enabled": false,
        "path": "shared/rulesets/premium-cookies.json"
      },
      {
        "id": "premium-annoyances",
        "enabled": false,
        "path": "shared/rulesets/premium-annoyances.json"
      }
    ]
  },
  "content_scripts": [
    {
      "js": [
        "assets/toi-slike-mainworld.js-Ces3Cqc8.js"
      ],
      "matches": [
        "*://*.indiatimes.com/*/videoshow/*",
        "*://timesofindia.indiatimes.com/*/videoshow/*"
      ],
      "run_at": "document_start",
      "world": "MAIN",
      "all_frames": false
    },
    {
      "js": [
        "assets/abplive-live-tv-gate.js-DybaEKDG.js"
      ],
      "matches": [
        "*://*.abplive.com/*"
      ],
      "run_at": "document_start",
      "world": "MAIN",
      "all_frames": false
    },
    {
      "js": [
        "assets/page-debug-main.js-CkemPQSx.js",
        "assets/contentscript.ts-loader-46zoDvIT.js"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "js": [
        "assets/auth-bridge.ts-loader-BqlBuOYY.js"
      ],
      "matches": [
        "*://iblockads.org/*",
        "*://www.iblockads.org/*",
        "*://*.iblockads.org/*",
        "http://192.168.30.106/*"
      ],
      "run_at": "document_idle",
      "all_frames": false
    },
    {
      "js": [
        "assets/vidgyor-mainworld.js-ugOYyOTz.js"
      ],
      "matches": [
        "*://cdn.abplive.com/*",
        "*://*.abplive.com/*"
      ],
      "run_at": "document_start",
      "world": "MAIN",
      "all_frames": true
    },
    {
      "js": [
        "assets/youtube-isolated-bridge.ts-loader-62zTAZKy.js"
      ],
      "matches": [
        "*://*.youtube.com/*",
        "*://youtube.com/*",
        "*://youtu.be/*"
      ],
      "run_at": "document_start",
      "all_frames": false
    },
    {
      "js": [
        "assets/page-debug-main.js-CkemPQSx.js",
        "assets/youtube-gate-auth.js-DuQj20kr.js",
        "assets/youtube-boot-sync.js-C2pj7whv.js"
      ],
      "matches": [
        "*://*.youtube.com/*",
        "*://youtube.com/*",
        "*://youtu.be/*"
      ],
      "run_at": "document_start",
      "world": "MAIN",
      "all_frames": false
    },
    {
      "js": [
        "assets/youtube-player-patch.js-ESngLznd.js"
      ],
      "matches": [
        "*://*.youtube.com/*",
        "*://youtube.com/*",
        "*://youtu.be/*"
      ],
      "run_at": "document_start",
      "world": "MAIN",
      "all_frames": false
    },
    {
      "js": [
        "assets/youtube-feed-ads-main.js-BC9XqohU.js"
      ],
      "matches": [
        "*://*.youtube.com/*",
        "*://youtube.com/*",
        "*://youtu.be/*"
      ],
      "run_at": "document_start",
      "world": "MAIN",
      "all_frames": false
    },
    {
      "js": [
        "assets/youtube-ublock.bundle.js-BJp2A15C.js"
      ],
      "matches": [
        "*://*.youtube.com/*",
        "*://youtube.com/*",
        "*://youtu.be/*"
      ],
      "run_at": "document_start",
      "world": "MAIN",
      "all_frames": false
    },
    {
      "js": [
        "assets/youtube-dom.ts-loader-B-TJeG0N.js"
      ],
      "matches": [
        "*://*.youtube.com/*",
        "*://youtube.com/*",
        "*://youtu.be/*"
      ],
      "run_at": "document_start",
      "all_frames": false
    }
  ],
  "options_ui": {
    "page": "shared/dashboard/index.html",
    "open_in_tab": true
  },
  "web_accessible_resources": [
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": [
        "/web_accessible_resources/*"
      ]
    },
    {
      "matches": [
        "*://*.indiatimes.com/*",
        "*://timesofindia.indiatimes.com/*"
      ],
      "resources": [
        "assets/toi-slike-mainworld.js-Ces3Cqc8.js"
      ]
    },
    {
      "matches": [
        "*://*.abplive.com/*"
      ],
      "resources": [
        "assets/abplive-live-tv-gate.js-DybaEKDG.js"
      ]
    },
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "resources": [
        "assets/page-debug-main.js-CkemPQSx.js",
        "assets/site-blocking-Cm0__l0N.js",
        "assets/runtime-D5IB31wF.js",
        "assets/page-blocking-debug-OXuNIUdg.js",
        "assets/auth-BZGJ_BUd.js",
        "assets/browser-polyfill-Bo2e-ahS.js",
        "assets/auth-debug-BrZa_agw.js",
        "assets/fetch-extension-user-data-Cj5GBvqM.js",
        "assets/contentscript.ts-DyffbZkX.js"
      ]
    },
    {
      "matches": [
        "*://*.iblockads.org/*",
        "*://iblockads.org/*",
        "*://www.iblockads.org/*",
        "http://192.168.30.106/*"
      ],
      "resources": [
        "assets/auth-debug-BrZa_agw.js",
        "assets/fetch-extension-user-data-Cj5GBvqM.js",
        "assets/auth-bridge.ts-Bc0VCnCF.js"
      ]
    },
    {
      "matches": [
        "*://*.abplive.com/*",
        "*://cdn.abplive.com/*"
      ],
      "resources": [
        "assets/vidgyor-mainworld.js-ugOYyOTz.js"
      ]
    },
    {
      "matches": [
        "*://*.youtube.com/*",
        "*://youtu.be/*",
        "*://youtube.com/*"
      ],
      "resources": [
        "assets/site-blocking-Cm0__l0N.js",
        "assets/browser-polyfill-Bo2e-ahS.js",
        "assets/auth-BZGJ_BUd.js",
        "assets/auth-debug-BrZa_agw.js",
        "assets/fetch-extension-user-data-Cj5GBvqM.js",
        "assets/youtube-isolated-bridge.ts-C35v8tm-.js",
        "assets/youtube-gate-auth.js-DuQj20kr.js",
        "assets/youtube-boot-sync.js-C2pj7whv.js",
        "assets/youtube-player-patch.js-ESngLznd.js",
        "assets/youtube-feed-ads-main.js-BC9XqohU.js",
        "assets/youtube-ublock.bundle.js-BJp2A15C.js",
        "assets/page-blocking-debug-OXuNIUdg.js",
        "assets/youtube-dom.ts-ceqMNdcH.js"
      ]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'"
  }
}

ベストのiBlockAds代替案

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