{
  "manifest_version": 3,

  "name": "__MSG_ext_name_production__",
  "description": "__MSG_ext_description__",
  "version": "34.1.0",

  "default_locale": "en",
  "icons": {
    "16": "img/icon-16.png",
    "128": "img/icon-128.png",
    "500": "img/icon-500.png"
  },

  "background": {
    "service_worker": "/app/bg.js"
  },

  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
  },

  "content_scripts": [
    {
      "matches": ["https://*.instagram.com/*"],
      "js": ["/js/emoji-regex.min.js", "/app/cs.js"],
      "run_at": "document_start",
      "all_frames": true
    }
  ],

  "permissions": [
    "alarms",
    "background",
    "cookies",
    "declarativeNetRequest",
    "offscreen",
    "unlimitedStorage"
  ],
  "optional_permissions": ["downloads"],

  "host_permissions": ["*://*.instagram.com/*", "*://*.inssist.com/*"],
  "optional_host_permissions": ["*://*.onfastspring.com/*", "*://*.fbcdn.net/*"],

  "action": {
    "default_icon": { "48": "img/icon-badge-48.png" },
    "default_title": "INSSIST | Instagram Assistant"
  },

  "web_accessible_resources": [
    {
      "resources": ["/*"],
      "matches": ["*://*.instagram.com/*"]
    }
  ]
}
