Last active
June 8, 2023 19:57
-
-
Save ajinabraham/0d160419dde600136aa0cd3336db51f4 to your computer and use it in GitHub Desktop.
General Security Reminder: Do not run code shared by anyone on browser console, unless you know what the code is doing!
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
// 1. Go to https://www.linkedin.com/feed/following/?filterType=member | |
// 2. Select the ALL filter to see people you follow | |
// 3. Open console, paste the following and press enter | |
function massUnfollow(){ | |
var buttons = document.getElementsByClassName('is-following') | |
for (let i = 0; i < buttons.length; i++) { | |
buttons[i].click() | |
} | |
} | |
setInterval(function(){ | |
massUnfollow() | |
setTimeout(function(){ | |
window.scrollTo(0,document.body.scrollHeight); | |
}, 2000); | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment