Created
April 26, 2023 10:16
-
-
Save malte-j/43af4e143afe4b89b9f178ea3055d293 to your computer and use it in GitHub Desktop.
Automatically clicks the SSO login button in moodle.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name HPI Moodle Autologin | |
// @namespace https://malts.me/ | |
// @version 1.0 | |
// @description Automatically clicks the SSO login button in moodle. | |
// @author Malte Janßen ([email protected]) | |
// @match https://moodle.hpi.de/login/index.php | |
// @icon https://moodle.hpi.de/theme/image.php/boost/theme/1678719034/favicon | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const ssoBtn = document.querySelector('[title="HPI OpenID Connect"]') | |
ssoBtn?.click(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment