Skip to content

Instantly share code, notes, and snippets.

@peymanmajidi
Created November 22, 2020 16:43
Show Gist options
  • Save peymanmajidi/2b2b0047f7b8caefe2fa221c0c77ebb9 to your computer and use it in GitHub Desktop.
Save peymanmajidi/2b2b0047f7b8caefe2fa221c0c77ebb9 to your computer and use it in GitHub Desktop.
Auto Accept LinkedIn Following Request
var x = document.querySelectorAll("[aria-label^='Accept']");
for (var i = 0; i < x.length; i++) {
x[i].click();
}
@movahhedi
Copy link

movahhedi commented Jun 1, 2024

document.querySelectorAll("[aria-label^='Accept']").forEach((e) => e.click());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment