Skip to content

Instantly share code, notes, and snippets.

@dngda
Last active June 20, 2021 12:21
Show Gist options
  • Save dngda/755174bb51c14f1d01bbc26ab4140928 to your computer and use it in GitHub Desktop.
Save dngda/755174bb51c14f1d01bbc26ab4140928 to your computer and use it in GitHub Desktop.
Get rid of retweeted tweet from your twitter profile. Just copy paste in console
let count = 10000
let unretweet = () => {
let interval = setInterval(function(){
document.querySelectorAll('[data-testid=unretweet]').forEach((t)=> {
t.click()
document.querySelector('[data-testid=unretweetConfirm]').click()
})
count += 1000
window.scrollTo(0, count);
}, 1000)
}
unretweet()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment