您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
View All The Correct Answers on Blooket
当前为
// ==UserScript== // @name Highlight Answers // @namespace http://greasyfork.org/ // @version 8 // @description View All The Correct Answers on Blooket // @author You // @match https://*.blooket.com/* // @icon https://res.cloudinary.com/blooket/image/upload/v1613003832/Blooks/redAstronaut.svg // @grant none // @license MIT // ==/UserScript== (async () => { setInterval(() => { const { state: t, props: n } = Object.values(document.querySelector("body div[id] > div > div"))[1].children[0]._owner["stateNode"]; [...document.querySelectorAll('[class*="answerContainer"]')].forEach((e, o) => { (t.question || n.client.question).correctAnswers.includes((t.question || n.client.question).answers[o]) ? (e.style.backgroundColor = "rgb(0, 207, 119)") : (e.style.backgroundColor = "rgb(189, 15, 38)"); }); }); })();