AuTUMoodle for Tampermonkey

Original Release Date: 25.03.2024

If you ever had a bad day and felt completely useless, just remember that the "keep me logged in" button exists when signing into TUMoodle. That's why I wrote this script, which automatically logs you in whenever prompted (as is usually the case...). AuTUMoodle is a Tampermonkey script - as such, you will need the extension for the script to work.

There are currently two versions of the script:
  • Version Alpha: Safe, depends on autofill of password manager, but less reliable.
  • Version Omega: Less safe, asks you for your credentials, but should always work.

Version Alpha

AuTUMoodle Alpha is a configurable script. It supports 4 methods of attempting to automatically log you in, which you may change to suit your needs:
  • Wait for page to load (on by default).
  • Wait for username input (off by default).
  • Wait for password input (on by default).
  • Retry on interval (on, 500ms by default).

IMPORTANT: You WILL NEED a fitting password manager and Autofill! The script works by waiting for the password manager to automatically insert your username and password into the input fields, then pressing the login button. This is done to prevent storing your data, instead relying on a much safer way of accessing your login data (at the slight cost of speed and reliability).

The functionality of this version depends on the way the password manager works and how JavaScript detects the username and password inputs. This version has only been tested with Firefox and Edge. It works on Firefox, but does NOT work on Edge. For example, using Edge, JavaScript only sees the inserted data after the user manually interacts with the page, defeating the purpose of the script entirely. I don't plan on updating this version for Edge, since I use Firefox myself and this is a personal project after all (and because Chromium browsers are complete garbage).

If you use Firefox, I highly recommend using this version.

GitHub (Alpha, safe)

Install the script by clicking on "Raw".


Version Omega

If you have issues with AuTUMoodle Alpha, then the Omega version is for you. It is cross-compatible and should work with just about any browser that supports IndexedDBs, which includes of them nowadays. For your first login, the script will ask you for your credentials, which it will then use to automatically fill in the username and password fields for each upcoming login.

Your data is NOT stored as plaintext inside the script. Rather, it is stored encrypted inside your browser's IndexedDB using an unextractable, securely generated key pair. This does not mean, however, that your data is completely safe. If someone gets access to your browser with Tampermonkey available, they can modify the script to still access your data (but at that point, you probably have bigger issues at hand).

Use this version at your own risk. Or switch to Firefox.

GitHub (Omega, less safe)

Install the script by clicking on "Raw".