Skip to content

Instantly share code, notes, and snippets.

View dngda's full-sized avatar
💡
Redup

Danang Dwiyoga A dngda

💡
Redup
  • Yogyakarta
View GitHub Profile
@dngda
dngda / unretweet.js
Last active June 20, 2021 12:21
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)