Skip to content

Instantly share code, notes, and snippets.

@r0mdau
Created November 29, 2014 13:08
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 r0mdau/0bdba7aabf2408721a4b to your computer and use it in GitHub Desktop.
Save r0mdau/0bdba7aabf2408721a4b to your computer and use it in GitHub Desktop.
Twitter mass following / unfollowing
//Mass following
javascript:var inputs = document.getElementsByClassName('button-text follow-text'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }
//Mass unfollowing
setInterval(function(){t=$(".following").find(".follow-button");if(!t[0]){window.scrollTo(0,$(document).height());}else{ console.log(t.attr("class")); t.trigger("click");}},100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment