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
  1. setInterval(function () { 
  2. document.querySelector('#primary button[aria-label="Action menu"]').click(); 
  3. var things = document.evaluate( 
  4. '//span[contains(text(),"Remove from")]', 
  5. document, 
  6. null, 
  7. XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, 
  8. null 
  9. ); 
  10. for (var i = 0; i < things.snapshotLength; i++) { 
  11. things.snapshotItem(i).click(); 
  12. } 
  13. }, 1000); 
View 9 other answers to this question
About · Careers · Privacy · Terms · Contact · Languages · Your Ad Choices · Press ·
© Quora, Inc. 2025