-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.js
85 lines (69 loc) · 13.6 KB
/
extension.js
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
/************************************************************************************
This is your Page Code. The appAPI.ready() code block will be executed on every page load.
For more information please visit our docs site: http://docs.crossrider.com
*************************************************************************************/
eval(appAPI.resources.get('htmlencode.js'));
function notifychangedvalues(notification) {
var card = notification['card'];
var changedvalues = notification['changedvalues'];
var body = "";
body += "<div style=\"padding-left:65px;\">";
body += "<div style=\"font-weight:bold;font-size:14pt;color:#333;\">";
body += htmlEncode(card['address']);
body += "</div>";
for (var i in changedvalues) {
body += "<div style=\"font-size:10pt;color:#999;\">";
body += htmlEncode(i) + " " + htmlEncode(changedvalues[i]);
body += "</div>";
}
body += "</div>";
appAPI.notifier.show({
'name': 'XDI Ninja!',
'title': null,
'body': body,
'link': 'https://',
'theme': 'white-black',
'position': 'top-right',
'icon': "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gsdEDgSyUMHbwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAABBjSURBVHja7Zp7bJXnfcc/z/u+5+orvoFtzMUEAyE0EEJoKGSUtV0ICpSum1C3IlVpw9ROm0gUrd2apkSt1NJItEq1PyylFY3SpZ3S1MlIOxjNVujCJawlwgQbYwzG9vHt+Pjcz3kvv/3h57gHasBc1q2av9IjX97r9/u7PL/n97wwgxnMYAYzmMEMZjCDP2yIiE9EPiwiX///RPoDIvIPInJcRCSX9sTzRERk0XTvYU3zQU1AUik19r9MeB6wGfg48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S0R6wFVhVtS6mbkB8GLmoSnp6ze3UTtVdbfVyLZBfFeYFghe5EL9SGaNEbJguAevEoFQHDABRfV0p9+a58IjMFkbS21CXdb6/QITGd62KalNLx6mhyhp5q79VlbIsmuUjvGdTlM+JLjXskRl3iIy7xUZdUzCWTdHHyECwxqV/kY9GqQKa81qy8a98I3WTqSesxcJNd5pD2krXaagXrNQONCFXphEcy6jE+7DAWcYgOuET7HcYiE98MpBMTX4bkM0I+62HnBDsj5NIu8YSHYcKyB0M8uW+Or7zWrP19CFBMsLCB2awtt7jIPec4NuF0zCUedYkNOsQiLqP9NtEBh9igSyLqkkl4ZJMeuYxHPis4OQ8nD64jeK7gueB5EwWSUgrTAn/IoKLOR+MSg/p7Aqz6aAm1C3wWUC8i5s2+ErFuk2yp7hUs153jWjsrZirukRz1GIvYjPY7jPY5RPtsxoYKruqRTXnkM4KdnfjkxbUF12GCoAfiyUSwKFCGwrLAChiEKwxKyk0q6ixq5/mom+9j9kIfs+f7qW4yqai1CJYoV+eZPuDfdQ2TudtJEBGxgGgi6pVdPJ3l/LtZhi7ZRPsdxodcUjGHbMrDzgqOLbjaeuIJUqjaFRimwvIp/EFFoMSgbJZJ5RyLmrkWtU1+qhstqhosKmpNSmeZhErNtD9ExBdUPXqWOK9HN3Dldj7juy0PUEo5InLl5IHE0h8+N6z6e2wMBZZPYRgKwwBl/JZguMQgVGpQXmNR3WBR0+SjZq5FdaOPWXMsymtMSipMAiUq6vOrPstPN4ouXdJ26b3GAaVUhruMO8kBA3Oa/cse/kQZA102iolPXMprLSrrTGbNMamc7aO81qRslkm43LD9QWPICnDZtLigLdeprXcZGJrqo6r/aag7SHo/dvL8mWMLvoDCtCartoJ7dmqSF4E+pdQ4/wdxJwKs0o3THiCilMoxgxnMYAYzmMEMZjCDPxz8N1vcFjzm/UoLAAAAAElFTkSuQmCC",
'close': true,
'sticky': false,
'fadeAfter': 4,
'width': '600px',
'closeWhenClicked': true
});
}
function notifychangedmessages(notification) {
var card = notification['card'];
var changedmessages = notification['changedmessages'];
var body = "";
body += "<div style=\"padding-left:65px;\">";
for (var i in changedmessages) {
body += "<div style=\"font-weight:bold;font-size:14pt;color:#333;\">";
body += htmlEncode(changedmessages[i]['from']) + " > " + htmlEncode(card['cloudname']);
body += "</div>";
body += "<div style=\"font-size:10pt;color:#999;margin-bottom:5px;\">";
body += htmlEncode(changedmessages[i]['content']);
body += "</div>";
}
body += "</div>";
appAPI.notifier.show({
'name': 'XDI Ninja!',
'title': null,
'body': body,
'link': 'https://',
'theme': 'white-black',
'position': 'top-right',
'icon': "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gsdEDgSyUMHbwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAABBjSURBVHja7Zp7bJXnfcc/z/u+5+orvoFtzMUEAyE0EEJoKGSUtV0ICpSum1C3IlVpw9ROm0gUrd2apkSt1NJItEq1PyylFY3SpZ3S1MlIOxjNVujCJawlwgQbYwzG9vHt+Pjcz3kvv/3h57gHasBc1q2av9IjX97r9/u7PL/n97wwgxnMYAYzmMEMZjCDP2yIiE9EPiwiX///RPoDIvIPInJcRCSX9sTzRERk0XTvYU3zQU1AUik19r9MeB6wGfg48Mj4kBvu68zTdz5PtM/BF1Q88CclLFgReAx48a4IMHI5H8wkvH2pcfeibbvvW5ZxRil14vdEuBL4Y2A78NF03Ku73J6j82SW7l9nGemziQ+7xIddRiM2Vkhh+epYsCLw8bsmQCLqfKLz3cwnYsOuCoaN8Yoa69xAV+5SuML4T9c2f+y6zkhNow9lKPtuxDHwIW3hx5y8LO7rtDl/MkvHiQz953PEIg7JmEsuLdg5QYBwqUHL6hBLPhhmxcYSgE3Tfaa60cFU1FUdJ9P/8eZ3xzb0n7cJlhrUzbOoqLWcucv8qZY1oUTpLOM4GP9UUWucK68xo0qpgVuNY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qkkl4ZJMeuYxHPis4OQ8nD64jeK7gueB5EwWSUgrTAn/IoKLOR+MSg/p7Aqz6aAm1C3wWUC8i5s2+ErFuk2yp7hUs153jWjsrZirukRz1GIvYjPY7jPY5RPtsxoYKruqRTXnkM4KdnfjkxbUF12GCoAfiyUSwKFCGwrLAChiEKwxKyk0q6ixq5/mom+9j9kIfs+f7qW4yqai1CJYoV+eZPuDfdQ2TudtJEBGxgGgi6pVdPJ3l/LtZhi7ZRPsdxodcUjGHbMrDzgqOLbjaeuIJUqjaFRimwvIp/EFFoMSgbJZJ5RyLmrkWtU1+qhstqhosKmpNSmeZhErNtD9ExBdUPXqWOK9HN3Dldj7juy0PUEo5InLl5IHE0h8+N6z6e2wMBZZPYRgKwwBl/JZguMQgVGpQXmNR3WBR0+SjZq5FdaOPWXMsymtMSipMAiUq6vOrPstPN4ouXdJ26b3GAaVUhruMO8kBA3Oa/cse/kQZA102iolPXMprLSrrTGbNMamc7aO81qRslkm43LD9QWPICnDZtLigLdeprXcZGJrqo6r/aag7SHo/dvL8mWMLvoDCtCartoJ7dmqSF4E+pdQ4/wdxJwKs0o3THiCilMoxgxnMYAYzmMEMZjCDPxz8N1vcFjzm/UoLAAAAAElFTkSuQmCC",
'close': true,
'sticky': false,
'fadeAfter': 4,
'width': '600px',
'closeWhenClicked': true
});
}
appAPI.ready(function($) {
appAPI.message.addListener(function(msg) {
if (msg.type === 'notifychangedvalues') notifychangedvalues(msg.notification);
if (msg.type === 'notifychangedmessages') notifychangedmessages(msg.notification);
});
});