Use the Tampermonkey Plugin: https://www.tampermonkey.net Firefox: https://addons.mozilla.org/de/firefox/addon/tampermonkey/
For the olat.vcrp.de page, on the first page visit the script will not work because you have to select your school. For the Password Prompt: A password manager (like LastPass or Bitwarden) is needed that auto-fills the password on page load.
On the OLAT front page
// ==UserScript==
// @name Auto-Click Olat Front Page
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://olat.vcrp.de/dmz/
// @icon https://www.google.com/s2/favicons?sz=64&domain=vcrp.de
// @grant none
// ==/UserScript==
(function() {
'use strict';
setTimeout(()=>{
const button = document.querySelector('#idpSelectListButton')
button.click()
},500)
})();
On the TH Bingen Password Prompt:
// ==UserScript==
// @name Auto Click TH Bingen Login
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://login.th-bingen.de/idp/profile/SAML2/Redirect/SSO*
// @icon https://www.google.com/s2/favicons?sz=64&domain=th-bingen.de
// @grant none
// ==/UserScript==
(function() {
'use strict';
setInterval(()=>{
const passwordInput = document.querySelector('#password');
if(passwordInput.value.length > 0){
const button = document.querySelector('button.form-element');
button.click()
}
},1000)
})();