SHOW:
|
|
- or go back to the newest paste.
| 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 | } |