-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
executable file
·54 lines (46 loc) · 1.32 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
// There are two manifest version 1 and 2
// The second version is used here, it's about the structure of the manifest file
"manifest_version": 2,
// The name of add-on
"name": "MiNo",
// The description of add-on (What is the add-on doing?)
"description": "Stop Cryptojackers! Protect your computer from coin miners!",
// The version of add on (Increase on every update)
"version": "1.2",
// Specifies the option page (options.html)
"options_page": "options.html",
// Specifies icons of the add-on
"icons": {
"19": "icons/icon.png",
"48": "icons/icon_48.png",
"128": "icons/icon_128.png"
},
// Default settings
// Default popup page (popup.html)
"browser_action": {
"default_icon": "icons/icon.png",
"icons": [ "icons/icon.png" ],
"default_popup": "popup.html"
},
// Specifies background scripts
// Those are utils.js and background.js
// The {persistent : true} says the scripts work everytime
"background": {
"scripts": ["js/utils.js", "js/background.js"],
"persistent": true
},
// Permissions to access some Chrome features to use Chrome functions in code
"permissions": [
"activeTab",
"storage",
"processes",
"unlimitedStorage",
"tabs",
"webRequest",
"webRequestBlocking",
"<all_urls>",
"notifications",
"system.cpu"
]
}