Want to unfollow everyone on twitter?
In Chrome, right-click and go to Inspect Element. Then click on the Console tab. Or hit: Shift+Cmd+j
window.setInterval(() => {
var count = 0
// Click all of the Following links
document.querySelectorAll('span').forEach(span => {
if (span.innerText === 'Following') { span.click() }
})
// Confirm the Unfollow
document.querySelectorAll('span').forEach(span => {
if (span.innerText === 'Unfollow') {
span.click()
count +=1
}
})
console.log("Unfollowed " + count)
// Now reload!
window.scrollBy(0, 10000)
}, 4000)
You might need to do it a few times. It gets confused.
it's not working for me :(