{
  "manifest_version": 3,
  "name": "FormFill",
  "version": "1.0.0",
  "description": "Record form filling and button clicks, replay on any site. Profile variables, robust fallback selectors.",
  "action": {
    "default_popup": "popup.html",
    "default_title": "FormFill"
  },
  "background": {
    "service_worker": "background.js"
  },
  "permissions": ["storage", "scripting", "activeTab", "tabs", "notifications"],
  "host_permissions": ["<all_urls>", "https://adampowell.pro/*"],
  "commands": {
    "start-recording": {
      "suggested_key": { "default": "Alt+Shift+R" },
      "description": "FormFill: start recording on current tab"
    },
    "stop-recording": {
      "suggested_key": { "default": "Alt+Shift+E" },
      "description": "FormFill: stop recording + auto-sync"
    }
  },
  "content_scripts": [
    {
      "matches": ["<all_urls>"],
      "js": ["content.js"],
      "run_at": "document_idle",
      "all_frames": false
    }
  ],
  "icons": {
    "16": "icon-16.png",
    "32": "icon-32.png",
    "48": "icon-48.png",
    "128": "icon-128.png"
  }
}
