From e92e61c78460cf5525b05bc414d05423fab0919d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Thu, 26 Oct 2023 16:51:27 +0200 Subject: [PATCH] testa --- edupage.user.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/edupage.user.js b/edupage.user.js index a64009a..6a20a74 100644 --- a/edupage.user.js +++ b/edupage.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Edupage H4x // @namespace https://brn.systems -// @version 0.2.23 +// @version 0.2.24 // @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 @@ -223,6 +223,13 @@ if (!eqav) { 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; return $j.origPost(url, data, success, dataType); };