title: Avoiding duplicate browser tabs or windows (window.open())
body: <p>In Javascript, we can use window.open() to open a new browser window or tab.
  But if a tab is already open, it should highlight that only. It should not open duplicate tabs.
  How to do that?</p>