diff --git a/Uni Hamburg Moodle Auto Login.user.js b/Uni Hamburg Moodle Auto Login.user.js index 9b18a205c67c5ffce7b80e4d77ee76a637568360..6bf0856c7043b0d374479bea1edd5aff90af9776 100644 --- a/Uni Hamburg Moodle Auto Login.user.js +++ b/Uni Hamburg Moodle Auto Login.user.js @@ -5,7 +5,7 @@ // @description Automatically logs you in to the Uni Hamburg Moodle, given automated password filling. // @description:de Loggt Dich automatisch in das Moodle der Uni Hamburg ein, gegeben, dass die Login-Daten automatisch ausgefüllt werden. -// @version 1.0.1 +// @version 1.0.2 // @copyright 2023+, Jan G. (Rsge) // @license Mozilla Public License 2.0 // @icon https://lernen.min.uni-hamburg.de/theme/image.php/uhh/theme/1698645195/favicon @@ -33,6 +33,6 @@ } let secondLoginButtonElements = document.getElementsByClassName("form-element form-button"); if (secondLoginButtonElements.length > 0) { - secondLoginButtonElements[0].click(); + setTimeout(function() { secondLoginButtonElements[0].click(); }, 100); } -})(); \ No newline at end of file +})();