Created
January 29, 2024 00:49
-
-
Save aciccarello/ede483138f68c16ecf531eba84780769 to your computer and use it in GitHub Desktop.
Wordle guess screenshot
This file contains hidden or 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
// Get a screenshot of the wordle board and open in a new tab. Run from the dev tools. | |
import('https://html2canvas.hertzen.com/dist/html2canvas.esm.js') | |
.then((html2canvas) => html2canvas.default(document.querySelector("[class^='Board-module_board__']"))) | |
.then((canvas) => window.open(canvas.toDataURL("image/png"))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment