Advertisement
Guest User

Untitled

a guest
Feb 1st, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $("body").append("<script src='//cdnjs.cloudflare.com/ajax/libs/async/0.9.0/async.js'></script>");
  2. if(typeof async != 'undefined'){
  3.     follow();
  4. }
  5. else{
  6.     setTimeout(function(){
  7.         follow();  
  8.     },2000);
  9. }
  10.  
  11. function follow(){
  12.     var f = $(".not-following button.user-actions-follow-button").filter(function(){ return $(this).hasClass('dropdown-link') == false && $(this).hasClass('dropdown-toggle') == false; });
  13.     async.eachLimit(f, 20, function(u, done){
  14.         $(u).trigger('click');
  15.         setTimeout(done, 1000);
  16.     });
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement