Chrome Extension - Image of Extension on Settings

2020-02-26 06:04发布

问题:

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"
   }
}