Skip to content

Instantly share code, notes, and snippets.

@dev7060
Forked from xeloader/unfollow-all.md
Created September 22, 2021 10:11
Show Gist options
  • Save dev7060/60bc8ea2eac7330e7b2198d52be4141b to your computer and use it in GitHub Desktop.
Save dev7060/60bc8ea2eac7330e7b2198d52be4141b to your computer and use it in GitHub Desktop.
Unfollow everyone on LinkedIn

Unfollow everyone on Social Media

Unfollow everyone on LinkedIn

LinkedIn is even more clickbait than Facebook nowadays. Adios. 💣

Visit https://www.linkedin.com/feed/following/

Scroll down to load all of your contacts

Open developer console, run the following

$('.follow.is-following').trigger('click');

Reverse the unfollows by visiting https://www.linkedin.com/feed/followers/

and run the following in the developer console

$('.follow:not(.is-following)').trigger('click');

Unfollow everyone on Twitter

Twitter, hejdå friend. 💔

Visit https://twitter.com/following

Scroll down to load all of your follows

Open developer console, run the following

var oldies = $('.ProfileCard .ProfileCard-screennameLink').text().replace(/\s/g, "").split("@").join("\n@").split("\n"); // for backup reasons
var unfollowBtns = $('.ProfileCard .following .follow-button > button.following-text');
unfollowBtns.trigger('click');

Reversing the unfollows by doing

var followBtns = $('.ProfileCard .not-following .follow-button > button.follow-text');
followBtns.trigger('click');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment