title: Opening a new browser popup through js doesn't work
body: <p>I would like to redirect users through <strong>JS</strong> with opening of a new browser popup (in <strong>Chrome/FF/Safari and IE</strong>), because after the click on the button was done I have to <strong>wait for the result</strong> of a response with the <strong>correct url</strong>.</p>
  
  <p>Solutions like creating of a new popup before a request and setting the url in promise work <strong>BUT</strong> they are providing very <strong>bad User experience</strong> cause a user doesn't understand what is going on and can simple close this popup before the url would be set</p>
  
  <p>Next solutions don't work for me</p>
  
  <pre><code>- async:false
  
  - var popup = window.open("", '_blank');
   $.ajax(...).done(function (data) {
       popup.location.replace(data.redirectUrl);
   }
  </code></pre>
  
  <p>also all solutions there:</p>
  
  <p><a href="https://stackoverflow.com/questions/18885676/open-new-tab-without-popup-blocker-after-ajax-call-on-user-click">stackoverflow-answers-set-1</a></p>
  
  <p><a href="https://stackoverflow.com/questions/7139103/open-page-in-new-window-without-popup-blocking">stackoverflow-answers-set-2</a></p>
  
  <p><a href="https://stackoverflow.com/questions/4907843/open-a-url-in-a-new-tab-and-not-a-new-window-using-javascript">stackoverflow-answers-set-3</a></p>
  
  <p>Are there any other ideas? Thanks in advance</p>