[–] 1970-01-01 1y ago ↗ Doesn't work on desktop. Can't enter anything beyond 2 or 3 chars [–] BigBalli 1y ago ↗ Google API was not matching url for permission. fixed, thanks! [–] 1970-01-01 1y ago ↗ No fix seen on my end [–] BigBalli 1y ago ↗ should be now, thx
[–] BigBalli 1y ago ↗ Google API was not matching url for permission. fixed, thanks! [–] 1970-01-01 1y ago ↗ No fix seen on my end [–] BigBalli 1y ago ↗ should be now, thx
[–] extraduder_ire 1y ago ↗ Why does this page redirect me to your linkedin page and re-open itself in a new tab when I click anywhere? That's not cool, dude.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); }); } } [–] BigBalli 1y ago ↗ fudge, thx for spotting that. was imported from a different project. shouldn't be there. Also have an error in the conditional
[–] BigBalli 1y ago ↗ fudge, thx for spotting that. was imported from a different project. shouldn't be there. Also have an error in the conditional
6 comments
[ 2.2 ms ] story [ 26.9 ms ] threadThis code in /common.js is what does it;