Cara Menghapus Semua Fellow Member Grup Facebook (Dengan Cepat) 1X Klik!
Ada yang kira-kira mau gusur Orang? Maksudnya menghapus Semua fellow member Grup di Facebook dengan cepat! Bagaimana caranya?
Mudah sob! Pertama yang perlu teman siapkan adalah Komputer/PC/Laptop/Notebook, dan Koneksi Internet! Yang kedua adalah Skrip Facebook di bawah ini silahakn di re-create dulu :
var deleteAllGroupMembers = (function () { var deleteAllGroupMembers = {}; // the facebook ids of the users that volition non survive removed. // IMPORTANT: add together your ain facebook id hither in addition to then that the script volition non take yourself! var excludedFbIds = ['100014192672466']; // brand certain each id is a string! var usersToDeleteQueue = []; var scriptEnabled = false; var processing = false; deleteAllGroupMembers.start = function() { scriptEnabled = true; deleteAll(); }; deleteAllGroupMembers.stop = function() { scriptEnabled = false; }; component subdivision deleteAll() { if (scriptEnabled) { queueMembersToDelete(); processQueue(); } } component subdivision queueMembersToDelete() { var adminActions = document.getElementsByClassName('adminActions'); console.log(excludedFbIds); for(var i=0; i<adminActions.length; i++) { var gearWheelIconDiv = adminActions[i]; var hyperlinksInAdminDialog = gearWheelIconDiv.getElementsByTagName('a'); var fbMemberId = gearWheelIconDiv.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.id.replace('member_',''); var fbMemberName = getTextFromElement(gearWheelIconDiv.parentNode.parentNode.parentNode.getElementsByClassName('fcb')[0]); if (excludedFbIds.indexOf(fbMemberId) != -1) { console.log("SKIPPING "+fbMemberName+' ('+fbMemberId+')'); continue; } else { usersToDeleteQueue.push({'memberId': fbMemberId, 'gearWheelIconDiv': gearWheelIconDiv}); } } } component subdivision processQueue() { if (!scriptEnabled) { return; } if (usersToDeleteQueue.length > 0) { removeNext(); setTimeout(function(){ processQueue(); },1000); } else { getMore(); } } component subdivision removeNext() { if (!scriptEnabled) { return; } if (usersToDeleteQueue.length > 0) { var nextElement = usersToDeleteQueue.pop(); removeMember(nextElement.memberId, nextElement.gearWheelIconDiv); } } component subdivision removeMember(memberId, gearWheelIconDiv) { if (processing) { return; } var gearWheelHref = gearWheelIconDiv.getElementsByTagName('a')[0]; gearWheelHref.click(); processing = true; setTimeout(function(){ var popupRef = gearWheelHref.id; var popupDiv = getElementByAttribute('data-ownerid',popupRef); var popupLinks = popupDiv.getElementsByTagName('a'); for(var j=0; j<popupLinks.length; j++) { if (popupLinks[j].getAttribute('href').indexOf('remove.php') !== -1) { // this is the take link popupLinks[j].click(); setTimeout(function(){ var confirmButton = document.getElementsByClassName('layerConfirm uiOverlayButton selected')[0]; var errorDialog = getElementByAttribute('data-reactid','.4.0'); if (confirmButton != null) { if (canClick(confirmButton)) { confirmButton.click(); } else { console.log('This should non spill out memberid: '+memberId); 5/0; console.log(gearWheelIconDiv); } } if (errorDialog != null) { console.log("Error spell removing fellow member "+memberId); console.log(errorDialog); errorDialog.getElementsByClassName('selected layerCancel autofocus')[0].click(); } processing = false; },700); continue; } } },500); } component subdivision canClick(el) { supply (typeof el != 'undefined') && (typeof el.click != 'undefined'); } component subdivision getMore() { processing = true; to a greater extent than = document.getElementsByClassName("pam uiBoxLightblue uiMorePagerPrimary"); if (typeof to a greater extent than != 'undefined' && canClick(more[0])) { more[0].click(); setTimeout(function(){ deleteAll(); processing = false; }, 2000); } else { deleteAllGroupMembers.stop(); } } component subdivision getTextFromElement(element) { var text = element.textContent; supply text; } component subdivision getElementByAttribute(attr, value, root) { origin = origin || document.body; if(root.hasAttribute(attr) && root.getAttribute(attr) == value) { supply root; } var children = root.children, element; for(var i = children.length; i--; ) { chemical constituent = getElementByAttribute(attr, value, children[i]); if(element) { supply element; } } supply null; } supply deleteAllGroupMembers; })(); deleteAllGroupMembers.start(); // terminal the script yesteryear entering this inward the console: deleteAllGroupMembers.stop();
Sudah di copy?
Jika sudah, silahkan buka Facebook dan menuju ke grup yang bakal digusur Membernya.
Kemudian pilih Tab Member, buka Console Firefox sobat, dan Paste! Tunggu sampe selesai.
Lebih jelasnya Nonton tutorial di bawah ini!
Belum ada Komentar untuk "Cara Menghapus Semua Fellow Member Grup Facebook (Dengan Cepat) 1X Klik!"
Posting Komentar