forked from Josephine-Chen/FocusPro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
52 lines (50 loc) · 1.6 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
{
"manifest_version": 2,
"name": "FocusPro Extension",
"version": "0.1",
"description": "Website time tracker and companion to FocusPro web app",
"homepage_url": "http://focuspro.herokuapp.com/",
"icons": {
"16": "icon16.png",
"19": "icon19.png",
"48": "icon48.png",
"128": "icon128.png"
},
"background": {
"scripts": ["jquery-3.1.1.min.js", "config.js", "sites.js", "tracker.js", "background.js"]
},
"permissions": [
"http://localhost:7777/*",
"activeTab",
"alarms",
"history",
"idle",
"notifications",
"storage",
"tabs",
"unlimitedStorage",
"webNavigation"
],
"browser_action": {
"default_title": "Time Tracker",
"default_popup": "popup.html"
},
"options_page": "options.html",
"externally_connectable": {
"matches": ["*://focuspro.herokuapp.com/*"]
}
}
/*
Notes:
Permissions:
-activeTab is used to get information about active tab
-alarms is used to send information at set times
-history is used to record visited pages
-idle is used to track idle times, when the user has not generated input for a specified time, locked is when screensaver activates
-Use this to avoid tracking idle time aka when user is away from keyboard or not actively on website
-notifications is used to send notifications
-storage is used to store user data for the extension
-tabs is used to create and modify tabs
-unlimitedStorage is used to give more storage space
-webNavigation is used to receive notifications about status of navigation requests
*/