From 0ccf0427400a517934516cea01b3fce4b5e00281 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 24 Apr 2026 02:28:12 +0000 Subject: [PATCH] fix: HTML entity bug in apology copy label, remove dead userBest variable, simplify villain DP formatting Agent-Logs-Url: https://github.com/nitrocode/token-deathclock/sessions/2eacf186-a628-4cc9-80bd-fc2f95d04699 Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com> --- script.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/script.js b/script.js index b224333..41c8a4a 100644 --- a/script.js +++ b/script.js @@ -2991,7 +2991,7 @@ if (copyBtn) { copyBtn.addEventListener('click', () => { const text = apologyText + '\nā The AI Industry, collectively\n\n\u2192 ' + SITE_URL; - copyToClipboard(copyBtn, text, '\uD83D\uDCCB Copy & Send to Your AI Vendor'); + copyToClipboard(copyBtn, text, '\uD83D\uDCCB Copy & Send to Your AI Vendor'); }); } @@ -3185,7 +3185,6 @@ function updateVillainLeaderboard() { const userDp = acc.doomPoints; - const userBest = acc.bestScore > 0 ? acc.bestScore * (1 / 1_000_000) : 0; const userTitle = getVillainRankTitle(userDp); // Update rank banner @@ -3210,11 +3209,7 @@ tr.innerHTML = '