This commit is contained in:
Bruno Rybársky 2023-10-26 17:09:50 +02:00
parent 8361254d00
commit cee8135a18

@ -1,7 +1,7 @@
// ==UserScript==
// @name Edupage H4x
// @namespace https://brn.systems
// @version 0.2.27
// @version 0.2.28
// @copyright Can be found at https://git.brn.systems/BRNSystems/Userscripts
// @description Gives you a bit more options on EduPage, some are broken
// @author BRNSystems
@ -85,10 +85,6 @@
}
});
function custompost(url, data, success, dataType, eqav, oldpost){
oldpost(url, data, success, dataType, unsafeWindow.maxEqav);
}
function oninit(){
GM_registerMenuCommand('Settings', () => {
@ -223,8 +219,8 @@
if (!eqav) {
eqav = 1;
}
if(data && data.length == 0) {
data = {
if(data && Object.keys(data).length === 0) {
datanew = {
eqap: "",
eqacs: "da39a3ee5e6b4b0d3255bfef95601890afd80709",
eqaz: 0,