-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
30 lines (30 loc) · 944 Bytes
/
Copy pathmanifest.json
File metadata and controls
30 lines (30 loc) · 944 Bytes
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
{
"manifest_version": 3,
"name": "Dev Break Enforcer",
"version": "1.0.0",
"description": "Forces developers to take 1-minute health breaks every hour. Locks the browser until you walk and drink water.",
"permissions": ["alarms", "storage", "tabs", "scripting"],
"host_permissions": ["<all_urls>"],
"background": {
"service_worker": "background/service-worker.js"
},
"content_scripts": [{
"matches": ["<all_urls>"],
"js": ["content/overlay.js"],
"run_at": "document_idle"
}],
"action": {
"default_popup": "popup/popup.html",
"default_title": "Dev Break Enforcer"
},
"options_page": "options/options.html",
"icons": {
"16": "assets/icons/icon16.png",
"48": "assets/icons/icon48.png",
"128": "assets/icons/icon128.png"
},
"web_accessible_resources": [{
"resources": ["overlay/overlay.html", "overlay/overlay.css", "overlay/overlay.js"],
"matches": ["<all_urls>"]
}]
}