I have to add a link next to follow and share links on top bar in sharepoint. So I wanted to ask if it is possible by any out of the box feature.
I have tried it using below jquery code:-
var newLinks = "<li class='ms-cui-topBar2'> \ <a class='ms-cui-topBar2-a' href='http://extranet.crescent.com'>Extranet</a> \ </li> \ <li class='ms-cui-topBar2'> \ <a class='ms-cui-topBar2-a' href='http://support.crescent.com'>Customer Support</a> \ </li> "; $('#RibbonContainer-TabRowRight').prepend(newLinks);
This is adding the new link but it is hiding the previous links follow and share.