Created
January 6, 2020 16:06
-
-
Save klaszlo8207/5b02924ef5f693aaeea6f1e9933c3494 to your computer and use it in GitHub Desktop.
Linkedin auto connect js script Firefox
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
/* | |
Navigate to: | |
https://www.linkedin.com/mynetwork/ | |
then on Firefox press F12 and copy/paste this code + enter | |
*/ | |
setInterval(() => { | |
var elems = document.querySelectorAll('[data-control-name="invite"]'); | |
for(var i = 0; i<elems.length; i++) { | |
elems[i].click(); | |
} | |
window.scrollTo(0, document.body.scrollHeight) | |
window.scrollTo(document.body.scrollHeight, 0) | |
window.scrollTo(0, document.body.scrollHeight) | |
}, 5e3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment