Wordle Unlimited Solver

shows the correct word

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Wordle Unlimited Solver
// @namespace    http://tampermonkey.net/
// @version      1.3
// @description  shows the correct word
// @author       find
// @match        https://wordleunlimited.org/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=wordleunlimited.org
// @grant        none
// @license      MIT
// ==/UserScript==


(function() {
    'use strict';

    function revealTheWord() {
        const gameApp = document.querySelector('game-app');

        if (gameApp && gameApp.solution) {
            clearInterval(checkInterval);

            const correctWord = gameApp.solution;
            const solutionDisplay = document.createElement('div');
            solutionDisplay.id = 'wordle-solver-display';

            solutionDisplay.style.position = 'fixed';
            solutionDisplay.style.top = '8px';
            solutionDisplay.style.left = '50%';
            solutionDisplay.style.transform = 'translateX(-50%)';
            solutionDisplay.style.padding = '12px 24px';
            solutionDisplay.style.backgroundColor = '#4CAF50';
            solutionDisplay.style.color = 'white';
            solutionDisplay.style.border = '2px solid #388E3C';
            solutionDisplay.style.borderRadius = '8px';
            solutionDisplay.style.zIndex = '99999';
            solutionDisplay.style.fontSize = '24px';
            solutionDisplay.style.fontWeight = 'bold';
            solutionDisplay.style.fontFamily = 'Arial, sans-serif';
            solutionDisplay.style.boxShadow = '0 4px 12px rgba(0,0,0,0.3)';
            solutionDisplay.style.textAlign = 'center';
            solutionDisplay.style.cursor = 'pointer';

            solutionDisplay.innerHTML = `Today's Word: <span style="text-decoration: underline;">${correctWord.toUpperCase()}</span>`;

            solutionDisplay.addEventListener('click', () => {
                solutionDisplay.style.display = 'none';
            });

            document.body.appendChild(solutionDisplay);
        }
    }

    const checkInterval = setInterval(revealTheWord, 500);
})();