Created
May 10, 2023 18:06
-
-
Save fineanmol/93108ef4fb7fd0af27420b83511dbf0a to your computer and use it in GitHub Desktop.
If you want to accept all invitations , input this in the console
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
If you want to accept all invitations , input this in the console | |
This has a delay of 2 Seconds on Every Invitation | |
var x = document.querySelectorAll('button.artdeco-button--secondary'); | |
for (var i = 0; i < x.length; i++) { | |
setTimeout(function(idx) { | |
if (x[idx]) { | |
x[idx].click(); | |
} | |
}, 2000 * i, i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment