A collection of userscripts that fix annoyances on HKU websites
HKUL Auth Autofill Fix.user.js
: Works around a Safari browser issue on the HKU Libraries Login Page where login fields are misidentified as registration fields, disrupting the password autofill feature.
Moodle Hide Courses.user.js
: Allows you to hide inactive courses from the homepage and sidebar of Moodle.
Moodle Stay as Current User.user.js
: Automatically clicks "Cancel" when Moodle displays the "you need to log out before logging in as a different user" prompt.
Userscript managers come in the form of browser extensions.
I recommend the following open-source extensions:
Browser | Extension Name | Installation Link |
---|---|---|
Safari | Userscripts | App Store |
Firefox | Violentmonkey | Firefox Add-ons |
Google Chrome | Violentmonkey | Chrome Web Store |
Microsoft Edge | Violentmonkey | Microsoft Edge Addons |
Please make sure the extension is enabled before proceeding to the next step.
- Click the links below for the userscripts you wish to install.
- Navigate to the browser tab where the link opened.
- Click on the extension icon for the userscript manager.
- The extension should notify you that it has detected a userscript. Click install.
- Once done, you may test it on relevant websites to ensure it’s working properly 👍
Feel free to contribute by creating a pull request or opening an issue. If you have any ideas for new userscripts, please let me know!