YouTube Save to playlist incremental search

Adds search + A–Z sorting + larger popup to the "Save to playlist" dialog. Lets you quickly filter your playlists, and keeps the popup usable without closing on input click. Rewritten in vanilla JS (no jQuery) to work under YouTube's Trusted Types CSP.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Jaq Drako
今日安裝
0
安裝總數
285
評價
16 0 1
版本
1.8
建立日期
2019-11-08
更新日期
2026-07-28
尺寸
10.5 KB
授權條款
MIT
腳本執行於

UPDATE 2026-07-28: fixed popup height on first opening

UPDATE 2026-07-26: fixed for YouTube's Trusted Types + new popup layout

YouTube's new Trusted Types policy broke the bundled jQuery (innerHTML is now blocked), and the "Save to playlist" popup DOM was renamed again. Rewrote the script in dependency-free vanilla JS (no more jQuery, no innerHTML) and re-anchored the selectors on the playlist rows so it survives future layout changes. Also fixed the search box keeping its old term when reopening the popup.

You no longer need the "Trusted-Types Helper" userscript for this script. Update and hard-refresh YouTube (Ctrl+F5).

UPDATE 2025-10-25: Added @updateURL and @downloadURL so Tampermonkey can automatically notify users when a new version of the script is available.
UPDATE 2025-10-24: UPDATED TO Youtube 2025-10 layout!

I have 113 playlists in YouTube and I hate to scroll around to find the list I want to save a video into. Unfortunately this list is ordered by last usage date so it is not easy to find a playlist which was not used recently in a 4-5-lines-tall list.

When you press Save button on the video player page of YouTube (or at any subpage of Youtube where this same dialog is used, for example at Watch later -> Save to playlist) this script injects a search field into the save dialog. When you start typing only the playlists will be shown which contain the text you entered into the search field.