Skip to content

Instantly share code, notes, and snippets.

@Nick-Gabe
Nick-Gabe / linkedin-all.js
Last active September 9, 2023 02:41
Código para aceitar todas as conexões do linkedin
(function (interval = 0) {
document
.querySelectorAll('[class="artdeco-button artdeco-button--2 artdeco-button--secondary ember-view invitation-card__action-btn"]')
.forEach((btn, i) => setTimeout(() => btn.click(), i * interval));
})(1000)
// You can change the 1000, it will be the interval to avoid spamming all at once