Forked from michaelvickersuk/remove-all-linkedin-connections.js
Created
October 22, 2022 18:42
-
-
Save mykeln/51ca1a9c3c8711f4bf801683970dbd43 to your computer and use it in GitHub Desktop.
Delete all the network connections from your LinkedIn account
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
/* | |
1. Log into your LinkedIn account | |
2. Select My Network > Connections (https://www.linkedin.com/mynetwork/invite-connect/connections/) | |
3. Open the console (F12) | |
4. Copy the below and paste into the console | |
5. Press enter and your connections will be removed one by one | |
*/ | |
setInterval(function () { | |
document.querySelectorAll('[aria-label^="More actions for"]')[0].click(); | |
}, 250); | |
setInterval(function () { | |
document.querySelectorAll('[class="mn-connection-card__dropdown-option-icon"]')[0].click(); | |
}, 250); | |
setInterval(function () { | |
document.querySelectorAll('[aria-label^="Remove "]')[0].click(); | |
}, 250); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment