Created
June 24, 2015 14:15
-
-
Save earlcochran/6076b079fdf58b7130e2 to your computer and use it in GitHub Desktop.
Reddit Mass Unsubscribe
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
x = $('.sidecontentbox').find('.remove'); | |
i = 0; | |
theInterval = setInterval(function(){ | |
if (i === x.length + 1) { | |
clearInterval(theInterval) | |
} else { | |
$(x[i]).click() | |
i++ | |
} | |
}, 2000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment