-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathexample.js
23 lines (22 loc) · 837 Bytes
/
example.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
! function() {
var e = document.getElementsByTagName("script"),
t = e[e.length - 1],
n = document.createElement("script");
function r() {
var e = crCryptocoinPriceWidget.init({
base: "USD,EUR,CNY,GBP",
items: "BTC,ETH,LTC,XMR,DASH",
backgroundColor: "FFFFFF",
streaming: "1",
rounded: "1",
boxShadow: "1",
border: "1"
});
t.parentNode.insertBefore(e, t)
}
n.src = "https://co-in.io/widget/pricelist.js?items=BTC%2CETH%2CLTC%2CXMR%2CDASH", n.async = !0, n.readyState ? n.onreadystatechange = function() {
"loaded" != n.readyState && "complete" != n.readyState || (n.onreadystatechange = null, r())
} : n.onload = function() {
r()
}, t.parentNode.insertBefore(n, null)
}();