Skip to content

Instantly share code, notes, and snippets.

@jt0in3e
Forked from mrkacan/twitterTweetUnliker.js
Last active July 26, 2023 16:36
Show Gist options
  • Save jt0in3e/9e66a0ec7f7a7f9bfbf72c57c14bf839 to your computer and use it in GitHub Desktop.
Save jt0in3e/9e66a0ec7f7a7f9bfbf72c57c14bf839 to your computer and use it in GitHub Desktop.
Twitter auto unlike tweets - Tweet unliker
//added a little randomness to the initial script
let interval = null
let count = 10000
let ntt = function(){
interval = setInterval(function(){
document.querySelectorAll('[data-testid=unlike]').forEach((t)=> {
t.click()
})
count += 1000
window.scrollTo(0, count);
},Math.floor(Math.random() * 7 * 1000) //random unlike interval between 1 and 6 sec
}
@jt0in3e
Copy link
Author

jt0in3e commented Jul 26, 2023

Updated un interval to have a little randomness

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment