Files
website/script.js
2025-08-03 16:09:21 -07:00

12 lines
374 B
JavaScript

const $ = (id) => document.getElementById(id);
const infoContainer = $("contact-info-container");
infoContainer.addEventListener("click", () => {
fetch("contact-info.obfuscated")
.then((response) => response.text())
.then((text) => {
infoContainer.innerHTML = atob(text);
infoContainer.classList.remove("cover");
});
});