{
  "manifest_version": 3,
  "name": "La Morgue — TikTok Comments · Exportar a .txt",
  "version": "1.0.0",
  "description": "Instrumental de La Morgue. Captura los comentarios de un video de TikTok (ordenados por interacción: likes + respuestas) y los exporta a un archivo .txt.",
  "permissions": ["activeTab"],
  "host_permissions": ["https://*.tiktok.com/*", "https://tiktok.com/*"],
  "action": {
    "default_popup": "popup.html",
    "default_title": "La Morgue — TikTok Comments",
    "default_icon": {
      "16": "icons/icon16.png",
      "48": "icons/icon48.png",
      "128": "icons/icon128.png"
    }
  },
  "icons": {
    "16": "icons/icon16.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "content_scripts": [
    {
      "matches": ["https://*.tiktok.com/*", "https://tiktok.com/*"],
      "js": ["hook.js"],
      "run_at": "document_start",
      "world": "MAIN"
    },
    {
      "matches": ["https://*.tiktok.com/*", "https://tiktok.com/*"],
      "js": ["content.js"],
      "run_at": "document_idle"
    }
  ]
}
