-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
50 lines (50 loc) · 940 Bytes
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"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",
"storage"
],
"host_permissions": [],
"content_scripts": [
{
"js": [
"content/content.js"
],
"matches": [
"*://*/*"
]
}
]
}