-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
48 lines (48 loc) · 1.47 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
{
"{{chrome}}.manifest_version": 3,
"{{firefox}}.manifest_version": 2,
"name": "RoyalRefresh",
"description": "A web extension for royalroad.com. For people who juggle multiple stories",
"homepage_url": "https://github.com/Seismix/royalrefresh",
"{{chrome}}.action": {
"default_title": "RoyalRefresh",
"default_popup": "ui/options.html"
},
"{{firefox}}.browser_action": {
"default_title": "RoyalRefresh",
"default_popup": "ui/options.html"
},
"content_scripts": [
{
"matches": ["*://*.royalroad.com/*"],
"js": ["scripts/content.ts"],
"run_at": "document_end"
}
],
"{{chrome}}.background": {
"service_worker": "scripts/background.ts"
},
"{{firefox}}.background": {
"scripts": ["scripts/background.ts"],
"type": "module",
"persistent": false
},
"options_ui": {
"page": "ui/options.html",
"{{chrome}}.open_in_tab": false
},
"icons": {
"48": "icons/royalroad_48.png",
"96": "icons/royalroad_96.png",
"128": "icons/royalroad_128.png"
},
"{{chrome}}.permissions": ["storage"],
"{{chrome}}.host_permissions": ["*://*.royalroad.com/*"],
"{{firefox}}.permissions": ["*://*.royalroad.com/*", "storage"],
"{{firefox}}.browser_specific_settings": {
"gecko": {
"id": "[email protected]"
},
"gecko_android": {}
}
}