Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a class="coinbase-widget"
- id="coinbase_widget"
- data-address=""
- data-amount="13.00"
- data-code="09759171-25a4-5c75-b748-abdee8086c30"
- data-currency="USD"
- data-crypto_currency="BTC"
- href="">Buy with Coinbase</a>
- <script type='text/javascript' id='coinbase_widget_loader' class='coinbase-widget-async-loader'>
- document.currentScript.src ='';
- (function() {
- function asyncLoad() {
- var s = document.createElement('script');
- s.type = 'text/javascript';
- s.async = true;
- var theUrl = 'https://buy.coinbase.com/static/widget.js';
- s.src = theUrl+ (theUrl.indexOf("?") >= 0 ? '&' : '?') + 'ref=' + encodeURIComponent(window.location.href);
- var embedder = document.getElementById('coinbase_widget_loader');
- embedder.parentNode.insertBefore(s, embedder);
- }
- if (window.attachEvent) {
- window.attachEvent('onload', asyncLoad);
- } else {
- window.addEventListener('load', asyncLoad, false);
- }
- })();
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement