Last active
June 20, 2021 12:21
-
-
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
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
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