Wordless Reveal Answer Hack

Reveals answer in Wordless on lessgames.com

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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name         Wordless Reveal Answer Hack
// @namespace    http://tampermonkey.net/
// @version      Beta
// @description  Reveals answer in Wordless on lessgames.com
// @author       Splxff
// @match        https://lessgames.com/wordless
// @icon         https://www.google.com/s2/favicons?sz=64&domain=lessgames.com
// @grant        none
// ==/UserScript==

! function () {
    function e() {
        if (window.__next) {
            var t = Object.values(window.__next)[0].child.child.child.sibling.child.stateNode._reactInternals.child.child.child.child.child.child.child.child.child.child.child.child.child.child.child.child.return.return.return.return.return.return.return.sibling.child.stateNode.containerInfo.offsetParent.children[6].children[0]
                , n = Object.values(t)[0].return.return.return.return.return.return.return.return.return.return.alternate.child.child.child.return.sibling.alternate.sibling.child.child.child.child.child.return.sibling.child.child.child.child.child.child.child.sibling.stateNode
                , r = Object.values(n)[0].return.return.return.return.return.memoizedState.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.next.memoizedState.current;
            if (!(r.length > 1)) return "na";
            Array.from(document.querySelectorAll("p"))
                .filter((e => e.textContent.toLowerCase()
                    .includes("word")))[0].textContent = r, Array.from(document.querySelectorAll("p"))
                .filter((e => e.textContent.toLowerCase()
                    .includes("less")))[0].textContent = ""
        } else e()
    }
    setInterval((() => {
        e()
    }), 2e3);
    e();
}();