您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Get every awnser in blooket correct!
当前为
// ==UserScript== // @name Blooket winner // @namespace http://tampermonkey.net/ // @version 6.0 // @description Get every awnser in blooket correct! // @author You // @match https://play.blooket.com/play* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant none // @lisence MIT // ==/UserScript== (function () { "use strict"; try { const loop = setInterval(() => { const artsBody = document.querySelector("div[class*='arts__body']"), reactEventHandlerKey = Object.keys(artsBody).find((key) => key.includes("__reactEventHandlers") ), target = artsBody[reactEventHandlerKey], path = document.location.pathname.split("/").filter((path) => path); if ( path[1] == "gold" || path[1] == "factory" || path[1] == "racing" || path[0] == "kingdom" || path[1] == "start" || path[1] == "battle" || path[1] === "fishing" || path[1] == "hack" || path[0] === "defense" || path[0] == "cafe" ) { target.children[1]._owner.memoizedState.question.correctAnswers = target.children[1]._owner.memoizedState.question.answers; } else if (path[1] == "battle-royale") { alert("Hack not supported on this game mode!"); clearInterval(loop); } else if (path[1] == "classic") { target.children[1].memoizedProps.client.question.correctAnswers = target.children[1].memoizedProps.client.question.answers; } }, 100); alert("Hack activated!"); } catch (err) { confirm( "An error occured, would you like to report this in the support discord server?" ) && window.open("(some broken discord server link)"); } })();