{
  "manifest_version": 3,
  "name": "Investor RPG 內容擷取器",
  "version": "1.0.0",
  "description": "從 YouTube（含會員影片）和 HyRead 閱讀器擷取內容，傳送到 Investor RPG",
  "permissions": ["storage", "activeTab"],
  "host_permissions": [
    "https://www.youtube.com/*",
    "https://youtube.com/*",
    "https://*.ebook.hyread.com.tw/*",
    "https://*.hyread.com.tw/*"
  ],
  "content_scripts": [
    {
      "matches": ["https://www.youtube.com/*", "https://youtube.com/*"],
      "js": ["content-youtube.js"],
      "run_at": "document_idle"
    },
    {
      "matches": ["https://*.ebook.hyread.com.tw/*", "https://*.hyread.com.tw/*"],
      "js": ["content-hyread.js"],
      "run_at": "document_idle"
    }
  ],
  "action": {
    "default_popup": "popup.html",
    "default_title": "Investor RPG 擷取器",
    "default_icon": {
      "16": "icon16.png",
      "48": "icon48.png",
      "128": "icon128.png"
    }
  },
  "icons": {
    "16": "icon16.png",
    "48": "icon48.png",
    "128": "icon128.png"
  }
}
