LinkedIn Share Button

linkedin.com/plugins/share-plugin-generator

Official Implementation

HTML<body>
  <script src="//platform.linkedin.com/in.js" type="text/javascript">
    lang: en_US
  </script>
  <script type="IN/Share" data-url="http://mysite.com" data-counter="right"></script>  
</body>

Solution

Remove the following script from <body>:

HTML<script src="//platform.linkedin.com/in.js" type="text/javascript">
  lang: en_US
</script>

Load the following script inside the <head>.

COFFEESCRIPT$ ->
  loadLinkedIn()
  $(document).on 'page:load', loadLinkedIn

loadLinkedIn = ->
  delete IN
  $.getScript("//platform.linkedin.com/in.js")
  lang: 'en_US'

Credit: Zaharije Pasalic


All solutions should be considered unofficial. There is no guarantee that a given solution will work with your application. If you find that a solution is insufficient, please let me know by submitting an issue on Github.