Skip to content

Instantly share code, notes, and snippets.

@PatrickJS
Forked from thdxr/run.js
Created November 8, 2023 05:21
Show Gist options
  • Save PatrickJS/1c37cc098413c9147eaf148bcede59fd to your computer and use it in GitHub Desktop.
Save PatrickJS/1c37cc098413c9147eaf148bcede59fd 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