Chrome 扩展插件开发


Author: yifei / Created: June 9, 2017, 1:11 p.m. / Modified: June 9, 2017, 1:17 p.m. / Edit

A chrome extension can inject script into the page, this is called content script.

https://developer.chrome.com/extensions/getstarted https://developer.chrome.com/extensions/content_scripts https://developer.chrome.com/extensions/messaging

图标变灰的问题

Add browser_action.default_icon in your manifest.json file

{
  ...

  "browser_action": {
    "default_icon": "icons/icon-32.png"
  },

  ...
}

评论区