Widget:TabbedCoins2: Unterschied zwischen den Versionen

Aus Kryptowiki - Die freie Enzyklopädie der Kryptowährungen
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 9: Zeile 9:
s.type = "text/javascript";
s.type = "text/javascript";
s.async = true;
s.async = true;
var theUrl = baseUrl+'serve/v1/coin/multi?fsyms=XRP,XMR,DASH,XEM,ZEC&tsyms=EUR,GOLD,USD';
var theUrl = baseUrl+'serve/v1/coin/multi?fsyms=ZEC,DASH,XMR,XEM,XRP&tsyms=EUR,GOLD,USD';
s.src = theUrl + ( theUrl.indexOf("?") >= 0 ? "&" : "?") + "app=" + appName;
s.src = theUrl + ( theUrl.indexOf("?") >= 0 ? "&" : "?") + "app=" + appName;
embedder.parentNode.appendChild(s);
embedder.parentNode.appendChild(s);
})();
})();
</script>
</script>

Version vom 13. August 2017, 13:18 Uhr

<script type="text/javascript"> baseUrl = "https://widgets.cryptocompare.com/"; var scripts = document.getElementsByTagName("script"); var embedder = scripts[ scripts.length - 1 ]; (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/v1/coin/multi?fsyms=ZEC,DASH,XMR,XEM,XRP&tsyms=EUR,GOLD,USD'; s.src = theUrl + ( theUrl.indexOf("?") >= 0 ? "&" : "?") + "app=" + appName; embedder.parentNode.appendChild(s); })(); </script>