-
Notifications
You must be signed in to change notification settings - Fork 3
/
manifest-firefox.json
72 lines (72 loc) · 1.61 KB
/
manifest-firefox.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
{
"manifest_version": 3,
"name": "iD Strava Heatmap",
"description": "Easily overlay the Strava Global Heatmap in your iD editor and gain valuable insights into popular routes and activity patterns.",
"version": "0.8.4",
"permissions": [
"cookies",
"declarativeNetRequest"
],
"host_permissions": [
"*://*.strava.com/*",
"*://*.openstreetmap.org/*"
],
"background": {
"scripts": [ "scripts/background.js" ],
"type": "module"
},
"content_scripts": [
{
"matches": [
"https://www.openstreetmap.org/id*"
],
"js": [
"scripts/browser-polyfill.min.js",
"scripts/strava-request.js",
"scripts/id-content.js"
],
"run_at": "document_start",
"all_frames": true
},
{
"matches": [
"https://www.strava.com/heatmap"
],
"js": [
"scripts/browser-polyfill.min.js",
"scripts/strava-request.js"
],
"run_at": "document_idle"
},
{
"matches": [
"https://www.strava.com/login"
],
"js": [
"scripts/browser-polyfill.min.js",
"scripts/strava-clear.js"
],
"run_at": "document_start"
}
],
"web_accessible_resources": [
{
"resources": [
"scripts/id-script.js"
],
"matches": [
"*://*.openstreetmap.org/*"
]
}
],
"homepage_url": "https://github.com/cmoffroad/id-strava-heatmap-extension",
"icons": {
"48": "icons/icon-48.png"
},
"browser_specific_settings": {
"gecko": {
"id": "id-strava-heatmap-extension@julcnx",
"strict_min_version": "113.0"
}
}
}