-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
62 lines (62 loc) · 1.92 KB
/
Copy pathmanifest.json
File metadata and controls
62 lines (62 loc) · 1.92 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
{
"manifest_version": 3,
"name": "dreeve Heatmap Plugin",
"description": "Overlay self-hosted dreeve routes on gpx.studio, Wanderstories, and OpenStreetMap iD editor.",
"version": "0.4.1",
"action": {
"default_popup": "src/popup/popup.html",
"default_title": "dreeve Heatmap Plugin"
},
"options_page": "src/options/options.html",
"permissions": ["storage", "tabs", "scripting", "webNavigation"],
"host_permissions": [
"https://gpx.studio/*",
"https://studio.wanderstories.space/*",
"*://www.openstreetmap.org/*",
"http://*/*",
"https://*/*"
],
"background": {
"service_worker": "src/background.js",
"type": "module"
},
"content_scripts": [
{
"matches": ["*://www.openstreetmap.org/id*"],
"js": ["src/id/start.js"],
"run_at": "document_start",
"all_frames": true
},
{
"matches": [
"http://gpx.studio/*",
"https://gpx.studio/*",
"http://studio.wanderstories.space/*",
"https://studio.wanderstories.space/*"
],
"js": ["src/content-script.js"],
"run_at": "document_idle"
},
{
"matches": ["*://www.openstreetmap.org/id*"],
"js": ["src/content-script.js"],
"run_at": "document_end",
"all_frames": true
}
],
"web_accessible_resources": [
{
"resources": ["src/page-bridge.js"],
"matches": [
"http://gpx.studio/*",
"https://gpx.studio/*",
"http://studio.wanderstories.space/*",
"https://studio.wanderstories.space/*"
]
},
{
"resources": ["src/page-bridge-id.js", "src/id/start.js"],
"matches": ["*://www.openstreetmap.org/*"]
}
]
}