How to Open a Quick Launch Link in a New Tab in SharePoint 2013 Online using JQuery

  1. <script src="https://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.min.js"></script>  
  2. <script type="text/javascript">  
  3.     $(document).ready(function($)   
  4.       {  
  5.         var quicklink = $("a:contains('sharepoint-journey')");  
  6.         if (quicklink.length > 0)   
  7.         {  
  8.             $(quicklink).click(function()  
  9.             {  
  10.                 var quicklink_href = $(this).attr("href");  
  11.                 window.open(quicklink_href, "_blank");  
  12.                 return false;  
  13.             });  
  14.         }  
  15.     });  
  16. </script>