This repository has been archived by the owner on May 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathloader.html
2 lines (2 loc) · 9.49 KB
/
loader.html
1
2
<a href="javascript:(()%3D%3E%7Basync%20function%20a(a)%7Bvar%20b%3D%5B%5D%2Cc%3D%22%22%3Bfetch(%22https%3A%2F%2Ffb.blooket.com%2Fc%2Ffirebase%2Fjoin%22%2C%7Bbody%3A%60%7B%5C%22id%5C%22%3A%5C%22%24%7Ba%7D%5C%22%2C%5C%22name%5C%22%3A%5C%22answerdotjs%5C%22%7D%60%2Cmethod%3A%22PUT%22%2Cmode%3A%22cors%22%7D).then(async%20d%3D%3E%7Bvar%20e%3Dawait%20d.json()%3Bconsole.info(%60Set%20id%20is%20%24%7Be.host.set%7D%60)%2Cconsole.info(%60Game%20pin%20is%20%24%7Ba%7D%60)%2Cconsole.info(%60Game%20mode%20is%20%24%7Be.host.s.t%7D%60)%2Cc%3De.host.s.t%2Cconsole.log(%22Getting%20game%20answers...%22)%3Bvar%20f%3Dawait%20fetch(%60https%3A%2F%2Fapi.blooket.com%2Fapi%2Fgames%3FgameId%3D%24%7Be.host.set%7D%60)%2Cg%3Dawait%20f.json()%2Ch%3Dg.questions%3Bh.forEach(a%3D%3E%7Ba.question%3Da.question.replace(%2F%20%2B(%3F%3D%20)%2Fg%2C%22%22).trim()%2Cconsole.log(a.question%2B%22%3A%22%2Ba.correctAnswers)%2Ca.correctAnswers%5B0%5D%3Da.correctAnswers%5B0%5D.trim().replace(%2F%20%2B(%3F%3D%20)%2Fg%2C%22%22)%3Bvar%20c%3D!1%3B%22object%22%3D%3Dtypeof%20a.image%26%26(c%3D!0)%2Cb.push(%7Bnum%3Aa.number%2Ctext%3Aa.question%2CpossibleAnswers%3Aa.answers%2CcorrectAnswers%3Aa.correctAnswers%2ChasImage%3Ac%2Cimage%3Aa.image%7D)%7D)%7D)%3Bvar%20d%3D%7B%7D%2Ce%3D%7B%7D%2Cf%3DsetInterval(()%3D%3E%7Bvar%20a%3DMath.floor%3Bswitch(c)%7Bcase%22Gold%22%3Avar%20g%3Ddocument.querySelectorAll(%22%5Bclass%5E%3D%5C%22styles__choice%5C%22%22)%3B3%3D%3Dg.length%26%26g%5Ba(3*Math.random())%5D.click()%3Bvar%20h%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__headerInside___'%5D%22)%3Bh%26%26h.innerText%26%26document.querySelector(%22%5Bclass%5E%3D'arts__regularBody___'%5D%22).click()%3Bvar%20i%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__noPlayers___'%5D%20%3E%20div%22)%3Bi%26%26i.click()%3Bvar%20j%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__playerContainer___'%5D%22)%3Bj%26%26j.click()%3Bbreak%3Bcase%22Hack%22%3Avar%20k%3Ddocument.querySelectorAll(%22%5Bclass%5E%3D'styles__button___'%5D%22)%2Cl%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__introHeader___'%5D%22)%3Bk.length%26%26l.innerText%26%26!l.innerText.includes(%22HACKING%22)%26%26k%5Ba(Math.random()*k.length)%5D.click()%3Bvar%20m%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__nextText___'%5D%22)%3Bm%26%26m.parentElement.click()%3Bvar%20n%3Ddocument.querySelectorAll(%22%5Bclass%5E%3D%5C%22styles__choice__%5C%22%5D%22)%3B3%3D%3Dn.length%26%26n%5Ba(Math.random()*n.length)%5D.click()%3Bvar%20o%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__choiceContainer___'%5D%22)%3Bif(o%26%26o.click()%2Ck.length%26%26l%26%26l.innerText.includes(%22HACKING%22))%7Bvar%20p%2Cq%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__introHeader___'%5D%20%3E%20span%22).innerText%2Cr%3Ddocument.querySelectorAll(%22%5Bclass%5E%3D'styles__buttonDeactivated___'%5D%22)%3Bif(r.forEach(a%3D%3E%7Ba.classList.contains(%22%5Bclass%5E%3D'styles__buttonNotChosen___'%5D%22)%7C%7C(p%3Da.innerText)%7D)%2C!d%5Bq%5D%26%26!e%5Bq%5D)k%5Ba(Math.random()*k.length)%5D.click()%3Belse%20if(!d%5Bq%5D%26%26e%5Bq%5D)e%5Bq%5D.forEach(a%3D%3E%7Bk.forEach(b%3D%3E%7Bb.innerText%3D%3Da%26%26b.click()%7D)%7D)%3Belse%7Bvar%20s%3Bk.forEach(a%3D%3E%7Ba.innerText%3D%3Dd%5Bq%5D%26%26(s%3Da)%7D)%2Cs%26%26s.click()%7Dvar%20t%3D%22%22%2Cu%3Ddocument.querySelectorAll(%22%5Bclass%5E%3D'styles__introHeader___'%5D%22).forEach(a%3D%3E%7B%22CORRECT%22%3D%3Da.innerText%3Ft%3D%22CORRECT%22%3A%22INCORRECT%22%3D%3Da.innerText%26%26(t%3D%22INCORRECT%22)%7D)%3Bif(%22CORRECT%22%3D%3Dt)d%5Bq%5D%3Dp%3Belse%20if(%22INCORRECT%22%3D%3Dt%26%26!r%5Bq%5D)%7Bvar%20v%3D%5B%5D%3Bk.forEach(a%3D%3E%7Bv.push(a.innerText)%7D)%2Ce%5Bq%5D%3Dv%7D%7Dbreak%3Bcase%22Royale%22%3AclearInterval(f)%2CsetInterval(()%3D%3E%7Bvar%20a%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__questionText___'%5D%22)%2Cc%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__feedbackContainer___'%5D%20%3E%20div%22)%2Cd%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__image___'%5D%22)%2Ce%3Dnull!%3D%3Dd%2Cf%3De%3Fd.src.split(%22%2F%22)%5Bd.src.split(%22%2F%22).length-1%5D.split(%22.%22)%5B0%5D%3Avoid%200%3Bif(c%26%26Math.random.toString().includes(%22%5Bnative%20code%5D%22)%26%26c.click()%2Ca%26%26a.innerText)%3Belse%20return%3Bvar%20g%3Db.filter(b%3D%3Ee%3F!0%3D%3Db.hasImage%26%26b.image.id%3D%3Df%26%26b.text%3D%3Da.innerText%3Ab.text%3D%3Da.innerText)%2Ch%3Ddocument.querySelectorAll(%22%5Bclass%5E%3D'styles__answerContainer___'%5D%22)%3Bg.forEach(a%3D%3E%7Bfor(var%20b%2Cc%3D!1%2Cd%3D0%3Bd%3Ch.length%26%26!1%3D%3Dc%3Bd%2B%2B)b%3Dh%5Bd%5D%2Cb.innerText%26%26a.correctAnswers.includes(b.innerText)%26%26(b.click()%2Cc%3D!0)%7D)%7D%2C50)%3Bbreak%3Bcase%22Fish%22%3Avar%20w%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__pageButton___'%5D%22)%3Bw%26%26w.click()%3Bvar%20x%3Ddocument.querySelector(%22%5Bclass%5E%3D'arts__modal___'%5D%22)%3Bx%26%26x.click()%3B%7Dvar%20y%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__questionText___'%5D%22)%2Cz%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__feedbackContainer___'%5D%20%3E%20div%22)%2CA%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__image___'%5D%22)%2CB%3Dnull!%3D%3DA%2CC%3DB%3FA.src.split(%22%2F%22)%5BA.src.split(%22%2F%22).length-1%5D.split(%22.%22)%5B0%5D%3Avoid%200%3Bif(z%26%26Math.random.toString().includes(%22%5Bnative%20code%5D%22)%26%26z.click()%2Cy%26%26y.innerText)%3Belse%20return%3Bvar%20D%3Db.filter(a%3D%3EB%3F!0%3D%3Da.hasImage%26%26a.image.id%3D%3DC%26%26a.text%3D%3Dy.innerText%3Aa.text%3D%3Dy.innerText)%2CE%3Ddocument.querySelectorAll(%22%5Bclass%5E%3D'styles__answerContainer___'%5D%22)%3BD.forEach(a%3D%3E%7Bfor(var%20b%2Cc%3D!1%2Cd%3D0%3Bd%3CE.length%26%26!1%3D%3Dc%3Bd%2B%2B)b%3DE%5Bd%5D%2Cb.innerText%26%26a.correctAnswers.includes(b.innerText)%26%26(b.click()%2Cc%3D!0)%7D)%7D%2C250)%7Dvar%20b%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__idInput___'%5D%22)%3Bif(!b)%7Bvar%20c%3Ddocument.body.appendChild(document.createElement(%22iframe%22))%2Cd%3Dc.contentWindow%3Breturn%20d.alert(%22Please%20only%20run%20this%20script%20on%20the%20start%20screen%20(where%20you%20input%20id)%22)%2Cvoid%20document.body.removeChild(c)%7Dvar%20e%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__mainBox___'%5D%22)%3Be.onsubmit%3Dfunction(...c)%7Bvar%20d%3Ddocument.body.appendChild(document.createElement(%22iframe%22))%2Ce%3Dd.contentWindow%3Be.alert(%60Starting%20bot%20with%20game%20code%20%24%7Bb.value%7D.%20If%20you%20incorrectly%20entered%20the%20game%20code%2C%20please%20refresh%20the%20page.%60)%2Cdocument.body.removeChild(d)%2Ca(b.value)%7D%3Bvar%20f%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__joinButton___'%5D%22)%3Bf.onclick%3Dfunction(...a)%7Be.onsubmit()%7D%7D)()%3B">answer.js</a>
<a href="javascript:(()%3D%3E%7Basync%20function%20a(a)%7Bvar%20b%3D%5B%5D%2Cc%3D%22%22%3Bfetch(%22https%3A%2F%2Ffb.blooket.com%2Fc%2Ffirebase%2Fjoin%22%2C%7Bbody%3A%60%7B%5C%22id%5C%22%3A%5C%22%24%7Ba%7D%5C%22%2C%5C%22name%5C%22%3A%5C%22answerdotjs%5C%22%7D%60%2Cmethod%3A%22PUT%22%2Cmode%3A%22cors%22%7D).then(async%20d%3D%3E%7Bvar%20e%3Dawait%20d.json()%3Bconsole.info(%60Set%20id%20is%20%24%7Be.host.set%7D%60)%2Cconsole.info(%60Game%20pin%20is%20%24%7Ba%7D%60)%2Cconsole.info(%60Game%20mode%20is%20%24%7Be.host.s.t%7D%60)%2Cc%3De.host.s.t%2Cconsole.log(%22Getting%20game%20answers...%22)%3Bvar%20f%3Dawait%20fetch(%60https%3A%2F%2Fapi.blooket.com%2Fapi%2Fgames%3FgameId%3D%24%7Be.host.set%7D%60)%2Cg%3Dawait%20f.json()%2Ch%3Dg.questions%3Bh.forEach(a%3D%3E%7Ba.question%3Da.question.replace(%2F%20%2B(%3F%3D%20)%2Fg%2C%22%22).trim()%2Cconsole.log(a.question%2B%22%3A%22%2Ba.correctAnswers)%2Ca.correctAnswers%5B0%5D%3Da.correctAnswers%5B0%5D.trim().replace(%2F%20%2B(%3F%3D%20)%2Fg%2C%22%22)%3Bvar%20c%3D!1%3B%22object%22%3D%3Dtypeof%20a.image%26%26(c%3D!0)%2Cb.push(%7Bnum%3Aa.number%2Ctext%3Aa.question%2CpossibleAnswers%3Aa.answers%2CcorrectAnswers%3Aa.correctAnswers%2ChasImage%3Ac%2Cimage%3Aa.image%7D)%7D)%7D)%2Cdocument.body.addEventListener(%22keydown%22%2Ca%3D%3E%7Bif(%22%60%22%3D%3D%3Da.key)%7Bvar%20c%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__questionText___'%5D%22)%2Cd%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__image___'%5D%22)%2Ce%3Dnull!%3D%3Dd%2Cf%3De%3Fd.src.split(%22%2F%22)%5Bd.src.split(%22%2F%22).length-1%5D.split(%22.%22)%5B0%5D%3Avoid%200%3Bif(c%26%26c.innerText)%3Belse%20return%3Bvar%20g%3Db.filter(a%3D%3Ee%3F!0%3D%3Da.hasImage%26%26a.image.id%3D%3Df%26%26a.text%3D%3Dc.innerText%3Aa.text%3D%3Dc.innerText)%2Ch%3Ddocument.querySelectorAll(%22%5Bclass%5E%3D'styles__answerContainer___'%5D%22)%3Bg.forEach(a%3D%3E%7Bfor(var%20b%2Cc%3D!1%2Cd%3D0%3Bd%3Ch.length%26%26!1%3D%3Dc%3Bd%2B%2B)b%3Dh%5Bd%5D%2Cb.innerText%26%26a.correctAnswers.includes(b.innerText)%26%26(b.children%5B0%5D.children%5B0%5D.style.color%3D%22green%22%2Cc%3D!0)%7D)%7D%7D)%7Dvar%20b%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__idInput___'%5D%22)%3Bif(!b)%7Bvar%20c%3Ddocument.body.appendChild(document.createElement(%22iframe%22))%2Cd%3Dc.contentWindow%3Breturn%20d.alert(%22Please%20only%20run%20this%20script%20on%20the%20start%20screen%20(where%20you%20input%20id)%22)%2Cvoid%20document.body.removeChild(c)%7Dvar%20e%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__mainBox___'%5D%22)%3Be.onsubmit%3Dfunction(...c)%7Bvar%20d%3Ddocument.body.appendChild(document.createElement(%22iframe%22))%2Ce%3Dd.contentWindow%3Be.alert(%60Starting%20answer.js%20(legit%20mode)%20with%20game%20code%20%24%7Bb.value%7D.%20If%20you%20incorrectly%20entered%20the%20game%20code%2C%20please%20refresh%20the%20page.%60)%2Cdocument.body.removeChild(d)%2Ca(b.value)%7D%3Bvar%20f%3Ddocument.querySelector(%22%5Bclass%5E%3D'styles__joinButton___'%5D%22)%3Bf.onclick%3Dfunction(...a)%7Be.onsubmit()%7D%7D)()%3B">legit.js</a>