title: SHP 2019 Top Suite Bar - Overwrite "SharePoint" title with a custom hyperlink and title
body: <p>I am trying to overwrite the Sharepoint title with a different text and hyperlink on the top suite bar. I am using Sharepoint 2019 on-premises with classic configuration. I cannot use jquery, but I am able to use powershell, javascript and CSS.</p>
  <p>I used the script given in here: <a href="https://stackoverflow.com/questions/47061058/add-link-to-sharepoint-suite-bar-fail-on-first-load">Add link to sharepoint suite bar - fail on first load</a></p>
  <p>It works well but with two issues:</p>
  <ol>
  <li>I have the same &quot;fail on first load&quot; issue. A working solution is provided in the thread but I can't seem to get the code right. Quoting the confirmed solution from the thread: &quot;Try to make your add link into a function and use SP.SOD.executeFunc('sp.js','SP.ClientContext', yourFunctionToInsertHere);&quot;</li>
  </ol>
  <p>Could anyone please help me with the code of the solution provided in the above linked thread?</p>
  <ol start="2">
  <li>The other issue is that this script appends the hyperlink text next to the &quot;SharePoint&quot; title. I tried to hide it via CSS, but it ends up hiding the entire title. Is there a way to remove only the &quot;SharePoint&quot; title while displaying the custom title?</li>
  </ol>