Created
January 15, 2021 19:01
-
-
Save neodigm/3607257120a3fe0539fc5b0b38403ee6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let image = document.querySelectorAll("canvas")[0].toDataURL("image/png").replace("image/png", "image/octet-stream"); | |
window.location.href=image; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment