r
This commit is contained in:
parent
8361254d00
commit
cee8135a18
@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Edupage H4x
|
// @name Edupage H4x
|
||||||
// @namespace https://brn.systems
|
// @namespace https://brn.systems
|
||||||
// @version 0.2.27
|
// @version 0.2.28
|
||||||
// @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
|
||||||
@ -85,10 +85,6 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function custompost(url, data, success, dataType, eqav, oldpost){
|
|
||||||
oldpost(url, data, success, dataType, unsafeWindow.maxEqav);
|
|
||||||
}
|
|
||||||
|
|
||||||
function oninit(){
|
function oninit(){
|
||||||
|
|
||||||
GM_registerMenuCommand('Settings', () => {
|
GM_registerMenuCommand('Settings', () => {
|
||||||
@ -223,8 +219,8 @@
|
|||||||
if (!eqav) {
|
if (!eqav) {
|
||||||
eqav = 1;
|
eqav = 1;
|
||||||
}
|
}
|
||||||
if(data && data.length == 0) {
|
if(data && Object.keys(data).length === 0) {
|
||||||
data = {
|
datanew = {
|
||||||
eqap: "",
|
eqap: "",
|
||||||
eqacs: "da39a3ee5e6b4b0d3255bfef95601890afd80709",
|
eqacs: "da39a3ee5e6b4b0d3255bfef95601890afd80709",
|
||||||
eqaz: 0,
|
eqaz: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user