Skip to content

Commit

Permalink
✨添加小窗口
Browse files Browse the repository at this point in the history
  • Loading branch information
greatanimalion committed Aug 24, 2024
1 parent 673c358 commit 70cb8a2
Show file tree
Hide file tree
Showing 11 changed files with 1,033 additions and 46 deletions.
76 changes: 48 additions & 28 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,49 @@
{
"manifest_version": 3,
"name": "Measuring tools",
"version": "0.0.1",
"description": "测量网页像素",
"icons": {
"16": "icons/icon.png",
"19": "icons/icon.png",
"38": "icons/icon.png",
"48": "icons/icon.png",
"128": "icons/icon.png"
},
"action": {
"default_title": "测量网页像素",
"default_icon": "icons/icon.png",
"default_popup": "popup/index.html"
},
"background": {
"service_worker": "background/service-worker.js"
},
"permissions": ["notifications","tabs"],
"host_permissions": [],
"content_scripts": [
{
"js": ["content/content.js"],
"matches": ["*://*/*"]
}
]
}
"manifest_version": 3,
"name": "Measuring tools",
"version": "0.0.1",
"description": "测量网页像素",
"icons": {
"16": "icons/icon.png",
"19": "icons/icon.png",
"38": "icons/icon.png",
"48": "icons/icon.png",
"128": "icons/icon.png"
},
"action": {
"default_title": "测量网页像素",
"default_icon": "icons/icon.png",
"default_popup": "popup/index.html"
},
"background": {
"service_worker": "background/service-worker.js"
},
"web_accessible_resources": [
{
"resources": [
"contentPage/*",
"assets/*",
"js/*"
],
"matches": [
"*://*/*"
],
"use_dynamic_url": true
}
],
"permissions": [
"notifications",
"tabs"
],
"host_permissions": [],
"content_scripts": [
{
"js": [
"content/content.js"
],
"matches": [
"*://*/*"
]
}
]
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@ant-design/icons": "^5.4.0",
"antd": "^5.20.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
Loading

0 comments on commit 70cb8a2

Please sign in to comment.