0

im opening a new tab using typescript but i want it to open without directly navigating to it. Any help?

im using this method to open it : newWindow = window.open(url, '_blank')
AlainN
  • 1
  • 1
  • sorry i edited the question. I want the new tab to open but without being directly redirected to it. – AlainN Mar 22 '23 at 15:56
  • Dupe of https://stackoverflow.com/questions/7924232/how-to-open-new-tab-in-javascript-without-switching-to-the-new-tab – kelsny Mar 22 '23 at 15:57
  • already tried, not working. Maybe its a browser compatibility issue – AlainN Mar 22 '23 at 16:14

0 Answers0