manifest.json中的哪个属性负责此扩展图像(包含屏幕截图)

时间:2014-01-26 22:25:31

标签: google-chrome google-chrome-extension

Missing iamge

manifest.json文件中的哪个属性会处理这个丢失的图像?

这是我的清单文件。

{
  "manifest_version": 2,
  "name": "Youtube.md",
  "version": "1.0.2",

  "description": "Create markdown code for Youtube videos",
  "icons": { "16": "icons/icon16.png",
             "48": "icons/icon48.png",
            "128": "icons/icon128.png" },

  "browser_action": {
    "default_icon": {
      "19": "icons/icon19.png",
      "38": "icons/icon38.png"
    },
    "default_title": "Youtube.md",
    "default_popup": "popup.html"
  },
  "author": "Jason Kim",

  "permissions": [
  ],
  "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
}

1 个答案:

答案 0 :(得分:0)

  "icons": {
    "48": "icons/icon48.png"
  }

icons["48"]负责chrome://extensions的图像 设置新图标后,您必须重新加载扩展程序,关闭标签页并重新打开chrome://extensions以查看新图标。