Ever wanted to delete all your likes/favorites from X (Twitter) but only found broken/expensive tools? You are in the right place.
- Go to: https://x.com/{username}/likes
- Open the console and run the following JavaScript code:
/* define a function to delete likes */
function unLike() {
for (const d of document.querySelectorAll('button[data-testid="unlike"]')) {
d.click();
}
// scroll window by 500 lines
window.scrollBy(0, 500);
}
/* call it every 2000 ms (can be changed) */
var myProc = setInterval(unLike, 2000)- When the bottom is reached, type:
/* stop the process */
clearInterval(myProc)- Don't forget to checkout how to remove your tweets and retweets