title: Accessing other tabs/windows in a browser via JavaScript
body: <p>I have a JavaScript application in a tab which opens if I click on a certain link on my page. If I click on the link again, I need to check if that tab is allready opened - if it is, then switch to that tab and do something, otherwise open a new tab.</p>
  
  <p>Unfortunately using</p>
  
  <pre><code>var myApp = window.open("http://www.mypage.com/myapp.html", "My App");
  if(myApp){
  </code></pre>
  
  <p>won't help me, because I can't rely on the URL, due to the fact that the URL will differ on each environment that I'm using.</p>
  
  <p>How can I achieve this if I can't rely on the URL? The only thing I can check is the tab's name - it will allways be the same. How can I access the browser's tab array, please?</p>
  
  <p>Thanks!</p>