下载链接:https://developer.chrome.com/extensions/examples/extensions/gmail.zip
{
"background": {
//Notice that without the "persistent" key, you have a regular background page.
//Persistence is what differentiates an event page from a background page.
"persistent": false,
//If you need the browser to start up early—so you can display notifications,
//for example—then you might also want to specify the "background" permission.
"page": "background.html"
},
//Use browser actions to put icons in the main Google Chrome toolbar, to the right of the address bar.
//In addition to its icon, a browser action can also have a tooltip, a badge, and a popup.
"browser_action": {
"default_icon": "gmail_not_logged_in.png"
},
//Specifies the subdirectory of _locales that contains the default strings for this extension.
//This field is required in extensions that have a _locales directory;
//it must be absent in extensions that have no _locales directory. For details, see Internationalization.
"default_locale": "en",
"description": "__MSG_gmailcheck_description__",
"icons": {
"128": "icon_128.png"
},
"name": "__MSG_gmailcheck_name__",
"permissions": [
"alarms",
"tabs",
"webNavigation",
"*://*.google.com/"a
],
"version": "4.4.0",
"manifest_version": 2
}

 

For details see  http://developer.chrome.com/extensions/manifest.html

标签: none

评论已关闭