Coder Social home page Coder Social logo

ncueeclass_auto_login's Introduction

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

ncueeclass_auto_login's People

Contributors

victorchao996 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.