-
Notifications
You must be signed in to change notification settings - Fork 79
/
manifest.json
88 lines (88 loc) · 2.35 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
77
78
79
80
81
82
83
84
85
86
87
88
{
"manifest_version": 3,
"name": "Highlighter",
"description": "Highlight text on websites with a simple right-click or keyboard shortcut. Saves highlights on your device.",
"version": "4.0.5",
"icons": {
"16": "images/16.png",
"48": "images/48.png",
"128": "images/128.png"
},
"action": {
"default_icon": {
"16": "images/16.png",
"48": "images/48.png",
"128": "images/128.png"
},
"default_popup": "src/popup/index.html"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"lib/jquery-2.1.3.min.js",
"contentScript.js"
],
"css": [
"src/contentScripts/hoverTools/index.css"
],
"all_frames": true
}
],
"background": {
"service_worker": "background.js",
"type": "module"
},
"commands": {
"execute-highlight": {
"suggested_key": {
"default": "Alt+H",
"mac": "MacCtrl+H"
},
"description": "Highlight selected text"
},
"toggle-highlighter-cursor": {
"description": "Toggle the highlighter cursor"
},
"change-color-to-yellow": {
"description": "Change highlighter color to yellow"
},
"change-color-to-cyan": {
"description": "Change highlighter color to blue"
},
"change-color-to-lime": {
"description": "Change highlighter color to green"
},
"change-color-to-magenta": {
"description": "Change highlighter color to pink"
},
"change-color-to-dark": {
"description": "Change highlighter color to dark"
}
},
"permissions": [
"contextMenus",
"scripting",
"storage"
],
"host_permissions": [
"<all_urls>"
],
"web_accessible_resources": [
{
"resources": [
"images/*.png",
"images/*.svg",
"src/contentScripts/*"
],
"matches": [
"<all_urls>"
]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
}
}