title: Safari on Mobile blocks window.open
body: <p>I have a mobile page where the user creates there own smartphone backgrounds using textarea. I use html2canvas to translate the textarea into a canvas and windwow.open + canvas.toDataURL to open the PNG in a new tab for the user to save.
  It works fine with Chrome but as far as I know Safari doesn't let me use window.open.
  Is there any alternative how the user could download the PNG? I was thinking of maybe using the button which translates the textarea to link to an empty html file and also append the canvas to that empty html file? But I'm not sure how that would work.</p>
  
  <p>Thank you very much in advance!</p>
  
  <p>This is my JS at the moment:</p>
  
  <pre><code>$(function() { 
  $("#buttononelandscape").click(function() { 
      html2canvas($("#testlandscape"), {
  
  
          onrendered: function(canvas) {
              theCanvas = canvas;
  
              window.open(canvas.toDataURL("image/png"));
  
  
          }
  
      });
  });
  </code></pre>
  
  <p>}); </p>