This commit is contained in:
Bruno Rybársky 2023-10-24 19:20:12 +02:00
parent 4572eaf977
commit fe8ef319ee

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Edupage H4x // @name Edupage H4x
// @namespace https://brn.systems // @namespace https://brn.systems
// @version 0.2.13 // @version 0.2.14
// @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
@ -79,11 +79,12 @@
} }
}); });
GM_registerMenuCommand('Settings', () => {
GM_config.open()
})
function oninit(){ function oninit(){
GM_registerMenuCommand('Settings', () => {
gmc.open()
})
let removeintrobtn = gmc.get("modify_startbutton"); let removeintrobtn = gmc.get("modify_startbutton");
let fake_adult_student = gmc.get("modify_adult_student"); let fake_adult_student = gmc.get("modify_adult_student");
let fake_admin = gmc.get("modify_admin_stuff"); let fake_admin = gmc.get("modify_admin_stuff");