Youtube Save to... playlist incremental search

This script injects a search field into the dialog where user can save a video to a playlist. When the user starts to type an incremental search is implemented and the playlists are filtered out

ئاپتورى
Jaq Drako
بۈگۈن قاچىلانغىنى
1
جەمئىي قاچىلانغىنى
184
باھا نومۇرى
8 0 0
نەشرى
1.2
قۇرۇلغان ۋاقتى
2019-11-08
يېڭىلانغان ۋاقتى
2023-09-05
ئىجازەتنامىسى
يوق
قوللايدىغىنى

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.