-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
35 lines (31 loc) · 1.17 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// most of this code was taken from here: https://developer.chrome.com/extensions/getstarted
// metada file in JSON which delcares what your chrome
// extension will do and permissions required to do
// those things
{
// properties of your chrome extension
// manifest_version, name, and version are *required*
"manifest_version": 2,
"name": "My First Chrome Extension",
"version": "1.0",
"description": "This extension will tweet the link of the current page you are looking at",
// API to request permissions
// in this example we are asking for permission
// to use the chrome.tabs API and Twitter API
"permissions": [
"tabs",
"*://*.twitter.com/*"
],
// could do browser_action or page_action or none
// read more about browser_action: https://developer.chrome.com/extensions/browserAction
"browser_action": {
// icon in the google chrome toolbar
"default_icon": "icon.png",
// some html that will pop up when you hover over the icon
// need to have a popup.html file that specifies what it
// will look like
"default_popup": "popup.html",
// will appear when you hover over the link
"default_title": "click me!"
}
}