Skip to content

Instantly share code, notes, and snippets.

@titomus

titomus/autofollow.js

Last active Jun 29, 2017
Embed
What would you like to do?
Comment récupérer des followers sur Twitter en semi automatique... grâce à Chrome
setInterval(function() { window.scrollTo(0, document.body.scrollHeight); }, 5000);
__count__=0;
jQuery('.Grid-cell .not-following .follow-text').each(function (i, ele) {
ele = jQuery(ele);
if (ele.css('display')!='block') {
console.log('deja suivi:', i);
return;
} setTimeout(function () {
ele.click();
}, __count__++*500);
});
@titomus

This comment has been minimized.

Copy link
Owner Author

@titomus titomus commented Jun 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment