Skip to content

Instantly share code, notes, and snippets.

View clippyspeaks's full-sized avatar
🤓
Doing things.

clippy speaks. clippyspeaks

🤓
Doing things.
View GitHub Profile
@LaruYan
LaruYan / unfavTimer.js
Last active March 14, 2023 18:52
Unfavourite Tweet button clicker (scrolls through and unlike/unfavourite tweets from your own likes/favourites only)
var unfavTweetsTimer = null;
var doUnfavTweetsFn = () => {
clearInterval(unfavTweetsTimer);
Array.from(document.querySelectorAll('article[data-testid="tweet"] div[data-testid="unlike"]'))
.forEach(unlikeBtn => {
unlikeBtn.click();
})
window.scrollTo({
top: document.body.scrollHeight,
left: 0,
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active June 16, 2024 21:36
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. Open the console and run the following JavaScript code:
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    d.click()
 }