Skip to content

Instantly share code, notes, and snippets.

@tumugin
Last active December 5, 2016 03:05
Show Gist options
  • Save tumugin/6cfec016ee5ebfca82efb431c8c2658a to your computer and use it in GitHub Desktop.
Save tumugin/6cfec016ee5ebfca82efb431c8c2658a to your computer and use it in GitHub Desktop.
自動でフォローするやつ
var ary = [];
$(".user-actions-follow-button").each(function(){if(/フォローする/.exec(this.innerText)) ary.push(this)});
(function(){
if(ary.length == 0) return;
ary[0].click();
ary.shift();
setTimeout(arguments.callee,1000);
})();
//自動でアンフォローするやつ
var ary = [];
$(".user-actions-follow-button").each(function(){if(/フォロー中/.exec(this.innerText)) ary.push(this)});
(function(){
if(ary.length == 0) return;
ary[0].click();
ary.shift();
setTimeout(arguments.callee,1000);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment