There was an error while loading. Please reload this page.
1 parent 4ef014d commit e783b57Copy full SHA for e783b57
1 file changed
user script/yt-playlist-filter.user.js
@@ -1,7 +1,7 @@
1
// ==UserScript==
2
// @name YouTube Save to Playlist filter
3
// @namespace fred.vatin.yt-playlists-filter
4
-// @version 1.1.1
+// @version 1.1.2
5
// @description Tap P key to open the “save to playlist” menu where your can type to filter
6
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
7
// @author Fred Vatin, Flemming Steffensen
@@ -310,7 +310,10 @@
310
* isPlayer('https://youtu.be/dQw4w9WgXcQ');
311
*/
312
function isPlayer(url) {
313
- if (url.startsWith("https://www.youtube.com/watch?v=")) {
+ if (
314
+ url.startsWith("https://www.youtube.com/watch?v=") ||
315
+ url.startsWith("https://www.youtube.com/live/")
316
+ ) {
317
console.log("✅ Player detected !");
318
return true;
319
} else {
0 commit comments