Last active
August 1, 2022 09:10
-
-
Save dmlogv/7422f17592292561be7a0d5f03a344a2 to your computer and use it in GitHub Desktop.
Become a LinkedIn Hero
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
/* | |
- Open https://www.linkedin.com/mynetwork/invitation-manager/ | |
- Open a Developer console | |
- Paste code below | |
- Run it :) | |
*/ | |
document.querySelectorAll('.invitation-card__action-btn') | |
.forEach(n => n.innerText == 'Accept' && n.click()); | |
/* | |
- Or create a bookmarklet: | |
*/ | |
javascript:document.querySelectorAll('.invitation-card__action-btn').forEach(n => n.innerText == 'Accept' && n.click());void 0 |
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
/* | |
- Open https://www.linkedin.com/mynetwork/ | |
- Scroll a page down | |
- Open a Developer console | |
- Paste code below | |
- Run it :) | |
*/ | |
Array.from(document.querySelectorAll('.discover-fluid-entity-list .artdeco-button--secondary')) | |
.filter(n => n.innerText == 'Connect') | |
.sort(() => Math.random() - 0.5) | |
.slice(0, 20) | |
.forEach(n => n.click()); | |
/* | |
- Or create a bookmarklet: | |
*/ | |
javascript:Array.from(document.querySelectorAll('.discover-fluid-entity-list .artdeco-button--secondary')).filter(n => n.innerText == 'Connect').sort(() => Math.random() - 0.5).slice(0, 20).forEach(n => n.click());void 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment