Skip to content

Instantly share code, notes, and snippets.

@dbritto-dev
Created November 15, 2022 16:12
Show Gist options
  • Save dbritto-dev/d4a952a0de0c793d01f3486618765dca to your computer and use it in GitHub Desktop.
Save dbritto-dev/d4a952a0de0c793d01f3486618765dca to your computer and use it in GitHub Desktop.

Revisions

  1. dbritto-dev created this gist Nov 15, 2022.
    1 change: 1 addition & 0 deletions download-canvas.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    $0.toBlob(b => window.open(window.URL.createObjectURL(b), '_blank'))