Skip to content

Instantly share code, notes, and snippets.

@mrkacan
Created August 23, 2019 10:58
Show Gist options
  • Save mrkacan/0f658de1cd86724cfe953fa6e22eea0a to your computer and use it in GitHub Desktop.
Save mrkacan/0f658de1cd86724cfe953fa6e22eea0a to your computer and use it in GitHub Desktop.
Twitter auto un retweet tweets - Tweet unliker
let interval = null
let count = 10000
let ntt = function(){
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)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment