Last active
March 30, 2018 20:19
-
-
Save rbrahul/3e479b0ec3a7dbbc6196f9b35a5f6a4f to your computer and use it in GitHub Desktop.
Run this script in your browser console while visiting profile page of any linked user then it will automatically endorse skills :)
This file contains hidden or 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
var endorsPlusButtons = document.querySelectorAll(".endorsable"); | |
var index = 0; | |
if (endorsPlusButtons.length) { | |
var interval = setInterval(() => { | |
if (index < (endorsPlusButtons.length)) { | |
setTimeout((indx) => { | |
endorsPlusButtons[indx].querySelector(".endorse-plus").click(); | |
}, parseInt(Math.random() * 11) * 400, index); | |
} else { | |
clearInterval(interval); | |
} | |
index++; | |
}, 700); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment