Skip to content

Commit 86ed966

Browse files
committed
fix: shift+P is now ignored as expected
closes #16
1 parent d51307f commit 86ed966

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

user script/yt-playlist-filter.user.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name YouTube Save to Playlist filter
33
// @namespace fred.vatin.yt-playlists-filter
4-
// @version 1.1.8
4+
// @version 1.1.9
55
// @description Tap P key to open the “save to playlist” menu where your can type to filter
66
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
77
// @author Fred Vatin
@@ -763,6 +763,7 @@
763763
!evt.ctrlKey &&
764764
!evt.altKey &&
765765
!evt.metaKey &&
766+
!evt.shiftKey &&
766767
evt.target.tagName !== "INPUT" &&
767768
evt.target.tagName !== "TEXTAREA" &&
768769
evt.target.contentEditable !== "true"

user script/ytm-playlist-filter.user.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name YouTube Music Save to Playlist filter
33
// @namespace fred.vatin.ytm-playlists-filter
4-
// @version 1.0.2
4+
// @version 1.0.3
55
// @description Tap P key to open the “save to playlist” menu where your can type to filter
66
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
77
// @author Fred Vatin
@@ -681,6 +681,7 @@
681681
!evt.ctrlKey &&
682682
!evt.altKey &&
683683
!evt.metaKey &&
684+
!evt.shiftKey &&
684685
evt.target.tagName !== "INPUT" &&
685686
evt.target.tagName !== "TEXTAREA" &&
686687
evt.target.contentEditable !== "true"

0 commit comments

Comments
 (0)