From efbd16c1f05781d2e192d4e1d6b4391df8110ba9 Mon Sep 17 00:00:00 2001 From: Samidy Date: Wed, 8 Apr 2026 20:16:46 +0300 Subject: [PATCH] let genius annotation feature work in .tf --- js/lyrics.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/js/lyrics.js b/js/lyrics.js index 96a7dee..6cde9f3 100644 --- a/js/lyrics.js +++ b/js/lyrics.js @@ -74,8 +74,13 @@ class GeniusManager { this.loading = false; } + // idgaf anymore im js hardcoding this lmaooo getToken() { - return 'QmS9OvsS-7ifRBKx_ochIPQU7oejIS9Eo_z5iWHmCPyhwLVQID3pYTHJmJTa6z8z'; // idgaf anymore im js hardcoding this lmaooo + const hostname = window.location.hostname; + if (hostname.endsWith('monochrome.tf') || hostname === 'monochrome.tf') { + return 'OpITG-h86oehKYuJJ5QVY5F-HxUWXb31EwGKarx2Tle3W9rBUVnMaUL9qo_Oh9Q7'; + } + return 'QmS9OvsS-7ifRBKx_ochIPQU7oejIS9Eo_z5iWHmCPyhwLVQID3pYTHJmJTa6z8z'; } async searchTrack(title, artist) {