Skip to content

Instantly share code, notes, and snippets.

@theabhinavdas
Forked from xeloader/unfollow-all.md
Created March 30, 2018 21:08
Show Gist options
  • Save theabhinavdas/4ecf8989cc22d6c4f4ab38135f345306 to your computer and use it in GitHub Desktop.
Save theabhinavdas/4ecf8989cc22d6c4f4ab38135f345306 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');

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