Adblock - adblocker for Youtube

Adblock - adblocker for Youtube

Adblock tool to block ads on social websites YouTube, Facebook, Twitch. Adblocker effectively removes ads on all websites.

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "default_locale": "en",
  "version": "1.0.3",
  "name": "__MSG_name__",
  "description": "__MSG_desc__",
  "icons": {
    "48": "assets/images/logo.png",
    "64": "assets/images/logo.png"
  },
  "action": {
    "default_popup": "html/popupMainView.html",
    "default_title": "Adblock for Chrome"
  },
  "background": {
    "service_worker": "./js/service_worker.js"
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "antiPrnBlockRules",
        "enabled": false,
        "path": "./commonDataHelpers/antiprnHelper.json"
      },
      {
        "id": "mainBlockRules",
        "enabled": true,
        "path": "./commonDataHelpers/commonHelper.json"
      },
      {
        "id": "suspBlockRules",
        "enabled": false,
        "path": "./commonDataHelpers/suspHelper.json"
      },
      {
        "id": "advBlockRules",
        "enabled": false,
        "path": "./commonDataHelpers/advHelper.json"
      }
    ]
  },
  "content_scripts": [
    {
      "js": [
        "./js/blockerYT.js",
        "./js/content.js"
      ],
      "run_at": "document_end",
      "matches": [
        "https://*/*",
        "http://*/*"
      ]
    }
  ],
  "options_page": "html/settingsPage.html",
  "permissions": [
    "tabs",
    "declarativeNetRequest",
    "storage"
  ],
  "host_permissions": [
    "https://*/*",
    "http://*/*"
  ]
}