-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.min.html
More file actions
27 lines (27 loc) · 885 Bytes
/
example.min.html
File metadata and controls
27 lines (27 loc) · 885 Bytes
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
<!doctype html>
<html lang="en">
<head></head>
<body></body>
<script>
(function (w, h, s, p, r, m, i, n) {
if (w[p]) return;
m = 1 * new Date();
w[p] = {};
w[p].t = m;
r = h.getElementsByTagName(s)[0];
i = h.createElement(s);
i.async = true;
i.src = 'https://whisper.vorobalek.dev/core.min.js?_=' + m;
i.onload = function () {
n = Whisper.getPrototype(console);
n.initialize({
serverUrl: 'https://whisper-srv.vorobalek.dev',
signingKeyPair: n.generateSigningKeyPair(),
}).then((x) => {
w[p] = x;
});
};
r.parentNode.insertBefore(i, r);
})(window, document, 'script', 'whisper');
</script>
</html>