Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kennethkn/useful-userscripts-hku
JS scripts to fix annoyances on HKU websites
https://github.com/kennethkn/useful-userscripts-hku
hku javascript university-of-hong-kong userscript userscript-collection
Last synced: 17 days ago
JSON representation
JS scripts to fix annoyances on HKU websites
- Host: GitHub
- URL: https://github.com/kennethkn/useful-userscripts-hku
- Owner: kennethkn
- License: mit
- Created: 2023-10-09T04:53:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-29T16:51:14.000Z (10 months ago)
- Last Synced: 2024-11-18T01:13:16.421Z (3 months ago)
- Topics: hku, javascript, university-of-hong-kong, userscript, userscript-collection
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Useful Userscipts for HKU Students
A collection of userscripts that fix annoyances on HKU websites
## Info
`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.
## Usage
### Step 1: Install a Userscript Manager
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](https://apps.apple.com/app/userscripts/id1463298887) |
| Firefox | Violentmonkey | [Firefox Add-ons](https://addons.mozilla.org/en-US/firefox/addon/violentmonkey/) |
| Google Chrome | Violentmonkey | [Chrome Web Store](https://chrome.google.com/webstore/detail/violentmonkey/jinjaccalgkegednnccohejagnlnfdag) |
| Microsoft Edge | Violentmonkey | [Microsoft Edge Addons](https://microsoftedge.microsoft.com/addons/detail/violentmonkey/eeagobfjdenkkddmbclomhiblgggliao) |Please make sure the extension is enabled before proceeding to the next step.
### Step 2: Install Desired Userscripts
1. Click the links below for the userscripts you wish to install.
* [HKUL Auth Autofill Fix.user.js](https://raw.githubusercontent.com/kennethkn/useful-userscripts-for-hku-students/main/HKUL%20Auth%20Autofill%20Fix.user.js)
* [Moodle Hide Courses.user.js](https://raw.githubusercontent.com/kennethkn/useful-userscripts-for-hku-students/main/Moodle%20Hide%20Courses.user.js)
* [Moodle Stay as Current User.user.js](https://raw.githubusercontent.com/kennethkn/useful-userscripts-for-hku-students/main/Moodle%20Stay%20as%20Current%20User.user.js)
2. Navigate to the browser tab where the link opened.
3. Click on the extension icon for the userscript manager.
4. The extension should notify you that it has detected a userscript. Click install.
5. Once done, you may test it on relevant websites to ensure it’s working properly :thumbsup:## Contributing
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!