Skip to content

Instantly share code, notes, and snippets.

@thdxr
Created November 8, 2023 02:28
Show Gist options
  • Save thdxr/3aabf809f4e276452244fa19f48b5bc9 to your computer and use it in GitHub Desktop.
Save thdxr/3aabf809f4e276452244fa19f48b5bc9 to your computer and use it in GitHub Desktop.
Remove all linkedin connections
// Run on https://www.linkedin.com/mynetwork/invite-connect/connections/
while(true) {
document.querySelector('.mn-connection-card__dropdown-trigger').click()
await new Promise(resolve => setTimeout(resolve, 500))
document.querySelector(".artdeco-dropdown__content-inner button").click()
await new Promise(resolve => setTimeout(resolve, 500))
document.querySelector("[data-test-dialog-primary-btn]").click()
await new Promise(resolve => setTimeout(resolve, 500))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment