Blooket Random Game

this may or may not be bannable lol!

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

Advertisement:

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Advertisement:

May akda
Bfnrnnr
Mga pang araw araw na pag install
0
Kabuuan na installs
339
Mga Rating
1 0 0
Bersyon
0.6
Nilikha
2024-04-24
Na update
2024-04-24
Laki
1.19 KB
Lisensya
Wala
Nalalapat sa

// ==UserScript==
// @name Blooket Random Game
// @namespace http://fb.blooket.com/c/firebase/id
// @version 0.6
// @description this may or may not be bannable lol!
// @author not-made-by-konz-but-give-konz-credit
// @match fb.blooket.com/c/firebase/id*
// @icon https://www.google.com/s2/favicons?sz=64&domain=blooket.com
// @grant none
// ==/UserScript==

function load() {
if (document.body.innerHTML.includes('"success":')) {
init();
} else {
setTimeout(load, 1); // Check again in 100ms
}
}

load();

function init(){
if (document.body.innerHTML.includes('"success":')) {
const urlParams = new URLSearchParams(window.location.search);
const id = urlParams.get('id');
if (window.location.href.startsWith('https://fb.blooket.com/c/firebase/id') && document.body.innerHTML.includes('"success":true')) {
window.location.href = `https://play.blooket.com/play?id=${id}`;
}
else {
document.body.innerHTML = "";
const randomCode = Math.floor(1000000 + Math.random() * 9000000);
console.log('Random code:', randomCode);
window.location.href = `id?id=${randomCode}&×tamp=${Date.now()}`;
location.refresh();
}
}
};