Skip to content

Instantly share code, notes, and snippets.

@DarkSector
Forked from xeloader/unfollow-all.md
Created May 4, 2020 06:51
Show Gist options
  • Select an option

  • Save DarkSector/73b492b26baafae5672090314aeb3d1b to your computer and use it in GitHub Desktop.

Select an option

Save DarkSector/73b492b26baafae5672090314aeb3d1b 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