Kahf Guard - Block 5.5m haram websites,Adblock,Safe Search,Youtube Restrict

Kahf Guard - Block 5.5m haram websites,Adblock,Safe Search,Youtube Restrict

DNS protection for Muslim Community. It blocks 5.5m haram websites, blocks ads and enforces safe search in Google and YouTube.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Kahf Guard - Block 5.5m haram websites,Adblock,Safe Search,Youtube Restrict",
  "description": "DNS protection for Muslim Community. It blocks 5.5m haram websites, blocks ads and enforces safe search in Google and YouTube.",
  "version": "1.55",
  "action": {
    "default_popup": "popup/index.html",
    "default_icon": {
      "16": "images/icon-16.png",
      "24": "images/icon-24.png",
      "32": "images/icon-32.png",
      "48": "images/icon-48.png",
      "128": "images/icon-128.png",
      "512": "images/icon-512.png"
    }
  },
  "icons": {
    "16": "images/icon-16.png",
    "24": "images/icon-24.png",
    "32": "images/icon-32.png",
    "48": "images/icon-48.png",
    "128": "images/icon-128.png",
    "512": "images/icon-512.png"
  },
  "content_scripts": [
    {
      "js": [
        "scripts/checkAllowed.js"
      ],
      "all_frames": true,
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_start"
    }
  ],
  "background": {
    "service_worker": "scripts/serviceWorker.js",
    "type": "module"
  },
  "web_accessible_resources": [
    {
      "matches": [
        "<all_urls>"
      ],
      "resources": [
        "popup/*",
        "blockedPage/*",
        "checkSuccessPage/*"
      ]
    }
  ],
  "declarative_net_request": {
    "rule_resources": [
      {
        "id": "youtube_safe_search_ruleset",
        "enabled": true,
        "path": "netRequestRules/youtube.json"
      },
      {
        "id": "google_safe_search_ruleset",
        "enabled": true,
        "path": "netRequestRules/google.json"
      },
      {
        "id": "ad_hosts",
        "enabled": true,
        "path": "netRequestRules/ad_hosts.json"
      }
    ]
  },
  "permissions": [
    "storage",
    "declarativeNetRequest"
  ],
  "host_permissions": [
    "<all_urls>"
  ]
}