Last active
June 3, 2021 12:06
-
-
Save fmeyer/f074f3d997e1d326acea481682ac26ae to your computer and use it in GitHub Desktop.
Unfollow everyone on linkedin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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