{
  "manifest_version": 3,
  "name": "SecureBit Chat Extension",
  "version": "1.2.14",
  "description": "P2P messenger with ECDH + DTLS + SAS security, military-grade cryptography",
  "permissions": [
    "storage",
    "activeTab",
    "tabs",
    "notifications",
    "background"
  ],
  "host_permissions": [
    "https://*/*",
    "http://*/*"
  ],
  "background": {
    "service_worker": "background.js"
  },
  "action": {
    "default_popup": "popup.html",
    "default_title": "SecureBit Chat",
    "default_icon": {
      "16": "logo/icon-16x16.png",
      "32": "logo/icon-32x32.png",
      "48": "logo/icon-48x48.png",
      "128": "logo/icon-128x128.png"
    }
  },
  "icons": {
    "16": "logo/icon-16x16.png",
    "32": "logo/icon-32x32.png",
    "48": "logo/icon-48x48.png",
    "128": "logo/icon-128x128.png",
    "256": "logo/icon-256x256.png",
    "512": "logo/icon-512x512.png"
  },
  "content_scripts": [
    {
      "matches": ["<all_urls>"],
      "js": ["content.js"],
      "css": ["content.css"],
      "run_at": "document_end"
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "assets/*",
        "dist/*",
        "libs/*",
        "logo/*"
      ],
      "matches": ["<all_urls>"]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self';"
  }
}
