我剛剛創建了我的第一個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雖然圖標是變灰,這是一個不同的問題。 –