email_me.js 442 B

12345678910
  1. const address = "20u21c24h10w23i24 4t13s15s9 3p1";
  2. const footerEmail = document.getElementById("footer-email");
  3. const footerDate = document.getElementById("footer-date");
  4. if (footerEmail) {
  5. const decoded = decode(address).split(" ");
  6. footerEmail.href = "mailto:"+decoded[0]+"@"+decoded[1]+"."+decoded[2];
  7. footerEmail.textContent = decoded[0]+"@"+decoded[1]+"."+decoded[2];
  8. footerDate.textContent = new Date().getFullYear();
  9. }