{
  "name": "SmarterBook",
  "description": "Futuristic automation for McGraw Hill SmartBook!",
  "version": "2.0.1",
  "manifest_version": 3,
  "permissions": [
    "activeTab",
    "storage",
    "scripting"
  ],
  "host_permissions": [
    "https://*.firebaseio.com/*",
    "https://*.googleapis.com/*",
    "*://learning.mheducation.com/*"
  ],
  "action": {
    "default_popup": "index.html",
    "default_title": "SmarterBook Console",
    "default_icon": "extensionlogo.png"
  },
  "icons": {
    "16": "extensionlogo.png",
    "48": "extensionlogo.png",
    "128": "extensionlogo.png"
  },
  "background": {
    "service_worker": "background.js",
    "type": "module"
  },
  "content_scripts": [
    {
      "matches": ["*://learning.mheducation.com/*"],
      "js": ["autopilot.js"]
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self';"
  }
}