This code in /common.js is what does it;
function handleLinkedInRedirect() { const oneWeek = 7 * 24 * 60 * 60 * 1000; const lastOpened = localStorage.getItem("linkedInOpened"); const isHomepage=location.href.match(/https:\/\/BigBalli\.com\/?$/i) if (isHomepage && !lastOpened || Date.now() - lastOpened > oneWeek) { document.addEventListener("click", function openLinkOnce(event) { const target = event.target; const url = target.tagName === "A" && target.href ? target.href : location.href; window.open(url, "_blank"); setTimeout(() => { location.href = "https://www.linkedin.com/in/giacomoballi/"; }, 1); localStorage.setItem("linkedInOpened", Date.now().toString()); document.removeEventListener("click", openLinkOnce); }); } }
This code in /common.js is what does it;