{
  "manifest_version": 3,
  "name": "Screenshot Capture Extension",
  "version": "1.0",
  "description": "Captures a screenshot and displays it in a new tab.",
  "permissions": [
    "tabs",
    "storage",
    "activeTab"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "background": {
    "service_worker": "background.js"
  },
  "commands": {
    "capture_screenshot": {
      "suggested_key": {
        "default": "Alt+Shift+S"
      },
      "description": "Capture a screenshot of the visible screen"
    },
    "draw_rectangle": {
      "suggested_key": {
        "default": "Alt+Shift+D"
      },
      "description": "Draw a rectangle for screen capture area"
    }
  },
  "action": {
    "default_popup": "popup.html",
    "default_icon": "icons/icon.png"
  },
  "icons": {
    "16": "icons/icon.png",
    "48": "icons/icon.png",
    "128": "icons/icon.png"
  },
  "web_accessible_resources": [
    {
      "resources": ["display.html"],
      "matches": ["<all_urls>"]
    }
  ],
  "content_scripts": [
    {
      "matches": ["<all_urls>"],
      "js": ["content_script.js"]
    }
  ]
}
