Skip to content

Instantly share code, notes, and snippets.

View brunarafaela's full-sized avatar
🌑
* * ✵ ✺  . ✫   . . ⋆ + *   ˚ ⊹ . ⊹ ✦   · . .    · ✦  

Bruna brunarafaela

🌑
* * ✵ ✺  . ✫   . . ⋆ + *   ˚ ⊹ . ⊹ ✦   · . .    · ✦  
  • São Paulo, Brazil
View GitHub Profile
@aymericbeaumet
aymericbeaumet / delete-likes-from-twitter.md
Last active July 2, 2024 22:53
[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()
 }
@brunolemos
brunolemos / linkedin-unfollow-everyone.js
Last active February 3, 2024 05:47
Unfollow everyone on Linkedin
(() => {
let count = 0;
function getAllButtons() {
return document.querySelectorAll('button.is-following') || [];
}
async function unfollowAll() {
const buttons = getAllButtons();
@antlionguard
antlionguard / twitter-remove-retweets.js
Last active July 3, 2024 18:09
With this script, you can remove all retweets you are retweeted on Twitter.
const timer = ms => new Promise(res => setTimeout(res, ms));
// Unretweet normally
const unretweetTweet = async (tweet) => {
await tweet.querySelector('[data-testid="unretweet"]').click();
await timer(250);
await document.querySelector('[data-testid="unretweetConfirm"]').click();
console.log('****// Unretweeted Successfully //****')
}