{"slug": "userscript-to-update-youtube-s-save-to-playlist-with-a-hotkey-sorting-and-of", "title": "Userscript to update Youtube's Save to Playlist with a hotkey, sorting and filtering of available playlists.", "summary": "This userscript enhances YouTube's \"Save to Playlist\" dialog by adding a hotkey (the 'p' key) to open it and by sorting playlists so that those already containing the current video appear at the top. It also introduces a real-time filter input field that allows users to type text to narrow down the list of displayed playlists. The script is designed for users with a userscript manager like Tampermonkey or Violentmonkey.", "body_md": "YouTube “Save to Playlist” Enhancer This userscript adds a convenient hotkey p to YouTube, which opens the Save to Playlist dialog on the currently playing video. It also sorts and filters your playlists in a more useful way. Just the way it should have been fron the start. Features Hotkey: p Press p (without Ctrl, Alt, or Meta) on any YouTube watch page to open the Save to Playlist dialog. Sorting Any playlists that the current video is already in will be shown at the top. All other playlists are displayed in alphabetical order (0-9,A–Z). Filter Input Just below the “Save video to…” text, the script adds an input box (in focus automatically). If empty: all playlists are shown (with already-added ones on top). If any text is typed: only those playlists whose name contains the typed letters are displayed. ESC Key Pressing Escape closes (exits) the Save to Playlist dialog. How It Works Auto-Injection When the “Save to Playlist” dialog appears, the script automatically inserts a small input field right below the text “Save video to…”. Immediate Focus The script focuses that new input field so you can start typing to filter playlists immediately. Filtering As soon as you type text into the input, the list updates in real-time, showing only matching playlist titles. Sorting Only Once Each time the dialog is opened, the script sorts the list. It does not attempt to re-sort if you check/uncheck a playlist; however, closing and reopening the dialog will re-sort. Installation Install a userscript manager such as Install Tampermonkey (https://www.tampermonkey.net) or Violentmonkey. Create a new script and copy/paste the code from this repository - or follow this link to install. Go to YouTube and verify you see the userscript log messages in the console (optional). Press p while watching any video to open the “Save to Playlist” dialog!", "url": "https://wpnews.pro/news/userscript-to-update-youtube-s-save-to-playlist-with-a-hotkey-sorting-and-of", "canonical_source": "https://gist.github.com/f-steff/4d765eef037e9b751c58d43490ebad62", "published_at": "2025-01-01 02:21:46+00:00", "updated_at": "2026-05-22 16:41:05.375418+00:00", "lang": "en", "topics": ["developer-tools", "products"], "entities": ["YouTube"], "alternates": {"html": "https://wpnews.pro/news/userscript-to-update-youtube-s-save-to-playlist-with-a-hotkey-sorting-and-of", "markdown": "https://wpnews.pro/news/userscript-to-update-youtube-s-save-to-playlist-with-a-hotkey-sorting-and-of.md", "text": "https://wpnews.pro/news/userscript-to-update-youtube-s-save-to-playlist-with-a-hotkey-sorting-and-of.txt", "jsonld": "https://wpnews.pro/news/userscript-to-update-youtube-s-save-to-playlist-with-a-hotkey-sorting-and-of.jsonld"}}