Skip to content

Instantly share code, notes, and snippets.

View AttiliaTheHun's full-sized avatar

AttilaTheHun AttiliaTheHun

View GitHub Profile
@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active October 3, 2024 14:07
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();