1. Go to any profile
2. Go to the followers page
3. Open Browser console by pressing F12 and paste the following code
4. Press Enter and you can see the follow button is being clicked
NOTE: This will automatically move to next page and continue clicking the follow button for all people in the list
var followPeople = function() {
var x = document.getElementsByClassName("button slim hollow secondary ");
var i;
var followCount = 0;
for (i = 0; i < x.length; i++) {
if (x[i].innerHTML === 'Follow') {
followCount++;
x[i].click();
}
if (i == x.length - 1) {
if (followCount == 0) {
imdNextFollow();
} else {
setTimeout(function() {
nexPage();
}, 20000);
}
}
}
}
var nexPage = function() {
setTimeout(function() {
var y = document.getElementsByClassName("button tiny hollow float-right");
y[0].click();
setTimeout(function() {
followPeople();
}, 2000);
}, 20000);
};
var imdNextFollow = function() {
var y = document.getElementsByClassName("button tiny hollow float-right");
y[0].click();
setTimeout(function() {
followPeople();
}, 2000);
};
followPeople();