Skip to content

VictorChao996/NCUEEclass_auto_login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NCU EEclass auto login

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Notices

About The Project

Intro

This is a simple node script for login NCU eeclass. 懶人專用登入程式。

Feature

  1. Auto login to NCU eeclass system.
  2. Auto Logout and close the window after the "waiting time"
    • default: the account will not logout automatically
    • You can set your own waiting time in the .env file

note see installation for more details.

Built With

(back to top)

Getting Started

Prerequisites

Installation

  1. clone the this repo
  2. install npm package
    npm init
    npm install
  1. make your own .env file with the following content
ACCOUNT = "[your NCU student account]"
PASSWORD = "[Your NCU student password]"
WAIT_TIME = "[Time is milliseconds]"
  • Example 1 (close after 8 seconds):
ACCOUNT = "account"
PASSWORD = "password"
WAIT_TIME = "8000"
  • Example 2 (Don't close automatically):
ACCOUNT = "account"
PASSWORD = "password"

Warning This step could not be skipped !

(back to top)

Usage

Execute from the folder

  • Double click on the execute.bat file to execute the script.

Execute from anywhere

  • Make a shortcut for execute.bat for where you want to run the script.(Ex: Desktop)

(back to top)

Notices

Warning

  • The browser driver and index.js should be in the same file.

Note

About

懶人專用登入程式

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published