Remove unlock plus gamemodes
Before Width: | Height: | Size: 97 KiB After Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 412 B After Width: | Height: | Size: 414 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 416 B |
Before Width: | Height: | Size: 413 B After Width: | Height: | Size: 416 B |
|
@ -1,38 +0,0 @@
|
|||
/**
|
||||
* @license StewartPrivateLicense-2.0.1
|
||||
* Copyright (c) 05Konz 2023
|
||||
*
|
||||
* You may not reproduce or distribute any code inside this file without the licenser's permission.
|
||||
* You may not copy, modify, steal, skid, or recreate any of the code inside this file.
|
||||
* You may not under any circumstance republish any code from this file as your own.
|
||||
*
|
||||
* ALL TERMS STATED IN THE LINK BELOW APPLY ASWELL
|
||||
* https://github.com/05Konz/Blooket-Cheats/blob/main/LICENSE
|
||||
*/
|
||||
|
||||
/* THE UPDATE CHECKER IS ADDED DURING COMMIT PREP, THERE MAY BE REDUNDANT CODE, DO NOT TOUCH */
|
||||
|
||||
(() => {
|
||||
const cheat = (async () => {
|
||||
Object.values((function react(r = document.querySelector("body>div")) { return Object.values(r)[1]?.children?.[0]?._owner.stateNode ? r : react(r.querySelector(":scope>div")) })())[1].children[0]._owner.stateNode.setState(state => (state.gameModes.forEach(gm => gm.plusOnly = false), state));
|
||||
});
|
||||
let img = new Image;
|
||||
img.src = "https://raw.githubusercontent.com/05Konz/Blooket-Cheats/main/autoupdate/timestamps/global/unlockPlusGamemodes.png?" + Date.now();
|
||||
img.crossOrigin = "Anonymous";
|
||||
img.onload = function() {
|
||||
const c = document.createElement("canvas");
|
||||
const ctx = c.getContext("2d");
|
||||
ctx.drawImage(img, 0, 0, this.width, this.height);
|
||||
let { data } = ctx.getImageData(0, 0, this.width, this.height), decode = "", last;
|
||||
for (let i = 0; i < data.length; i += 4) {
|
||||
let char = String.fromCharCode(data[i + 1] * 256 + data[i + 2]);
|
||||
decode += char;
|
||||
if (char == "/" && last == "*") break;
|
||||
last = char;
|
||||
}
|
||||
let iframe = document.querySelector("iframe");
|
||||
const [_, time, error] = decode.match(/LastUpdated: (.+?); ErrorMessage: "(.+?)"/);
|
||||
if (parseInt(time) <= 1693429947436 || iframe.contentWindow.confirm(error)) cheat();
|
||||
}
|
||||
img.onerror = img.onabort = () => (img.src = null, cheat());
|
||||
})();
|
|
@ -1 +0,0 @@
|
|||
/* All terms found in the following link apply: https://github.com/05Konz/Blooket-Cheats/blob/main/LICENSE */ (()=>{let r=document.querySelector("iframe");r.contentWindow.console.log.call(window,"%c Blooket Cheats %c\n\tBy 05Konz on GitHub","color: #0bc2cf; font-size: 3rem","color: #8000ff; font-size: 1rem"),r.contentWindow.console.log.call(window,"%c\tunlockPlusGamemodes.js","color: #0bc2cf; font-size: 1rem"),r.contentWindow.console.log.call(window,"%c\tStar the github repo!%c https://github.com/05Konz/Blooket-Cheats","color: #ffd000; font-size: 1rem","");const l=async()=>{Object.values(function e(t=document.querySelector("body>div")){return Object.values(t)[1]?.children?.[0]?._owner.stateNode?t:e(t.querySelector(":scope>div"))}())[1].children[0]._owner.stateNode.setState(e=>(e.gameModes.forEach(e=>e.plusOnly=!1),e))};let s=new Image;s.src="https://raw.githubusercontent.com/05Konz/Blooket-Cheats/main/autoupdate/timestamps/global/unlockPlusGamemodes.png?"+Date.now(),s.crossOrigin="Anonymous",s.onload=function(){var e=document.createElement("canvas").getContext("2d");e.drawImage(s,0,0,this.width,this.height);let t=e.getImageData(0,0,this.width,this.height)["data"],o="",n;for(let e=0;e<t.length;e+=4){var c=String.fromCharCode(256*t[e+1]+t[e+2]);if(o+=c,"/"==c&&"*"==n)break;n=c}var[,e,a]=o.match(/LastUpdated: (.+?); ErrorMessage: "(.+?)"/);(parseInt(e)<=1693429952140||r.contentWindow.alert(a))&&l()},s.onerror=s.onabort=()=>(s.src=null,l())})();
|
|
@ -1441,13 +1441,6 @@
|
|||
}
|
||||
} catch { }
|
||||
})()
|
||||
},
|
||||
{
|
||||
name: "Unlock Plus Gamemodes",
|
||||
description: "Allows you to play any gamemode that is plus only",
|
||||
run: function () {
|
||||
Object.values((function react(r = document.querySelector("body>div")) { return Object.values(r)[1]?.children?.[0]?._owner.stateNode ? r : react(r.querySelector(":scope>div")) })())[1].children[0]._owner.stateNode.setState(state => (state.gameModes.forEach(gm => gm.plusOnly = false), state));
|
||||
}
|
||||
}
|
||||
],
|
||||
voyage: [
|
||||
|
@ -3830,7 +3823,7 @@
|
|||
}
|
||||
let iframe = document.querySelector("iframe");
|
||||
const [_, time, error] = decode.match(/LastUpdated: (.+?); ErrorMessage: "(.+?)"/);
|
||||
if (parseInt(time) <= 1695484594972 || iframe.contentWindow.confirm(error)) cheat();
|
||||
if (parseInt(time) <= 1695682539562 || iframe.contentWindow.confirm(error)) cheat();
|
||||
}
|
||||
img.onerror = img.onabort = () => (img.src = null, cheat());
|
||||
})();
|
|
@ -1000,13 +1000,6 @@
|
|||
else if (Array.isArray(stateNode.state.unlocks)) stateNode.setState({ unlocks: Object.keys(blooks) });
|
||||
else stateNode.setState({ unlocks: blooks });
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "Unlock Plus Gamemodes",
|
||||
description: "Allows you to play any gamemode that is plus only",
|
||||
run: function () {
|
||||
Object.values((function react(r = document.querySelector("body>div")) { return Object.values(r)[1]?.children?.[0]?._owner.stateNode ? r : react(r.querySelector(":scope>div")) })())[1].children[0]._owner.stateNode.setState(state => (state.gameModes.forEach(gm => gm.plusOnly = false), state));
|
||||
}
|
||||
}
|
||||
],
|
||||
voyage: [
|
||||
|
@ -2609,7 +2602,7 @@
|
|||
}
|
||||
let iframe = document.querySelector("iframe");
|
||||
const [_, time, error] = decode.match(/LastUpdated: (.+?); ErrorMessage: "(.+?)"/);
|
||||
if (parseInt(time) <= 1695682338506 || iframe.contentWindow.confirm(error)) cheat();
|
||||
if (parseInt(time) <= 1695682539569 || iframe.contentWindow.confirm(error)) cheat();
|
||||
}
|
||||
img.onerror = img.onabort = () => (img.src = null, cheat());
|
||||
})();
|
|
@ -970,13 +970,6 @@
|
|||
}
|
||||
} catch { }
|
||||
})()
|
||||
},
|
||||
{
|
||||
name: "Unlock Plus Gamemodes",
|
||||
description: "Allows you to play any gamemode that is plus only",
|
||||
run: function () {
|
||||
Object.values((function react(r = document.querySelector("body>div")) { return Object.values(r)[1]?.children?.[0]?._owner.stateNode ? r : react(r.querySelector(":scope>div")) })())[1].children[0]._owner.stateNode.setState(state => (state.gameModes.forEach(gm => gm.plusOnly = false), state));
|
||||
}
|
||||
}
|
||||
],
|
||||
},
|
||||
|
@ -3662,7 +3655,7 @@
|
|||
}
|
||||
let iframe = document.querySelector("iframe");
|
||||
const [_, time, error] = decode.match(/LastUpdated: (.+?); ErrorMessage: "(.+?)"/);
|
||||
if (parseInt(time) <= 1695484594988 || iframe.contentWindow.confirm(error)) cheat();
|
||||
if (parseInt(time) <= 1695682539578 || iframe.contentWindow.confirm(error)) cheat();
|
||||
}
|
||||
img.onerror = img.onabort = () => (img.src = null, cheat());
|
||||
})();
|