Delete My Data

This will remove leaderboard entries associated with this device/browser. We identify a device using a cookie called pt_id.

Can’t delete here?

If the button above doesn’t work in your environment, email prematuretap@gmail.com with your display name/handle and (optionally) the dates to remove. We’ll take care of it.

// handle redirect, if any if (/[?&](code|error)=/.test(location.search)) { try { await auth0.handleRedirectCallback(); } catch (e) {} history.replaceState({}, '', location.pathname); } const btn = document.getElementById('deleteBtn'); const msg = document.getElementById('msg'); btn.onclick = async () => { const isAuth = await auth0.isAuthenticated(); if (!isAuth) { await auth0.loginWithRedirect(); return; } try { const token = await auth0.getTokenSilently(); const res = await fetch('/api/data-delete', { method:'POST', headers:{ Authorization:`Bearer ${token}` } }); const j = await res.json(); msg.textContent = j.ok ? `Deleted ${j.deleted} record(s).` : (j.error || 'Failed.'); } catch (e) { msg.textContent = 'Error deleting data.'; console.error(e); } }; })();