title: Clicking a download link in Safari causes all target=_blank links to download when clicked, is there a workaround?
body: <p><strong>Issue:</strong>
  After clicking on a link that downloads content, all other links that have target="_blank" and no download attr download when clicked instead of opening in the new tab.</p>
  
  <p><strong>Browser:</strong>
  Safari 11.0.2</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  
    &lt;head&gt;
      &lt;link rel="stylesheet" href="style.css"&gt;
      &lt;script src="script.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
  
    &lt;body&gt;
      &lt;h3&gt;Instructions&lt;/h3&gt;
      &lt;ul&gt;
        &lt;li&gt;Click &lt;a href='sample.txt' target='_blank'&gt;ME&lt;/a&gt; (download NOT present) to see page load in new tab then come back to this page&lt;/li&gt;
        &lt;li&gt;Click &lt;a href='sample.txt' download='sample.txt'&gt;ME&lt;/a&gt; (download PRESENT) to see it downloaded&lt;/li&gt;
        &lt;li&gt;Click &lt;a href='sample.txt' target='_blank'&gt;ME&lt;/a&gt; (download NOT present).  Safari forces this link to download&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><strong>Code Sample:</strong>
  <a href="https://embed.plnkr.co/IscC6LTTmpEbAMLrxyYJ/" rel="nofollow noreferrer">https://embed.plnkr.co/IscC6LTTmpEbAMLrxyYJ/</a></p>
  
  <p><strong>Replicate:</strong></p>
  
  <ol>
  <li>Click a link with download attribute</li>
  <li>After the download click a link on the same page with target="_blank" and see that it's forced to download instead of opening in a new tab.</li>
  </ol>
  
  <p><strong>Update:</strong>
  I updated the issue hopefully to explain better what's happening.  I've found a sort of workaround, but if I change the links to _self instead of _blank then they work like normal after a download.</p>