bitshares-js icon indicating copy to clipboard operation
bitshares-js copied to clipboard

Referral system support

Open jcalfee opened this issue 10 years ago • 1 comments

Implement referral system without using cross-site JavaScript:

    <script>
    var BTSW = window.BTSW || {};
    (function () {
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.async = true;
    script.src = 'https://faucet.bitshares.org/widgets/6/w.js?ref='+encodeURIComponent(document.referrer);
    var entry = document.getElementsByTagName('script')[0];
    entry.parentNode.insertBefore(script, entry);
    }());
    </script>

jcalfee avatar Mar 04 '15 15:03 jcalfee

http://nfriedly.com/techblog/2010/08/how-facebook-sets-and-uses-cross-domain-cookies/

jcalfee avatar Mar 17 '15 13:03 jcalfee