Restraint
Block distracting websites for five minutes or five hours or all day.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"name": "Restraint",
"version": "1.6",
"author": "David Struewing",
"description": "Block distracting websites for five minutes or five hours or all day.",
"icons": {
"48": "/icons/icon48.png",
"128": "/icons/icon128.png"
},
"background": {
"scripts": [
"background.js"
],
"persistent": true
},
"externally_connectable": {
"matches": [
"chrome-extension://pmfjccjkgpgjfkednjngklmoeckidkka/blocked.html"
]
},
"permissions": [
"webRequest",
"<all_urls>",
"webRequestBlocking",
"tabs",
"alarms"
],
"browser_action": {
"default_icon": {
"19": "/icons/icon19.png"
},
"default_popup": "popup.html"
},
"web_accessible_resources": [
"blocked.html"
]
}