我刚刚创建了我的第一个Chrome扩展。我的分机的图标正确显示(彩色)在扩展管理器页面: Chrome扩展图标没有颜色
这里是我的分机的清单:
{
"name": "__MSG_appName__",
"version": "0.0.1",
"manifest_version": 2,
"description": "__MSG_appDescription__",
"icons": {
"16": "images/icon-16.png",
"128": "images/icon-128.png"
},
"default_locale": "en",
"background": {
"scripts": [
"scripts/chromereload.js",
"scripts/background.js"
]
},
"permissions": [
"tabs",
"http://*/*",
"https://*/*",
"contentSettings"
],
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"scripts/contentscript.js"
],
"run_at": "document_end",
"all_frames": false
}
]
}
我该怎么做才能使Chrome在地址栏旁显示颜色图标?
感谢
可能的重复[为什么我的Chrome扩展程序变灰?](http://stackoverflow.com/questions/36049472/why-is-my-chrome-extension-grayed-out) –
@StefanoNardo虽然图标是变灰,这是一个不同的问题。 –