Productivity Pigeon
Block sites simply!
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "__MSG_appName__",
"version": "0.1.1",
"manifest_version": 2,
"description": "__MSG_appDescription__",
"icons": {
"16": "images/icon-16.png",
"128": "images/icon-128.png"
},
"default_locale": "en",
"background": {
"scripts": [
"scripts/background.js"
]
},
"permissions": [
"webRequest",
"webRequestBlocking",
"http://*/*",
"https://*/*",
"storage"
],
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"scripts/contentscript.js"
],
"run_at": "document_end",
"all_frames": false
}
],
"browser_action": {
"default_icon": {
"19": "images/icon-19.png",
"38": "images/icon-38.png"
},
"default_title": "Productivity Pigeon",
"default_popup": "popup.html"
},
"commands": {
"blocking_on": {
"description": "Turn blocking of the sites ON"
},
"blocking_off": {
"description": "Turn blocking of the sites OFF"
},
"blocking_toggle": {
"suggested_key": {
"default": "Ctrl+Shift+X",
"mac": "Command+Shift+X"
},
"description": "Toggle if sites are blocked"
}
},
"web_accessible_resources": [
"blocked.html",
"images/*.png",
"fonts/*"
]
}