Foca
Foca uses your computer's webcam to monitor your facial expressions and help you stay more focused while learning online.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Foca",
"short_name": "foca",
"version": "2.0.0",
"manifest_version": 2,
"description": "Foca uses your computer's webcam to monitor your facial expressions and help you stay more focused while learning online.",
"homepage_url": "http://mylabathula.com/foca.html",
"icons": {
"16": "icons/foca16.png",
"48": "icons/foca48.png",
"128": "icons/foca128.png"
},
"background": {
"page": "background.html"
},
"permissions": [
"storage",
"management"
],
"content_security_policy": "script-src 'self' 'unsafe-eval' https://unpkg.com; object-src 'self'",
"options_page": "settings.html",
"browser_action": {
"default_icon": {
"19": "icons/foca19.png",
"38": "icons/foca38.png",
"48": "icons/foca48.png"
},
"default_popup": "popup.html"
},
"content_scripts": [
{
"all_frames": true,
"matches": [
"http://*/*",
"https://*/*",
"file:///*"
],
"css": [
"inject.css"
],
"js": [
"inject.js"
]
}
],
"web_accessible_resources": [
"inject.css",
"shadow.css"
]
}