-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathmanifest.json
84 lines (84 loc) · 1.51 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
{
"manifest_version": 3,
"name": "Peek: Preview PDFs, Office files, and more",
"short_name": "Peek",
"version": "6.0",
"author": "Corbin Davenport",
"description": "Preview documents, videos, music, and more with a mouse hover.",
"homepage_url": "https://github.com/corbindavenport/peek",
"options_ui": {
"page": "settings.html",
"open_in_tab": true
},
"permissions": [
"storage"
],
"host_permissions": [
"*://*/*"
],
"background": {
"service_worker": "js/background.js"
},
"icons": {
"32": "img/icon_x32.png",
"48": "img/icon_x48.png",
"128": "img/icon_x128.png"
},
"web_accessible_resources": [
{
"resources": [
"img/arrow-up-right-circle.svg",
"img/gear.svg"
],
"matches": [
"*://*/*"
]
}
],
"action": {
"default_icon": {
"32": "img/icon_x32.png",
"48": "img/icon_action_x48.png",
"128": "img/icon_action_x128.png"
},
"action": {}
},
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"js/popper.min.js",
"js/tippy-bundle.umd.min.js",
"js/purify.js",
"js/peek.js"
],
"css": [
"css/peek.css"
],
"run_at": "document_end"
},
{
"matches": [
"https://www.threads.net/*utm_source=peek_extension*"
],
"css": [
"css/threads.css"
],
"all_frames": true,
"run_at": "document_end"
},
{
"matches": [
"https://embed.reddit.com/r/*utm_source=peek_extension*"
],
"css": [
"css/reddit.css"
],
"all_frames": true,
"run_at": "document_end"
}
]
}