WorldThirteen / youtube-watch-later-shortcut-ext

Browser extension to add and remove current video from the Watch Later list using a keyboard shortcut
GNU General Public License v3.0
27 stars 8 forks source link

Feature request: Specific playlist / Windows Quick Open #3

Open Electronic87 opened 1 year ago

Electronic87 commented 1 year ago

Love the extension! Is there any possibility of adding the following feature for adding a video to a specified playlist, or to have it open the "add to x playlist" window via a keyboard shortcut for quickly showing this window without having to click?

WorldThirteen commented 1 year ago

Hi @Electronic87! Thank you for suggesting the feature. I will review the possibility of adding such a feature. Personally, I also see it as useful. Can't give any estimates, but it is now on my list.

Crunchbits commented 1 year ago

If it's any help, I found this userscript that would do this by clicking icons instead of keyboard shortcuts. However, it doesn't seem to work anymore as it was last updated in 2018. Although the icons do show up, they don't work when clicked. Don't know if it's that much of a useful resource but thought I would mention it.

There's also this other userscript that does this but it only works while viewing a playlist and you have to drag videos to the wanted playlist. It works well but it uses a method that directly emulates user action so you have to wait for the dialog box.

The dev's documentation mentions some of it:

As of 2016, the Watch Later list has been depricated from YouTube's API. As a result, the only way to programatically make changes to the Watch Later list is by directly emulating user actions on the website.

I don't know if that part is still relevant given that this extension you created changes the Watch Later list without the dialog box appearing.

and

This tool relies on timers and jQuery selectors to find playlists and videos on the page. Random lag may break the script. In addition, this tool will stop working whenever YouTube's markup changes.