ABlock - Блокировщик рекламы

ABlock - Блокировщик рекламы

Прицельная блокировка рекламы, подозрительных сайтов и скриптов

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "ABlock - Блокировщик рекламы",
  "description": "Прицельная блокировка рекламы, подозрительных сайтов и скриптов",
  "version": "2.1.3",
  "author": "Алексей Арх",
  "icons": {
    "32": "image/ablock-32.png",
    "128": "image/ablock-128.png",
    "220": "image/ablock-220-140.jpg",
    "440": "image/ablock-440-280.jpg"
  },
  "content_scripts": [
    {
      "run_at": "document_start",
      "matches": [
        "*://*/*"
      ],
      "js": [
        "js/script.js"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "js/injected.js"
      ],
      "matches": [
        "*://*/*"
      ]
    }
  ],
  "background": {
    "service_worker": "js/sw.js"
  },
  "permissions": [
    "storage",
    "declarativeNetRequest",
    "declarativeNetRequestFeedback"
  ],
  "host_permissions": [
    "*://*/*"
  ],
  "action": {
    "default_title": "ABlock - Блокировщик рекламы",
    "default_icon": {
      "32": "image/ablock-32.png"
    },
    "default_popup": "popup.html"
  },
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "anime",
        "enabled": true,
        "path": "rules/anime.json"
      },
      {
        "id": "ok.ru",
        "enabled": true,
        "path": "rules/ok.ru.json"
      },
      {
        "id": "vk.com",
        "enabled": true,
        "path": "rules/vk.com.json"
      },
      {
        "id": "youtube.com",
        "enabled": true,
        "path": "rules/youtube.com.json"
      },
      {
        "id": "xvideos.com",
        "enabled": true,
        "path": "rules/xvideos.com.json"
      },
      {
        "id": "rt.pornhub.com",
        "enabled": true,
        "path": "rules/rt.pornhub.com.json"
      },
      {
        "id": "rambler.ru",
        "enabled": true,
        "path": "rules/rambler.ru.json"
      },
      {
        "id": "yandex.ru",
        "enabled": true,
        "path": "rules/yandex.ru.json"
      },
      {
        "id": "other",
        "enabled": true,
        "path": "rules/other.json"
      }
    ]
  },
  "options_page": "popup.html"
}