Skip to content

Instantly share code, notes, and snippets.

@immoh
Last active March 10, 2016 07:47
Show Gist options
  • Select an option

  • Save immoh/ddce9d72df9177dcfc89 to your computer and use it in GitHub Desktop.

Select an option

Save immoh/ddce9d72df9177dcfc89 to your computer and use it in GitHub Desktop.
Turn LinkedIn profile into printable CV
// View profile as what it looks like to your connections.
// Open JavaScript console and execute the following code.
// Print to PDF.
$(".endorsement-quote a.toggle-show-more[title='Show more']").each(
function() {
$(this).get(0).click()
}
)
$("#body").css("margin-top", 0)
$(".profile-top-card, .profile-background, .profile-endorsements")
.css("box-shadow", "none")
.css("-moz-box-shadow", "none")
.css("-webkit-box-shadow", "none")
$(".section-item, .background-education").css("page-break-inside", "avoid")
$("#global-error, #header, #preview-ctx, #aux, #connections, #groups, #following-container, " +
"#footer, #text-ad-container, " +
".fp-degree-icon, .profile-aux, .profile-card-extras, " +
".associated-endorsements p, .write-endorsement, .endorsements-nav, " +
".endorsement-quote a.toggle-show-more").hide()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment