Skip to content

philipzhux/enroll-monster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Enroll-Monster

👉 For Chinese version please refer to here.

Warnings: The script does not support SIS with Traditional Chinese as display lanuage, please set it to either English or Simplified Chinese.

Installation

Installing Tampermonkey

Tampermonkey is prerequisite for EnrollMonster. To install Tampermonkey, go to this link on Chrome on Mac OS or Windows and click INSTALL.

Importing the Script

  • Open this URL with Chrome:

    chrome-extension://dhdgffkkebhmkfjojejmpbldmpobfkfo/options.html#nav=utils

  • Input the following URL in the Install from URL field and click Install:

    https://raw.githubusercontent.com/philipzhux/enroll-monster/main/src/enroll_monster.js

Usage

Preparation

  1. Click here to login to SIS (REMEMBER! Login to SIS on Chrome only. Multiple active sessions may lead to undefined behavior.)

  2. Like usual, add all you desired classes in the the cart by class search.

Using the Script

N.B. Don't use the script until about 10 minutes ahead of enrollment time because the login session of SIS only lasts for 20 minutes.

  1. Go to Enrollment -> Enrollment: Add Classes

  2. Select your term and click continue

  3. There should be a prompt to ask you input like:

Please enter the time to pre-filled the CAPTCHA code e.g. 135700 (should be a few minutes ahead of the enroll time)

This is the time at which the script auto-fills the CAPTCHA (i.e. verification code), it should be about 3-4 minutes ahead of your enrolling time because in this way you can have 3-4 minutes of flexible time if the script does not go right to fill the code as expected The time should be in format of HHMMSS, e.g. 135700 for 13:57:00

  1. There should be another prompt to ask you input like:

Please enter the time to click ENROLL e.g. 140000:

This is the time at which the script auto-click the button ENROLL ,it should be the exact time of enrollment (you may add extra one second to gurantee that the enrollment system has been open, then you will be one second later, this is a trade-off fully up to you)

The time should be in format of HHMMSS, e.g. 140000 for 14:00:00

Now sit back and relax. All set.

Frequently Asked Questions

  1. How to deal with the operataion too frequent problem?

    You don't need to do anything when this problem arises (even no need to click OK), the script will automatically retry in 5 seconds until a successful request is made.

  2. Why doesn't the script work on my computer?

    Please make sure that you have Enabled both the Tampermonkey and the script, and that you are using Chrome

  3. Is there any situation where I need to operate manually?

    It should not be. But if you find the script fill the CAPTCHA wrongly, then you need to correct it by yourself. In the first step of enrollment, the script will NOT automatically retry if any error occurs, which means that you need to manually click Enroll in that senario.

Author

Developed by Philip Chu. Contact me at philipzhux@gmail.com

About

CUHK/CUHK-Shenzhen Course Enrolling Automation

Topics

Resources

Stars

Watchers

Forks