Skip to content

Instantly share code, notes, and snippets.

@fmeyer
Last active June 3, 2021 12:06
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fmeyer/f074f3d997e1d326acea481682ac26ae to your computer and use it in GitHub Desktop.
Save fmeyer/f074f3d997e1d326acea481682ac26ae to your computer and use it in GitHub Desktop.
Unfollow everyone on linkedin
// Go to here https://www.linkedin.com/feed/following/?filterType=connection
// open the chrome dev tools console
// paste the following
// go grab a cup of tea
// get rid of all life coach from linkedin
var buttons = $('button'), interval = setInterval(function() {
var btn = $('.is-following');
console.log('Clicking:', btn);
btn.click();
if (buttons.length === 0) {
clearInterval(interval);
}
}, 1000);
function pageScroll() {
window.scrollBy(0,100);
scrolldelay = setTimeout(pageScroll,10);
}
pageScroll();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment