diff --git a/edupage.user.js b/edupage.user.js index 76c991d..b33f040 100644 --- a/edupage.user.js +++ b/edupage.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Edupage H4x // @namespace https://brn.systems -// @version 0.2.1 +// @version 0.2.2 // @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 @@ -14,6 +14,13 @@ // @grant none // ==/UserScript== +//removes intro button +waitForKeyElements ("a.learnMoreBtn", deleteNotX); + +function deleteNotX (jNode) { + jNode.remove (); +} + (function() { 'use strict'; @@ -24,13 +31,6 @@ 3274: "Zabudni na Ășlohy,", }; - //removes intro button - waitForKeyElements ("a.learnMoreBtn", deleteNotX); - - function deleteNotX (jNode) { - jNode.remove (); - } - // Define your modified function function modifiedGetLoggedUserType() { // Your custom code here