title: Force download of 'data:text/plain' URL
body: <p>I was wondering whether it is possible to force a browser (at least Chrome) to download a <code>data:text/plain</code> URL.</p>
  
  <p>Chrome does download binary URLs (e.g. <code>data:application/zip;base64,...</code>), but it does not download files that can be viewed inside the browser (such as text files).</p>
  
  <p>What I already tried with no luck so far is this:</p>
  
  <pre><code>data:text/plain;content-disposition=attachment;filename=test.txt;...
  </code></pre>
  
  <p>But it seems like I cannot add headers like this.</p>
  
  <p>Is there any way to make Chrome download a <code>data:text/plain,...</code> URL? </p>