if (confirm('Are you sure you want to donate to Andrew Hyder?')) { // true (paypal.me/andrewdhyder) } else { // false }