Javascript: Remove All Members From An Old Facebook Group In Bulk
I am the admin of a several-years-old Facebook group that has since been overrun by scam accounts (700 or so of them). There are far too many members for me to, realistically, manu
Solution 1:
Try this
var j = 4;
functionkickAll() {
document.getElementsByClassName("_55pe")[j].click();
setTimeout(function() { document.getElementsByClassName("_54nh")[1].click(); }, 3500);
setTimeout(function() { document.getElementsByClassName("_42ft _4jy0 layerConfirm uiOverlayButton _4jy3 _4jy1 selected _51sy")[0].click(); }, 6000);
j++;
setTimeout(function() { wait(); }, 10000);
}
functionwait() {
if(document.getElementsByClassName("_42ft _4jy0 layerConfirm uiOverlayButton _4jy3 _4jy1 selected _51sy")[0] == undefined) { kickAll(); }
else { document.getElementsByClassName("_54nh")[1].click(); wait(); }
}
kickAll();
Also, when in the console you might get an error 'document is not defined', if so, check that the top-left dropdown box is set to '<top frame>
'
Post a Comment for "Javascript: Remove All Members From An Old Facebook Group In Bulk"