feat: implement initial PolyWeather browser extension with side panel and options page

This commit is contained in:
2569718930@qq.com
2026-03-18 12:51:24 +08:00
parent 5c209ceb75
commit f0fcb1e379
10 changed files with 1578 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
{
"manifest_version": 3,
"name": "PolyWeather Side Panel",
"description": "PolyWeather 右侧城市卡片(浏览器侧边栏)",
"version": "0.1.0",
"permissions": ["sidePanel", "storage", "tabs"],
"host_permissions": ["https://*/*", "http://*/*"],
"background": {
"service_worker": "background.js"
},
"action": {
"default_title": "Open PolyWeather"
},
"side_panel": {
"default_path": "sidepanel.html"
},
"options_page": "options.html"
}