This project will give you functions to modify blooket so don't ask for hack script or fix script error...
Note Before use any script here for another place:
1. You should credit me in the script
2. The template is for developing lol
function getStateNode ( ) { return Object . values ( document . querySelector ( "#app>div>div" ) ) . find ( ( e => e . children ) ) . children . find ( ( e => e . _owner && e . _owner . stateNode ) ) . _owner . stateNode } function bypass ( ) { let e = document . createElement ( "iframe" ) ; return e . style . display = "none" , document . body . appendChild ( e ) , { window :e . contentWindow , document :e . contentDocument } }
( function ( ) {
function getStateNode ( ) {
return Object . values ( document . querySelector ( "#app>div>div" ) ) . find ( e => e . children ) . children . find ( m => m . _owner && m . _owner . stateNode ) . _owner . stateNode ;
}
function bypass ( ) {
let _bypass = document . createElement ( "iframe" ) ;
_bypass . style . display = 'none' ;
document . body . appendChild ( _bypass ) ;
return { window : _bypass . contentWindow , document : _bypass . contentDocument }
}
// Your code here
} ) ( ) ;
Description: Important function that use to access to most of blooket game data.
function getStateNode ( ) {
return Object . values ( document . querySelector ( "#app>div>div" ) ) . find ( e => e . children ) . children . find ( m => m . _owner && m . _owner . stateNode ) . _owner . stateNode
}
Description: Bypass Some disable functions like prompt()
function bypass ( ) {
let _bypass = document . createElement ( "iframe" ) ;
_bypass . style . display = 'none' ;
document . body . appendChild ( _bypass ) ;
return { window : _bypass . contentWindow , document : _bypass . contentDocument }
}