Skip to content

Instantly share code, notes, and snippets.

@musoftware
Last active November 10, 2020 13:08
Show Gist options
  • Save musoftware/2dbd74e5ffdbf87ffdfd9a48871af316 to your computer and use it in GitHub Desktop.
Save musoftware/2dbd74e5ffdbf87ffdfd9a48871af316 to your computer and use it in GitHub Desktop.
unfriends
setInterval(function(){
let outTime = 1;
for(let Xo of document.querySelectorAll('*[data-sigil="touchable are-friends-popup"]'))
{
setTimeout(function(){
Xo.click();
setTimeout(function(){
Xo.click();
document.querySelector('*[data-sigil="touchable touchable mflyout-remove-on-click m-unfriend-request"]').click();
}, 100 + (10 * (outTime)));
}, 100 + (10 * (outTime++ + 1)));
}
window.scrollTo(0,document.body.scrollHeight);
}, 5000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment