title: Chrome cannot export to csv if there are too many rows?
body: <p>I wrote this export button that basically spits out all the data I have on the google table into a CSV for download. It works perfectly fine until I have way too many rows and Chrome gives me the "aw snap" error page when I try to download the csv. How do I fix this?</p>
  
  <pre><code>    var csvContent = "data:text/csv;charset=utf-8,";
  
      data.forEach(function (infoArray, index) {
          dataString = infoArray.join(",");
          csvContent += dataString + "\n";
      });
  
      var encodedUri = encodeURI(csvContent);
      var link = document.createElement("a");
      link.setAttribute("href", encodedUri);
      link.setAttribute("download", "Data.csv");
      link.click();
  </code></pre>