Update edupage.user.js

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

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