Birincisi
var say = 0;
var limit = 1000
var takipyap = setInterval(function() {
$(".ProfileCard-bio.u-dir:empty").each(function(){
$(this).parents(".Grid-cell.u-size1of2.u-lg-size1of3.u-mb10").remove();
});
$('div.not-following:not(.protected) > button.js-follow-btn').each(function(){
$(this).click();
if(say++ >= limit){
clearInterval(takipyap);
window.alert(limit+' kisi basariyla takip edildi.')
return false;
}
$(".message-text > a").each(function(){
if ($('.alert-messages').css('top') === '46px') {
clearInterval(takipyap);
clearInterval(asagi);
clearInterval(yukari);
}
})
});
}, 1000);
setInterval(function() {
$(".Grid-cell.u-size1of2.u-lg-size1of3.u-mb10").remove();
}, 60000);
var asagi = setInterval(function() {
$(window).scrollTop(0,document.body.scrollBottom);
},10009);
var yukari = setInterval(function() {
window.scrollTo(0,document.body.scrollHeight);
},1000);
İkincisi
__cnt__ = 0;
jQuery('.stream span.button-text, span.follow-text').each(function (i, ele) {
ele = jQuery(ele);
if (ele.css('display') != 'block') {
console.log('already following:', i);
return;
}
setTimeout(function () {
ele.click();
}, __cnt__++ * 500);
});