您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto Answers Wordle!
// ==UserScript== // @name Wordle Auto Answer // @namespace http://tampermonkey.net/ // @version 1.1 // @description Auto Answers Wordle! // @author Splxff // @match https://www.nytimes.com/games/wordle/index.html // @icon https://www.google.com/s2/favicons?sz=64&domain=nytimes.com // @grant none // ==/UserScript== (() => { var e, t = !0 , n = new Date , l = ""; try { ! function o() { if (t) if (e = requestAnimationFrame(o), l) { if (document.querySelectorAll('[class*="Key-"]') .length > 5) { console.log(l), t = !1, cancelAnimationFrame(e); for (let e = 0; e < l.length; e++) Array.from(document.querySelectorAll('[class*="Key-"]')) .filter((t => t.textContent == l[e]))[0].click(); Array.from(document.querySelectorAll('[class*="Key-"]')) .filter((e => "enter" == e.textContent))[0].click() } } else fetch("https://www.nytimes.com/svc/wordle/v2/" + n.toISOString() .split("T")[0] + ".json") .then((e => e.json())) .then((e => l = e.solution)) }() } catch (n) { console.log(n), t = !1, cancelAnimationFrame(e) } })();