I need to add a delay inside a loop into this javascript code but can't figure out how :
var hossam = document.getElementsByClassName('_42ft _4jy0 _4jy3 _517h _51sy');
for (var i = 0; i < hossam.length; i++) {
hossam[i].click();
}
alert('[hossam] ' + hossam.length + ' people are now unfollowed! >:) ');