Last active
May 6, 2021 16:19
-
-
Save abhisheksarkar30/56be12e1f6692b5baadc61a1545c1a95 to your computer and use it in GitHub Desktop.
Withdraw all pending sent invitations from LinkedIn automatically in bulk. Usage: - Go to https://www.linkedin.com/mynetwork/invitation-manager/sent/ - Open DevInspector, paste the script to the console, hit Enter to execute the script and the desired action.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var button1 = document.getElementsByClassName("invitation-card__action-btn artdeco-button artdeco-button--muted artdeco-button--3 artdeco-button--tertiary ember-view") | |
var button2 = document.getElementsByClassName("artdeco-modal__confirm-dialog-btn artdeco-button artdeco-button--2 artdeco-button--primary ember-view") | |
setInterval(()=>{ | |
for(var i=0;i<button1.length;i++){ | |
button1[i].click() | |
while(button2.length > 0) { | |
button2[0].click() | |
break | |
} | |
}},1000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Glad to see it being much useful to you. :)