Skip to content

Instantly share code, notes, and snippets.

@bmatusiak
Created November 2, 2024 16:44
Show Gist options
  • Save bmatusiak/035bb3c0aea9c6b1f78e929bc36e771d to your computer and use it in GitHub Desktop.
Save bmatusiak/035bb3c0aea9c6b1f78e929bc36e771d to your computer and use it in GitHub Desktop.
facebook-friend-remover.js
console.log("ok")
window.startRemover = function(){
setTimeout(function() {
$('[aria-label="Friends"]')[0].scrollIntoView();
$('[aria-label="Friends"]')[0].click()
setTimeout(function() {
$('[role="menu"]').find("span").last().click()
setTimeout(function() {
$('[aria-label="Confirm"]').find("span").last().click()
setTimeout(function() {
window.startRemover();//restart
}, 500);
}, 500);
}, 500);
}, 500);
}
$("body").toString()
window.$ = jQuery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment