-
-
Save s4l3h1/66564f81192f8e539e01fc1a80745e06 to your computer and use it in GitHub Desktop.
LinkedIn Unfollow All
This file contains hidden or 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
# goto https://www.linkedin.com/feed/following/ | |
# in JS console run | |
var buttons = $("button"), | |
interval = setInterval(function(){ | |
var btn = $('.is-following'); | |
console.log("Clicking:", btn); | |
btn.click(); | |
if (buttons.length === 0) { | |
clearInterval(interval); | |
} | |
window.scrollTo(0,document.body.scrollHeight); | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment