title: Internet Explorer - DOM7011: The code on this page disabled back and forward caching. Warning after trying to download Binary Files with Javascript
body: <p>So, I'm trying to download binary files with javascript.
  It works fine on Chrome and Opera but doesn't work on IE.</p>
  
  <p>After trying to download the files the warning "DOM7011: The code on this page disabled back and forward caching." appears on IE Developer Tools.</p>
  
  <p>Does anyone already had this problem?</p>
  
  <pre><code>$.DownloadBase64File = function (file, data) {
      if (file &amp;&amp; data) {
          var link = document.createElement('a');
          link.setAttribute('href', "data:application/octet-stream;charset=utf-16le;base64," + encodeURIComponent(data));
          link.setAttribute('download', file);
          link.click();
      };
  };
  
  if (data.status === '0') {
      $.DownloadBase64File(
          'MyPDF_File.pdf',
          data.ReportBinary
      );
  }
  </code></pre>
  
  <p>Appretiate your help :)</p>