I am trying to figure out how to get an image/icon of our extension to display on the Settings->Extensions page. I looked through the manifest api but the closest thing I found related to this was to include "Icons" which did not work.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Looking at my manifest (where I have an icon) I have:
{
"name": "Obviously there's more to my manifest file. Also, I'm not using manifest version 2 yet",
"icons":
{
"128": "images/icon128.png",
"16": "images/icon16.png",
"48": "images/icon48.png"
}
}