{
  "manifest_version": 3,
  "name": "悦标签页 JoyTab Desk",
  "version": "1.0.1",
  "description": "A beautiful and powerful new tab page with smart search, bookmark management, customizable wallpapers, rich widgets (clock, calendar, weather, calculator, notes, todo, health reminders, desktop pets) and built-in games - 悦标签页，打造您专属的高效浏览起点",
  "permissions": [
    "storage",
    "activeTab",
    "alarms",
    "tabs",
    "notifications"
  ],
  "host_permissions": [
    "https://api.pexels.com/*",
    "https://www.ijihe.com/*"
  ],
  "chrome_url_overrides": {
    "newtab": "newtab.html"
  },
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "background": {
    "service_worker": "background.js"
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "js/content-script.js"
      ],
      "run_at": "document_idle",
      "all_frames": false
    },
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "js/logger.js",
        "js/lottie.min.js",
        "js/easing.js",
        "js/particle-system.js",
        "js/ball-system.js",
        "js/radial-menu.js",
        "js/theme-system.js",
        "js/pet-manager.js",
        "js/pet-canvas.js"
      ],
      "run_at": "document_idle",
      "all_frames": false
    }
  ],
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
  },
  "web_accessible_resources": [
    {
      "resources": [
        "quick-test.html",
        "responsive-demo.html",
        "newtab.html",
        "openUrl.html",
        "assets/pets/cat/oneko.gif",
        "assets/pets/cat/cat-sprite.png",
        "assets/pets/dog/*.gif",
        "assets/pets/fox/*.gif",
        "assets/pets/panda/*.gif",
        "assets/pets/horse/*.gif",
        "assets/pets/turtle/*.gif",
        "assets/pets/snake/*.gif",
        "assets/pets/crab/*.gif"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}