-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmanifest.json
More file actions
51 lines (51 loc) · 1.28 KB
/
Copy pathmanifest.json
File metadata and controls
51 lines (51 loc) · 1.28 KB
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
{
"manifest_version": 3,
"name" : "ContextSaver",
"description": "A context-based language learning tool that saves highlighted vocabulary and its context for effective reading and learning.",
"version" : "1.0",
"icons" : {
"16": "images/context16.png",
"48": "images/context48.png",
"128": "images/context128.png"
},
"action" : {
"default_popup": "popup/popup.html"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"css": ["main.css"],
"js": ["scripts/content.js"],
"run_at": "document_end",
"all_frames": false
}
],
"permissions": [
"contextMenus",
"sidePanel",
"activeTab",
"scripting",
"tabs",
"storage",
"downloads"
],
"host_permissions": ["<all_urls>"],
"side_panel": {
"default_path": "sidepanel/sidepanel.html"
},
"background": {
"service_worker": "background.js"
},
"web_accessible_resources": [
{
"matches":["<all_urls>"],
"resources": [
"scripts/*",
"images/icons/*",
"popup/*",
"sidepanel/*",
"src/*"
]
}
]
}