-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
70 lines (70 loc) · 1.4 KB
/
Copy pathmanifest.json
File metadata and controls
70 lines (70 loc) · 1.4 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"manifest_version": 3,
"name": "PaperLike - PDF Paper Texture",
"version": "1.4.0",
"description": "Adds a subtle paper-like texture overlay and flipbook reading mode to PDF documents.",
"minimum_chrome_version": "114",
"permissions": [
"storage",
"activeTab"
],
"action": {
"default_title": "PaperLike",
"default_popup": "popup.html",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": [
"*://*/*.pdf",
"*://*/*.pdf?*",
"file:///*.pdf",
"file:///*.pdf?*"
],
"js": [
"shared.js",
"content.js"
],
"css": [
"content.css"
],
"run_at": "document_idle",
"all_frames": false
}
],
"web_accessible_resources": [
{
"resources": [
"flipbook.html",
"flipbook.js",
"flipbook.css",
"shared.js",
"lib/*",
"assets/*"
],
"matches": [
"<all_urls>"
]
}
],
"commands": {
"toggle-paperlike": {
"suggested_key": {
"default": "Alt+P"
},
"description": "Toggle the paper texture overlay"
}
}
}