-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
42 lines (36 loc) · 957 Bytes
/
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
{
"manifest_version": 2,
"name": "Water Reminder",
"version": "1.0",
"description": "Customizable timer to remind you to drink water periodically.",
"icons": {
"48": "icons/water-48.png"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content.js"],
"run_at": "document_end", //prevents issues w/ page loading
"all_frames": true
}
],
//need to make this a bg script bc otherwise we don't get alarms/notifications.
"background": {
"scripts": ["timer.js"]
},
"permissions": [
"alarms",
"tabs",
"notifications",
"storage"
],
//Adding browser button
"browser_action": {
"default_icon": {
"48": "icons/water-48.png"
},
"default_title": "Water Reminder",
"default_popup": "popup.html"
},
"options_page": "options.html"
}