Created
June 11, 2015 18:02
-
-
Save Axfan/6f8ce825182fcf70af8a to your computer and use it in GitHub Desktop.
Clear the InstaSync playlist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var playlist_length = $("#playlist li").length; | |
var videosRemoved = 0; | |
setInterval(function() { | |
if (videosRemoved < playlist_length) { | |
$(".remove-video")[0].click(); | |
videosRemoved++; | |
} | |
}, 250); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment