title: window.location.href - Link in new tab
body: <pre><code>var notification = new Notification(theTitle, options);
  notification.onclick = function() { 
      window.location.href = theLink; //redirects to the specified link
  };
  </code></pre>
  
  <p>I am trying  to open a new tab by clicking the notification box. Using the above code the redirection works fine. But I want to open the link in a new tab. How Can I do this?</p>