title: Open specific link in new tab on pageload
body: <p>Previously, I got a solution from here on how to open another link automatically on page load. I got this code to do that
      </p>
  
  <pre><code>window.setTimeout(&amp;quot;autoClick()&amp;quot;, 2000); // 2 seconds delay
  
  function autoClick() {
  var linkPage = document.getElementById(&amp;#39;dynLink&amp;#39;).href;
  window.location.href = linkPage;
  }
  &lt;/script&gt; 
  </code></pre>
  
  <p><strong>dynLink</strong> is used in the body as <strong>target="_blank"</strong> within link tag. But this is loading the desired page within the same tab. Not in a New Tab. </p>
  
  <p>I want when this auto page load clicks the link with id=dynLink, the page opens in a new tab then to load in the same tab. </p>
  
  <h2>And I really means New TAB - NOT NEW WINDOW.</h2>
  
  <p>Looking forward to some working solution. Thanks!</p>