Skip to content

Instantly share code, notes, and snippets.

@gilbertoquinteroA
Created January 20, 2018 22:22
Show Gist options
  • Save gilbertoquinteroA/78576bcc16ea78ef851d854984ca047e to your computer and use it in GitHub Desktop.
Save gilbertoquinteroA/78576bcc16ea78ef851d854984ca047e to your computer and use it in GitHub Desktop.
{
//name is for make the name of your extension chrome
"name": "Screenshot Free for Browser",
//version is for make what is the version of you extension
"version": "1.3",
// description is for make a description of you extension
"description": "Extesion Free for you take a Screenshot",
//Used by packaged apps to specify the app's background scripts.
"background": {
"persistent": false,
//I call the script here
"scripts": ["background.js"]
},
//configuration you extension with icon and title of you extension.
"browser_action": {
"default_icon": "icon.png",
"default_title": "Take a screen shot!"
},
/*
To use most chrome.* APIs, your extension or app must declare its intent in the "permissions"
field of the manifest. Each permission can be either one of a list of known strings (such as "geolocation")
or a match pattern that gives access to one or more hosts. Permissions help to limit damage if your extension
or app is compromised by malware. Some permissions are also displayed to users before installation, as detailed
in Permission Warnings.
example :
"permissions": [
"serial",
"storage",
"videoCapture"
],
*/
"permissions": [
"activeTab"
],
//version of the manifest_version
"manifest_version": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment