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