Skip to content

Instantly share code, notes, and snippets.

@tannerlinsley
Created July 12, 2019 15:43
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tannerlinsley/91a8935c61314d0612f40a4802e8cc5f to your computer and use it in GitHub Desktop.
Save tannerlinsley/91a8935c61314d0612f40a4802e8cc5f to your computer and use it in GitHub Desktop.
A script for removing LinkedIn connections automatically
function removeFirstConnection () {
$('[type=ellipsis-horizontal-icon]').first().click()
setTimeout(() => {
$('.js-mn-connection-card__dropdown-delete-btn > button').click()
setTimeout(() => {
$('[data-control-name="confirm_removed"]').click()
}, 250)
}, 250)
}
setInterval(removeFirstConnection, 600)
@varunchandak
Copy link

this seems outdated. Any luck with an updated version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment