-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
55 lines (55 loc) · 1.24 KB
/
Copy pathmanifest.json
File metadata and controls
55 lines (55 loc) · 1.24 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
52
53
54
55
{
"manifest_version": 3,
"name": "Paperlight: PDF Dark Mode & Read Aloud",
"short_name": "Paperlight",
"version": "2.7.0",
"description": "Dark mode, sepia, and paper themes for Chrome's PDF viewer, plus read PDFs aloud with natural offline voices.",
"permissions": [
"storage",
"offscreen",
"contextMenus",
"tts"
],
"host_permissions": [
"<all_urls>"
],
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
},
"action": {
"default_popup": "popup.html",
"default_icon": {
"16": "images/icon16.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
}
},
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"],
"all_frames": true,
"run_at": "document_end"
},
{
"matches": ["<all_urls>"],
"js": ["hud.js"],
"all_frames": false,
"run_at": "document_end"
}
],
"web_accessible_resources": [
{
"resources": ["popup.html"],
"matches": ["<all_urls>"]
}
],
"icons": {
"16": "images/icon16.png",
"48": "images/icon48.png",
"128": "images/icon128.png"
}
}