Update edupage.user.js

This commit is contained in:
Bruno Rybársky 2023-10-24 17:44:07 +02:00
parent cb2a59f617
commit f0c5583a79

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name Edupage H4x // @name Edupage H4x
// @namespace https://brn.systems // @namespace https://brn.systems
// @version 0.2.0 // @version 0.2.1
// @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
@ -25,7 +25,11 @@
}; };
//removes intro button //removes intro button
$("a.learnMoreBtn").remove(); waitForKeyElements ("a.learnMoreBtn", deleteNotX);
function deleteNotX (jNode) {
jNode.remove ();
}
// Define your modified function // Define your modified function
function modifiedGetLoggedUserType() { function modifiedGetLoggedUserType() {