Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cover image for Automate LinkedIn Invites To Be Withdrawn
Desmond Gilmour
Desmond Gilmour

Posted on • Edited on

     

Automate LinkedIn Invites To Be Withdrawn

All sales begin with Social selling

It's true. Most prospects you interact with nowadays will probably have seen your posts or posts from someone else from your company on LinkedIn. Now, similar to me, I'm guessing you are mass connecting with everyone and their mother from the company you are prospecting... eventually these connection requests begin adding up, and the next thing you know, you have over 2000 pending requests.

Luckily, you can automate the cleanup of these requests.

  1. Navigate tohttps://www.linkedin.com/mynetwork/invitation-manager/sent/

  2. Open the developer console (right-click and inspect and then choose the console tab)

  3. Enter this snippet of code into the console and wait

var firstButton = document.getElementsByClassName("invitation-card__action-btn artdeco-button artdeco-button--muted artdeco-button--3 artdeco-button--tertiary ember-view")var secondButton = document.getElementsByClassName("artdeco-modal__confirm-dialog-btn artdeco-button artdeco-button--2 artdeco-button--primary ember-view")setInterval(()=>{    for(var i=0;i<firstButton.length;i++){        firstButton[i].click()        secondButton[0].click()    }},1500)
Enter fullscreen modeExit fullscreen mode

It should look something similar to this.

Console on LinkedIn

If you plan to continue your tasks, this code can run in the background. This code has helped me, whether I am mass-adding recruiters, prospects, or people at companies I would like to work for.

Good luck, and thank you for reading.

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

  • Joined

Trending onDEV CommunityHot

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp