Load KefinTweaks scripts which don't require login/admin before users login

This commit is contained in:
HighImKevin
2026-02-09 00:11:21 -05:00
parent 7bd28d8380
commit 5c1cbd9c4e
5 changed files with 112 additions and 43 deletions
+3 -1
View File
@@ -4616,11 +4616,13 @@ In the Custom Tabs plugin, add a new tab with the following HTML content:
}
// Initialize monitoring to remove watched items from watchlist (playback + manual)
function initializePlaybackMonitoring() {
async function initializePlaybackMonitoring() {
if (playbackMonitorInitialized) {
return;
}
await window.userHelper.waitForLogin();
const maxRetries = 10;
let retries = 0;
// Use WebSocket to listen for UserDataChanged messages instead of intercepting fetch