https://github.com/naocoding/ntnu_moodle_autologin
師大Moodle 網頁版自動登入插件
https://github.com/naocoding/ntnu_moodle_autologin
Last synced: 10 months ago
JSON representation
師大Moodle 網頁版自動登入插件
- Host: GitHub
- URL: https://github.com/naocoding/ntnu_moodle_autologin
- Owner: NaoCoding
- Created: 2024-03-23T08:19:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-06T09:26:20.000Z (almost 2 years ago)
- Last Synced: 2024-06-06T10:59:23.309Z (almost 2 years ago)
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NTNU_Moodle_AutoLogin (Chrome Extension)
### 使用方法
```
下載插件包 > 將content.js 中的學號與密碼改為自己的帳密
> 打開 browser > 擴充功能 > 載入未封裝項目 > 選擇整個資料夾
```
### Source Code (若不下載套件包,可直接用tampermonkey等自動注入js的擴充功能)
```javascript
(function() {
var STUDENT_ID = "TYPE_YOUR_STUDENTID_HERE"
var PASSWORD = "TYPE_YOUR_PASSWORD_HERE"
document.querySelector("#username").value = STUDENT_ID
document.querySelector("#password").value = PASSWORD
document.querySelector("#boxForm > div > form > div.sign-up-btn > button").click()
})();
```
```
不定期注意網頁是否更改架構,會第一時間修改並上傳
```
Update : this repo is archived and new extension with more functions is published at
https://github.com/NaoCoding/ntnu-extension