baseUrl = "https://widgets.cryptocompare.com/"; var scriptstop = document.getElementById("cryptoindex-inner"); var cccTheme = {"General":{"background":"#011627","priceText":"#ebeef0"},"Menu":{"triggerBackground":"#465a65"}}; (function (){ var appName = encodeURIComponent(window.location.hostname); if(appName==""){appName="local";} var s = document.createElement("script"); s.type = "text/javascript"; s.async = true; var theUrl = baseUrl+'serve/v2/coin/header?fsyms=BTC,ETH,XMR,LTC&tsyms=USD,EUR,CNY,GBP'; s.src = theUrl + ( theUrl.indexOf("?") >= 0 ? "&" : "?") + "app=" + appName; scriptstop.appendChild(s); })();