Skip to content

Instantly share code, notes, and snippets.

View tahafarooqui's full-sized avatar

Taha Farooqui tahafarooqui

View GitHub Profile
@antlionguard
antlionguard / twitter-remove-likes.js
Last active April 17, 2024 23:06
With this script, you can remove all likes you are liked on Twitter.
const timer = ms => new Promise(res => setTimeout(res, ms));
setInterval(async () =>
{
const tweetsLikeButtonList = document.querySelectorAll('div[data-testid="unlike"]');
console.log('****// ' + tweetsLikeButtonList.length + 'Like Found! //****')
for (const button of tweetsLikeButtonList) {
button.scrollIntoView();
await button.click();
console.log('****// Unliked //****');