ColorThief
Extracts a color palette from an image
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "ColorThief",
"version": "0.2.0",
"manifest_version": 2,
"description": "Extracts a color palette from an image",
"background": {
"scripts": [
"background.js"
]
},
"browser_action": {
"default_icon": {
"19": "images/thief-19.png",
"38": "images/thief-38.png"
},
"default_title": "ColorThief"
},
"icons": {
"16": "images/thief-16.png",
"48": "images/thief-48.png",
"128": "images/thief-128.png"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"bower_components/jQuery/dist/jquery.min.js",
"bower_components/jQuery/dist/jquery.min.map",
"bower_components/handlebars/handlebars.min.js",
"bower_components/color-thief/dist/color-thief.min.js",
"content-script.js"
],
"css": [
"style.css"
]
}
],
"permissions": [
"tabs",
"activeTab"
],
"web_accessible_resources": [
"thief.png",
"control-panel.html",
"palette.html"
]
}