Here’s the latest script that I just tested and guarantee that it works. Note that the script will likely break again as YouTube updates their code often. I grabbed this script from Github Gist. I’d recommend visiting the site directly for code updates if the below script doesn’t work for you.
Script to remove all videos from Youtube Watch Later playlist
Script to remove all videos from Youtube Watch Later playlist - Remove videos from Youtube Watch Later playlist.md
https://gist.github.com/astamicu/eb351ce10451f1a51b71a1287d36880f
- setInterval(function () {
- document.querySelector('#primary button[aria-label="Action menu"]').click();
- var things = document.evaluate(
- '//span[contains(text(),"Remove from")]',
- document,
- null,
- XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,
- null
- );
- for (var i = 0; i < things.snapshotLength; i++) {
- things.snapshotItem(i).click();
- }
- }, 1000);
21.6K views ·
View upvotes
· 1 of 10 answers
Something went wrong. Wait a moment and try again.