Created
November 7, 2022 15:24
-
-
Save ann0nip/c9a33374f60b675f96abb04e6692e56f to your computer and use it in GitHub Desktop.
Automate accept LinkedIn invitations 🤖
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
(async () => { | |
function sleep(ms) { | |
return new Promise((resolve) => setTimeout(resolve, ms)); | |
} | |
const acceptButtons = document.querySelectorAll('[aria-label*="Accept"]'); | |
for (const acceptButton of acceptButtons) { | |
acceptButton.click() | |
await sleep(2000); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
VIDEO: https://youtu.be/iicMLIwVtg8
Steps:
Go to the invitations page: https://www.linkedin.com/mynetwork/invitation-manager/
Open the developer console tool => (Ctrl+Shift+J(Windows) || ⌘+⌥+I (Mac os)).
Copy the code and paste it into the console.
Press Enter and wait.