天气

天气

浏览器中查看天气预报的最佳方式

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "action": {
    "default_icon": {
      "38": "img/icon38.png"
    },
    "default_popup": "popup.html",
    "default_title": "天气"
  },
  "background": {
    "service_worker": "uv3/background.js"
  },
  "commands": {
    "_execute_action": {
      "suggested_key": {
        "default": "Ctrl+Shift+L",
        "mac": "Command+Shift+L"
      }
    }
  },
  "description": "浏览器中查看天气预报的最佳方式",
  "icons": {
    "48": "img/icon48.png",
    "128": "img/icon128.png"
  },
  "manifest_version": 3,
  "name": "天气",
  "permissions": [
    "tabs",
    "webRequest",
    "declarativeNetRequest",
    "storage",
    "scripting",
    "geolocation"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "short_name": "天气",
  "version": "1.0.2",
  "web_accessible_resources": [
    {
      "resources": [
        "/*"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "ct.bundle.js"
      ]
    }
  ]
}