Skip to content

Instantly share code, notes, and snippets.

@jwhamilton99
Last active February 4, 2022 23:08
Show Gist options
  • Save jwhamilton99/5573a494c304a088da0672d9d1c7e44d to your computer and use it in GitHub Desktop.
Save jwhamilton99/5573a494c304a088da0672d9d1c7e44d to your computer and use it in GitHub Desktop.
minified wordle code
// Here's a minified version that you can paste into a bookmark's url field if you can't do it from the page itself
javascript:(function() { if(window.location.host == "www.powerlanguage.co.uk" && window.location.pathname == "/wordle/") { let game = document.body.getElementsByTagName("game-app")[0]; if(game.gameStatus != "IN_PROGRESS") { window.alert("Game is already finished."); return; } game.addLetter(game.solution); game.tileIndex = 5; game.submitGuess(); } else { window.alert("You are currently not on the Wordle website."); } })();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment