Skip to content

Instantly share code, notes, and snippets.

@kof
Last active July 8, 2017 10:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kof/5a0c1c47a679af568181ff2067b7697e to your computer and use it in GitHub Desktop.
Save kof/5a0c1c47a679af568181ff2067b7697e to your computer and use it in GitHub Desktop.
Confirm all skills at linkedin
var expander = document.querySelector('[data-control-name="skill_details"][aria-expanded="false"]')
if (expander) expander.click()
;[].slice.apply(document.querySelectorAll('button[data-control-name="endorse"]')).forEach((btn) => {
btn.click()
})
@kof
Copy link
Author

kof commented Jul 4, 2017

Scroll down to the skills section and paste this in the console - it will expand the skills list and confirm them all :)

@hawkins
Copy link

hawkins commented Jul 5, 2017

This is so dirty - thank you

Now maybe sneak this in some PRs for popular browser extensions? ;)

@kof
Copy link
Author

kof commented Jul 8, 2017

haha, yes!

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