-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest.json
104 lines (104 loc) · 2.91 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "Kiva Lender Assistant",
"description": "KLA shows repayment graphs, partner religious affiliation, lets you set up custom buttons in Kiva's header, and more!",
"version": "2.0.4",
"manifest_version": 2,
"homepage_url": "https://github.com/nuclearspike/lenderassist",
"background" : { "page": "background.html" },
"options_page": "options_custom/index.html",
"icons": { "16": "icons/icon16.png",
"19": "icons/icon19.png",
"38": "icons/icon38.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png" },
"page_action": {
"default_icon": {
"19": "icons/icon19.png",
"38": "icons/icon38.png"
},
"default_title": "Kiva Lender Assistant (click to view options)"
},
"permissions": [
"tts",
"storage",
"notifications",
"https://www.kiva.org/",
"https://api.kivaws.org/",
"http://www.kivalens.org/"
],
"omnibox": {
"keyword": "kiva"
},
"externally_connectable": {
"matches": ["*://www.kivalens.org/*"]
},
"content_scripts": [
{
"matches": ["*://www.kiva.org/*"],
"run_at": "document_start",
"js": ["js_lib/jquery/jquery.min.js", "js_lib/jquery/jquery.sparkline.min.js", "js_lib/linq.min.js", "js_lib/highcharts.js", "js_lib/date.js", "inject/all_common_start.js"]
},
{
"matches": ["*://www.kiva.org/*"],
"run_at": "document_start",
"js": ["inject/all_start.js"],
"css": ["inject/all.css"]
},
{
"matches": ["*://www.kiva.org/*"],
"run_at": "document_end",
"js": ["inject/all_end.js"]
},
{
"matches": ["*://www.kiva.org/*"],
"js": ["inject/all_idle.js"]
},
{
"matches": ["*://www.kiva.org/lend*"],
"run_at": "document_end",
"js": ["inject/lend.js"]
},
{
"matches": ["*://www.kiva.org/about/where-kiva-works/partners/*"],
"run_at": "document_end",
"js": ["inject/partner.js"]
},
{
"matches": ["*://www.kiva.org/live*"],
"run_at": "document_end",
"css": ["inject/live.css"],
"js": ["inject/live.js"]
},
{
"matches": ["*://www.kiva.org/live","*://www.kiva.org/live?v=2"],
"run_at": "document_end",
"css": ["inject/live_globe.css"],
"js": ["inject/live_globe.js"]
},
{
"matches": ["*://www.kiva.org/live?v=1"],
"run_at": "document_end",
"css": ["inject/live_map.css"],
"js": ["inject/live_map.js"]
},
{
"matches": ["https://www.kiva.org/myLenderId*"],
"run_at": "document_end",
"js":["inject/my_lender_id.js"]
},
{
"matches": ["https://www.kiva.org/settings/credit?kla=true&*"],
"run_at": "document_idle",
"js":["inject/set_auto_lending_options.js"]
},
{
"matches": ["*://www.kiva.org/lender/*"],
"js": ["inject/lender.js"]
},
{
"matches": ["*://www.kiva.org/team/*"],
"css": ["inject/team.css"],
"js": ["inject/team.js"]
}
]
}