Wordle Hack

If you really want to cheat at Wordle, this will tell you the answer -_-

目前为 2022-09-03 提交的版本。查看 最新版本

// ==UserScript==
// @name         Wordle Hack
// @version      3.0
// @description  If you really want to cheat at Wordle, this will tell you the answer -_-
// @author       Logzilla6
// @match        https://www.nytimes.com/games/wordle/*
// @icon         https://www.google.com/s2/favicons?domain=powerlanguage.co.uk
// @grant        none
// @namespace https://greasyfork.org/users/783447
// ==/UserScript==

let gameData = localStorage.getItem('nyt-wordle-state');
let toSolution = gameData.split('"solution":"')[1];
let answer = toSolution.substr(0, 5);
if (confirm('Would you like to know the answer?')) {
    alert(answer);
}