Created
February 15, 2017 22:19
-
-
Save jonnymaceachern/465bb3fa2223893840785fd90c2e82ec to your computer and use it in GitHub Desktop.
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
javascript:function removeSubscriptions() { var subs = $('.subscription-box .remove.active'); subs.each( function(i, v) { setTimeout( function() { $(this).trigger('click'); console.log('Unsubscribing... (' + (i+1) + '/' + (subs.length + 1) +')'); }.bind(this), i * 500); }); } removeSubscriptions(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment