Created
November 2, 2024 16:44
-
-
Save bmatusiak/035bb3c0aea9c6b1f78e929bc36e771d to your computer and use it in GitHub Desktop.
facebook-friend-remover.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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