Skip to content

Instantly share code, notes, and snippets.

@earlcochran
Created June 24, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save earlcochran/6076b079fdf58b7130e2 to your computer and use it in GitHub Desktop.
Save earlcochran/6076b079fdf58b7130e2 to your computer and use it in GitHub Desktop.
Reddit Mass Unsubscribe
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