1
0

Ignoriere /watch Links

This commit is contained in:
Akamaru
2025-10-06 21:39:49 +02:00
parent 757b576400
commit 3f4a5f7056

View File

@@ -58,8 +58,8 @@
return true; return true;
} }
// Prüfe ob wir auf einer Playlist-Seite sind // Prüfe ob wir auf einer echten Playlist-Seite sind (nicht watch)
if (!window.location.href.includes('playlist?list=')) { if (!window.location.pathname.includes('/playlist') || !window.location.href.includes('list=')) {
console.log('[Playlist Duration] Nicht auf Playlist-Seite'); console.log('[Playlist Duration] Nicht auf Playlist-Seite');
return false; return false;
} }