-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
76 lines (71 loc) · 1.72 KB
/
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"manifest_version": 3,
"name": "Web-Annotator",
"version": "1.0",
"description": "An extension which enables a user to Annotate a webpage and save them for further use.",
"icons": {
"16": "images/icon.png",
"48": "images/icon.png",
"128": "images/icon.png"
},
"background": {
"service_worker": "background/service-worker.js"
},
"action":{
"default_title": "Annotate the web:\n Click ctrl + B or cmd + B to open sidePanel",
"default_popup": "popup.html"
},
"permissions": ["sidePanel", "tabs", "activeTab", "scripting"],
"commands": {
"textMarker": {
"suggested_key": {
"default": "Ctrl+K",
"mac": "Command+K"
},
"description": "highlight"
},
"rectangle": {
"suggested_key": {
"default": "Ctrl+I",
"mac": "Command+I"
},
"description": "make a rectangle"
},
"_execute_action": {
"suggested_key": {
"default": "Ctrl+B",
"mac": "Command+B"
}
},
"underline": {
"suggested_key": {
"default": "Ctrl+U",
"mac": "Command+U"
},
"description": "make an underline"
}
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": [
"node_modules/@webcomponents/custom-elements/custom-elements.min.js",
"content-scripts/toolbar.js",
"content-scripts/content.js",
"content-scripts/tools.js",
"content-scripts/customization.js",
"content-scripts/messageListener.js",
"content-scripts/notes.js"
]
}
],
"web_accessible_resources": [
{
"resources": [
"src/*",
"images/*"
],
"matches":["<all_urls>"]
}
]
}