Github files download
Extension to download Githup single files without downloading the whole repo
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "__MSG_appName__",
"version": "0.0.1",
"manifest_version": 2,
"description": "__MSG_appDescription__",
"icons": {
"16": "icons/icon-16.png",
"128": "icons/icon-128.png"
},
"default_locale": "en",
"background": {
"scripts": [
"scripts/background.js"
]
},
"permissions": [
"tabs",
"storage",
"http://github.com/*",
"https://github.com/*",
"contextMenus",
"downloads"
],
"content_scripts": [
{
"matches": [
"https://github.com/*",
"http://github.com/*"
],
"js": [
"scripts/contentscript.js"
],
"css": [],
"run_at": "document_end",
"all_frames": false
}
],
"web_accessible_resources": [],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
}