Update edupage.user.js

This commit is contained in:
Bruno Rybársky 2023-10-25 22:19:35 +02:00
parent e270df8472
commit d24ffc7e72

@ -1,7 +1,7 @@
// ==UserScript==
// @name Edupage H4x
// @namespace https://brn.systems
// @version 0.2.22
// @version 0.2.23
// @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
@ -220,6 +220,9 @@
unsafeWindow.barEncLink = modifiedbarEncLink;
//unsafeWindow.AscMobileAppVersion = "69420";
unsafeWindow.$j.post = function(url, data, success, dataType, eqav) {
if (!eqav) {
eqav = 1;
}
url += (url.indexOf('?') >= 0 ? '&' : '?')+'eqav='+eqav+'&maxEqav='+unsafeWindow.maxEqav;
return $j.origPost(url, data, success, dataType);
};