Ignoriere /watch Links
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user