-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
65 lines (64 loc) · 2.23 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
55
56
57
58
59
60
61
62
63
64
65
{
"name": "GitCommits",
"version": "2.0",
"description": "GitCommits is a platform that brings Product Owners, Software Developers, and End Users together like never before.",
"manifest_version": 2,
"permissions": ["storage", "activeTab", "*://*.gitcommits.com/*", "*://*.github.com/*", "*://*.atlassian.net/*", "*://gitcommits.test/*"],
"background": {
"scripts": ["variables.js","assets/js/axios.min.js","assets/js/auth_helper.js","init.js"]
//"persistent": false
},
//"options_page": "html/options.html",
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
/*Below one will make the popup to appear on pages matching different criteria defined in init.js
"page_action": {
"default_title": "Make an Offer",
"default_popup": "html/popup.html",
"default_icon": {
"16": "images/favicon-16x16.png",
"32": "images/favicon-32x32.png",
"48": "images/android-chrome-192x192.png",
"128": "images/android-chrome-192x192.png"
}
},*/
/*Below one will make the popup to appear on all pages*/
"browser_action": {
"default_title": "GitCommits",
"default_popup": "html/popup.html",
"default_icon": {
"16": "images/favicon-16x16.png",
"32": "images/favicon-32x32.png",
"48": "images/android-chrome-192x192.png",
"128": "images/android-chrome-192x192.png"
}
},
"icons": {
"16": "images/favicon-16x16.png",
"32": "images/favicon-32x32.png",
"48": "images/android-chrome -192x192.png",
"128": "images/android-chrome-192x192.png"
},
"content_scripts": [
{
//"matches": ["http://*.gitcommits.com/*"],
"matches": ["*://sandbox.app.gitcommits.com/extension-token","*://app.gitcommits.com/extension-token","*://gitcommits.test/extension-token"],
//"css": ["myStyles.css"],
"js": ["assets/js/contentScript.js"],
"run_at": "document_end"
//"run_at": "document_idle"
}
],
"externally_connectable": {
"matches": ["*://*.gitcommits.com/*","*://gitcommits.test/*"]
},
"web_accessible_resources": [
"assets/images/gitcommits-logo-topdown.png",
"pagescript.js"
],
/*Specific for mozilla firefox*/
"applications": {
"gecko": {
"id": "[email protected]"
}
}
}