-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmanifest.json
73 lines (72 loc) · 2 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
{
"manifest_version": 2,
"name": "Highlight by Trix",
"description": "Highlight text on websites with a simple right-click or keyboard shortcut. Saves highlights on your device.",
"version": "4.0.3",
"icons": {
"48": "images/48.png",
"128": "images/128.png"
},
"browser_action": {
"default_icon": {
"16": "images/16.png",
"48": "images/48.png",
"128": "images/128.png"
},
"default_popup": "src/popup/popup.html"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"lib/jquery-3.6.0.js",
"src/utils/storageManager.js",
"src/utils/highlight.js",
"src/utils/highlightV3.js",
"src/utils/highlightV4.js",
"src/utils/highlight_legacy.js",
"src/utils/errorManager.js",
"src/hoverTools/hoverTools.js",
"src/contentScripts/loadHighlights.js",
"src/contentScripts/highlighterCursor.js"
],
"css": [
"src/hoverTools/hoverTools.css"
],
"all_frames": true
}
],
"background": {
"page": "background.html",
"persistent": false
},
"commands": {
"execute-highlight": {
"suggested_key": {
"default": "Alt+A",
"mac": "Alt+A"
},
"description": "Highlight selected text"
}
},
"permissions": [
"contextMenus",
"scripting",
"storage",
"activeTab",
"<all_urls>"
],
"web_accessible_resources": [
"images/*.png",
"images/*.svg",
"src/hoverTools/hoverTools.html"
],
"content_security_policy": "script-src 'self'; object-src 'self'",
"browser_specific_settings": {
"gecko": {
"id": "trix@highlight"
}
}
}