Open specific link in new tab on pageload
问题 Previously, I got a solution from here on how to open another link automatically on page load. I got this code to do that window.setTimeout("autoClick()", 2000); // 2 seconds delay function autoClick() { var linkPage = document.getElementById('dynLink').href; window.location.href = linkPage; } </script> dynLink is used in the body as target="_blank" within link tag. But this is loading the desired page within the same tab. Not in a New Tab. I want when this auto page load clicks the link with