Skip to content

Instantly share code, notes, and snippets.

View Thyrst's full-sized avatar

Daniel Melo Thyrst

View GitHub Profile
@Thyrst
Thyrst / unfollow.js
Last active March 21, 2023 20:47 — forked from JamieMason/unfollow.js.md
Unfollow everyone who doesn't follow back on twitter.com
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
// https://gist.github.com/JamieMason/7580315
//
// 1. Go to https://twitter.com/YOUR_USER_NAME/following
// 2. Open the Developer Console. (COMMAND+ALT+I on Mac)
// 3. Paste this into the Developer Console and run it
//
// Last Updated: 21 March 2023
(() => {
const followButtonQuery = '[data-testid$="-unfollow"]';