Skip to content

Instantly share code, notes, and snippets.

@camila314
Created December 12, 2020 07:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camila314/be0f62a6f3a44a51f5efd5e551cc25da to your computer and use it in GitHub Desktop.
Save camila314/be0f62a6f3a44a51f5efd5e551cc25da to your computer and use it in GitHub Desktop.
Blooket auto-answer payload tutorial

The first thing you are going to do is open the Inspector via chrome and navigate to Sources. Then, scroll down until you see webpack://. You are going to want to navigate to webpack://./app/containers/PlayRegisterPageContainer/index.js. Then, go to line 245 and set a breakpoint. After that, type the game id into Blooket and type your nickname. After you type the nickname and press enter, go to the Console section and enter this code:

window.correctAns=t.props.client.questions.map(e=>({question:e.text,answer:e.correctAnswers[0]})),window.callbac=function(){window.correctAns.forEach(e=>{e.question==document.querySelector(".styles__questionText___1mqO1-camelCase div").innerText&&document.querySelectorAll(".styles__answerContainer___2Xv-a-camelCase").forEach(t=>{e.answer==t.firstChild.firstChild.innerText&&t.click()})})},new MutationObserver(function(e,t){document.querySelectorAll(".styles__answerContainer___2Xv-a-camelCase").length>1&&setTimeout(window.callbac,300)}).observe(document,{childList:!0,subtree:!0});

Once you do that, you need to go back to the Sources section and press control+backslash (or command+backslash if on mac).

Now you can close the inspect window and watch as it auto answers for you

@bigges
Copy link

bigges commented Sep 22, 2021

ur gay

@bigges
Copy link

bigges commented Sep 22, 2021

lol haha 69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment