title: How to open a new tab in Javascript?
body: <p>I would like to open in a new tab a page of my website.</p>
  
  <p>I've tried to use the window.open function but it seems like it's not supported anymore.</p>
  
  <p>Those are a few options I've tried in local :</p>
  
  <pre><code>url = "localhost:3000/my-other-page"
  window.open(url, '_blank');
  
  OR
  
  var popup  = window.open("about:blank", "_blank");
  popup.location = url;
  
  </code></pre>
  
  <p>The first option opened the page in a new tab but the screen stayed black.</p>
  
  <p>What would be the best way to open this url ? Is it still supported by current browsers?</p>