-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
48 lines (48 loc) · 929 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
{
"manifest_version": 3,
"name": "win",
"version": "1.0",
"description": "win",
"action": {
"default_title": "工具Win",
"default_popup": "popup.html"
},
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"permissions": [
"storage",
"activeTab",
"scripting",
"clipboardRead",
"clipboardWrite",
"tabs", "storage"
],
"host_permissions": [
"http://*/*",
"https://*/*"
],
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"css": ["styles.css"],
"all_frames": true
}
],
"commands":
{
"custom_command": {
"suggested_key": {
"windows": "Ctrl+K",
"mac": "Ctrl+K"
},
"description": "Run custom command"
}
}
}