Skip to content

Instantly share code, notes, and snippets.

@johnmcdowall
Forked from thdxr/run.js
Created November 8, 2023 02:52
Show Gist options
  • Save johnmcdowall/5b83021ad668a5df2e5c0ab62478d823 to your computer and use it in GitHub Desktop.
Save johnmcdowall/5b83021ad668a5df2e5c0ab62478d823 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