Skip to content

Instantly share code, notes, and snippets.

@niamu
Created March 12, 2022 22:12
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save niamu/6ed483b4d62b99b229971ddab3b34a4f to your computer and use it in GitHub Desktop.
A Wordle Bookmarklet Cheat to show the answer in an in-game notification
javascript:(function(){
toaster=document.querySelector("game-app").shadowRoot.querySelector("#game-toaster");
app=new wordle.bundle.GameApp();
t = document.createElement("game-toast");
t.setAttribute("text", app.solution.toUpperCase());
t.setAttribute("duration", 2e3);
toaster.prepend(t);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment