From ce682e2fcaff12149ddb55578b095217e869c186 Mon Sep 17 00:00:00 2001 From: Henry Davies Date: Wed, 7 Jan 2026 21:46:07 +0000 Subject: [PATCH] feat: remove debug info --- src/web/callback.html | 134 ++++++++++++++++---------------------- src/web/callbackScript.js | 4 -- src/web/index.html | 6 -- src/web/script.js | 4 -- 4 files changed, 55 insertions(+), 93 deletions(-) diff --git a/src/web/callback.html b/src/web/callback.html index ca458f1..760d9d2 100644 --- a/src/web/callback.html +++ b/src/web/callback.html @@ -1,82 +1,58 @@ - - - - Spotify Authorization Callback - - - -
-

🎵 Spotify Authorization

- -
-

Username:

-

Current URL:

-

Page Loaded:

-
- -
-

State Parameter

- -
-
- - - + + + + Spotify Authorization Callback + + + +
+

🎵 Spotify Authorization

+ +
+

State Parameter

+ +
+
+ + + diff --git a/src/web/callbackScript.js b/src/web/callbackScript.js index 69373e0..a1cd28d 100644 --- a/src/web/callbackScript.js +++ b/src/web/callbackScript.js @@ -1,7 +1,3 @@ -// Display debug info -document.getElementById('current-url').textContent = window.location.href; -document.getElementById('load-time').textContent = new Date().toLocaleString(); - // Extract and display the state parameter, and verify it matches the original window.addEventListener('load', function () { const urlParams = new URLSearchParams(window.location.search); diff --git a/src/web/index.html b/src/web/index.html index 3576250..05c25cd 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -95,12 +95,6 @@

Create Playlist

- -
-

Debug Info

-

Current URL:

-

Page loaded:

-
diff --git a/src/web/script.js b/src/web/script.js index 4183aa9..834e613 100644 --- a/src/web/script.js +++ b/src/web/script.js @@ -4,10 +4,6 @@ const CONFIG = { SPOTIFY_SCOPES: 'playlist-modify-private' }; -// Debug info -document.getElementById('current-url').textContent = window.location.href; -document.getElementById('load-time').textContent = new Date().toLocaleString(); - // Generate random string on page load const state = crypto.randomUUID(); sessionStorage.setItem('state', state);