Comment to 'How can I copy a profile or post link into my clipboard'
  • Small update to share the link from the timeline feed. The code for the Studio->Designer->Injections:

    <script language="javascript">

     function share_link_timeline(sContentId)

     {

       var dummy = document.createElement('input');

       dummy.value = $('#bx-timeline-item-timeline-feed-' + sContentId + ' a.bx-tl-item-meta-date').attr('href');

       document.body.appendChild(dummy);

       dummy.select();

       document.execCommand('copy');

       document.body.removeChild(dummy);

     }

    </script>

    and the code for the "Onclick" attribute of a new menu item in the Studio->Navigation->Timeline->Item actions area:

    share_link_timeline('{content_id}'); return false;