Skip to content

Instantly share code, notes, and snippets.

@Amm1rr
Created January 2, 2022 01:05
Show Gist options
  • Save Amm1rr/ad88a6206dc73f90f58200fbe48ea689 to your computer and use it in GitHub Desktop.
Save Amm1rr/ad88a6206dc73f90f58200fbe48ea689 to your computer and use it in GitHub Desktop.
Auto Click Unfollow Button Whounfollowedme.org
// Copy and Paste all code to web console browser on page below:
// https://whounfollowedme.org/idontfollowback
function wait(timeout) {
return new Promise(resolve => {
setTimeout(resolve, timeout);
});
}
var btn = document.getElementsByClassName("unfollowButton");
let rand = Math.round(Math.random() * 10000);
for (let index = 0; index < btn.length; index++) {
const element = btn[index];
btn[index].click();
console.log(index);
//await wait(rand);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment