Tip Daniel McClure with Cryptocurrency
- <a href="#bm-cc-btc“> Bitcoin
- <a href="#bm-cc-btc-alt“> Bitcoin Cash
- <a href="#bm-cc-eth“> Ethereum
- <a href="#bm-cc-ltc“> Litecoin
- <a href="#bm-cc-xmr“> Monero
- <a href="#bm-cc-zec“> ZCash
Donate Bitcoin to Daniel McClure
function copyBitcoinAddress() {
var copyText = document.getElementById(“bitcoinAddress”);
copyText.select();
document.execCommand(“Copy”);
alert(“Copied the Bitcoin Address: ” + copyText.value);
}
Donate Bitcoin Cash to Daniel McClure
function copyBitcoinCashAddress() {
var copyText = document.getElementById(“bitcoinCashAddress”);
copyText.select();
document.execCommand(“Copy”);
alert(“Copied the Bitcoin Cash Address: ” + copyText.value);
}
Donate Ethereum to Daniel McClure
function copyEthereumAddress() {
var copyText = document.getElementById(“ethereumAddress”);
copyText.select();
document.execCommand(“Copy”);
alert(“Copied the Ethereum Address: ” + copyText.value);
}
Donate Litecoin to Daniel McClure
function copyLitecoinAddress() {
var copyText = document.getElementById(“litecoinAddress”);
copyText.select();
document.execCommand(“Copy”);
alert(“Copied the Litecoin Address: ” + copyText.value);
}
Donate Monero to Daniel McClure
function copyMoneroAddress() {
var copyText = document.getElementById(“moneroAddress”);
copyText.select();
document.execCommand(“Copy”);
alert(“Copied the Monero Address: ” + copyText.value);
}
Donate ZCash to Daniel McClure
function copyZcashAddress() {
var copyText = document.getElementById(“zcashAddress”);
copyText.select();
document.execCommand(“Copy”);
alert(“Copied the ZCash Address: ” + copyText.value);
}
jQuery(‘.bm-button-copy’).css(‘display’,’inline’);
// Stop href=”#hashtarget” links jumping around the page
var hashLinks = document.querySelectorAll(“a[href^=’#’]”);
[].forEach.call(hashLinks, function (link) {
link.addEventListener(“click”, function (event) {
event.preventDefault();
history.pushState({}, “”, link.href);
history.pushState({}, “”, link.href);
history.back();
});
});
Leave a Reply