title: Javascript blob window open fires browser popup
body: <p>I have a download operation in my javascript code with <code>angularjs</code> <code>$http</code> provider.</p>
  
  <pre><code>$http({
      method: "POST",
      url: "http://localhost:28494/api/print",
      data: data,
      responseType:'arraybuffer'
  }).then(
      function (response) {
  
          var file = new Blob([response.data], {type: 'application/pdf'});
  
          var objectUrl = URL.createObjectURL(file);
  
          window.open(objectUrl,'_blank');         
      }
  );
  </code></pre>
  
  <p>This fires my browser popup. I do not want to this.</p>
  
  <p><a href="https://i.stack.imgur.com/dcsRS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dcsRS.png" alt="enter image description here"></a></p>
  
  <p>But I want to download directly. Do not show the popup.</p>