This commit is contained in:
Bruno Rybársky 2023-10-26 16:51:27 +02:00
parent d24ffc7e72
commit e92e61c784

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Edupage H4x // @name Edupage H4x
// @namespace https://brn.systems // @namespace https://brn.systems
// @version 0.2.23 // @version 0.2.24
// @copyright Can be found at https://git.brn.systems/BRNSystems/Userscripts // @copyright Can be found at https://git.brn.systems/BRNSystems/Userscripts
// @description Gives you a bit more options on EduPage, some are broken // @description Gives you a bit more options on EduPage, some are broken
// @author BRNSystems // @author BRNSystems
@ -223,6 +223,13 @@
if (!eqav) { if (!eqav) {
eqav = 1; eqav = 1;
} }
if(data && data.length == 0) {
data = {
eqap: "dz:BcCBCAAAAAAgf+sD",
eqacs: "16a63ef35cd7438a04662d53a0360ef2fb6c02e6",
eqaz: 0,
}
}
url += (url.indexOf('?') >= 0 ? '&' : '?')+'eqav='+eqav+'&maxEqav='+unsafeWindow.maxEqav; url += (url.indexOf('?') >= 0 ? '&' : '?')+'eqav='+eqav+'&maxEqav='+unsafeWindow.maxEqav;
return $j.origPost(url, data, success, dataType); return $j.origPost(url, data, success, dataType);
}; };