title: Setting focus to existing browser tab
body: <p>I have done an extensive research of this problem and still can't get an answer. The following code code works fine in Chrome:</p>
  
  <pre><code>if ($window.localStorage.getItem('adminconsole') == null) {
          $window.localStorage.setItem('adminconsole', 'adminconsole');
          $window.open('admin.html', 'adminconsole');
      }
      else {
          try {
              window.open('', 'adminconsole').focus();
          }
          catch (error) {
              alert(error);
          }
      }
  </code></pre>
  
  <p>when I call this code after the admin.html was opened Chrome switches focus to it, but not IE. Any idea how to make it work in IE?</p>
  
  <p>Thanks</p>