A Chrome extension to ease the use and improve user experience of the IT facilities in Tokyo Institute of Technology.

Latest Version

Version
1.15.1
Update
December 10, 2023
Size
218KiB
Developer
Category
Users
17
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
Identity
Identity.email
See more

T2Auth Extension

# T2Auth

A Chrome extension to ease the use and improve user experience of the IT facilities in Tokyo Institute of Technology.

Currently it supports only auto-login and course calendar generation.

## Usage

### Options

You can select pages from the navigation bar on the left.
Importing and exporting options via JSON files is also possible in any page.

#### Options Page

* `Language` Currently supports English, Japanese and Simplified Chinese.
* `Auto Login`: If checked, he extension will log in when the portal page is opened
* `Periods`: The interval of each periods. Time table can be found on the official website and the Educational Web System system.

#### Account Info Page

The account, password and matrix authentication code is configured inside options page.
One can open options page by right-clicking the extension icon.

### Login

After the [Portal](https://portal.nap.gsic.titech.ac.jp) page is open, if `Auto Login` is checked,
the extension starts to log in automatically. Otherwise, the Matrix Code Authentication button needs to be manually clicked, and a hint is displayed under the button indicating that the extension is ready.

If there is any wrong info, an alert dialog will be popped.

### Generate Calendar

A button of label `Generate Calendar` will appear if available.

* After an OCW course detail page is opened, the button will appear on the right side under the course title.
* After the Course Registration page of the Educational Web System is opened, it will appear above the `Print` button.

After the button is clicked, one can set the interval of all quarters, choose which day to omit on the popped-up window.
Click the `Generate iCalendar File` on the bottom of the window, and a link will be generated.

The generated file's format is iCalendar format with extension `.ics`. It can be imported to common calendar management softwares like Google Calendar.

## Security

* All private information stored are encrypted by AES-256 using key and initial vector generated by the user's e-mail address & identification code. If no users are logged in to Chrome, a default key and iv will be used to encrypt and decrypt data instead.
* This means:
* If the user status is changed (e.g. you logged out or switched an account), the data stored inside the storage will be no longer usable.
* If you leaked **both your e-mail and identification code**, then the data is possible to be decrypted by anyone who has the source code of this extension.
* For more details, see
* No HTTP request is created directly by this extension during its lifetime.
* This means no information is sent manually to any servers (including my private ones).
* You can output and input information in **plain text** in options page. Please store them in some location safe and trusted.

### Disclaimer

By using this extension you agree with **The developer of this extension is not responsible for any privacy leaks**.

## Development

The project uses

* [Vite](https://vitejs.dev/) and [CRXJS](https://crxjs.dev/) for packaging
* [Mithril.js](https://mithril.js.org/) for frontend rendering
* md5.js and [CryptoJS](https://github.com/brix/crypto-js) for encryption and decryption
* [ical.js](https://github.com/kewisch/ical.js) for calendar generation
* [day.js](https://day.js.org/) for immutable datetime representation
* [i18next](https://www.i18next.com/) for internationalization
* [Pure CSS](https://purecss.io/) for UI display.

If you want to build and debug in your own environment, follow [this instruction](https://crxjs.dev/vite-plugin/concepts/pages).
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "T2Auth", "description": "A Chrome extension to ease the use and improve user experience of the IT facilities in Tokyo Institute of Technology.", "version": "1.15.1", "manifest_version": 3, "permissions": [ "storage", "identity", "identity.email" ], "icons": { "32": "icon32.png", "64": "icon64.png", "128": "icon128.png" }, "background": { "service_worker": "service-worker-loader.js", "type": "module" }, "action": { "default_title": "T2Auth", "default_popup": "index.html" }, "options_page": "options.html", "content_scripts": [ { "js": [ "assets/main.ts-loader-f8b162b0.js" ], "matches": [ "*://*.gsic.titech.ac.jp/*", "*://portal.titech.ac.jp/*", "*://www.ocw.titech.ac.jp/*", "*://ocw.titech.ac.jp/*", "*://kyomu0.gakumu.titech.ac.jp/*", "*://kyomu.gakumu.titech.ac.jp/*" ], "all_frames": true, "run_at": "document_end", "css": [ "assets/index-dcd08edb.css", "assets/main-4b7cc691.css" ] } ], "web_accessible_resources": [ { "matches": [ "*://*.gsic.titech.ac.jp/*", "*://kyomu.gakumu.titech.ac.jp/*", "*://kyomu0.gakumu.titech.ac.jp/*", "*://ocw.titech.ac.jp/*", "*://portal.titech.ac.jp/*", "*://www.ocw.titech.ac.jp/*" ], "resources": [ "pure-min.css" ], "use_dynamic_url": false }, { "matches": [ "*://*.gsic.titech.ac.jp/*", "*://kyomu.gakumu.titech.ac.jp/*", "*://kyomu0.gakumu.titech.ac.jp/*", "*://ocw.titech.ac.jp/*", "*://portal.titech.ac.jp/*", "*://www.ocw.titech.ac.jp/*" ], "resources": [ "assets/sw-0c0b6147.js", "assets/index-dde61fe1.js", "assets/main.ts-f96437d6.js" ], "use_dynamic_url": true } ]}
Read more

Similar Extensions

icon

Chrome extension source viewer Extension · Developer Tools 17 422 ★ 227KiB

icon

React code finder Extension · Developer Tools 17 5 ★ 2.95MiB

icon

Easy Extension Manager Extension · Productivity 17 6 ★ 100KiB

icon

Auto Refresh Extension · Productivity 17 41 ★ 583KiB

icon

ChatGPT Extension · Productivity 17 41 ★ 267KiB

icon

Perplexity AI Extension · Productivity 17 22 ★ 874KiB

icon

Who Am I Extension · Productivity 17 0 ★ 420KiB

icon

Reader Mode Extension · Accessibility 17 9 ★ 106KiB

icon

CrownX NewTab Android like home page Extension · Productivity 17 7 ★ 1.36MiB

icon

Promptalot Helper Extension · Productivity 17 58 ★ 347KiB

icon

Obsidian Web Extension · Productivity 17 67 ★ 641KiB

icon

Chrome password setting Extension · Productivity 17 2 ★ 67.53KiB

icon

Add More Colors to Calendar Extension · Productivity 17 35 ★ 1.1MiB

icon

Chrome Extension Source Viewer Extension · Developer Tools 17 3 ★ 580KiB

icon

Avro (অভ্র) for Chrome Extension · Productivity 17 34 ★ 1.02MiB

icon

Canvas LMS Mods (Basic) Extension · Productivity 17 10 ★ 245KiB

icon

Saved passwords Extension · Productivity 17 6 ★ 213KiB

icon

Locale Switcher Extension · Developer Tools 17 7 ★ 215KiB

icon

Chrome Extension Builder Extension · Developer Tools 17 14 ★ 512KiB

icon

Bookmark manager Extension · Productivity 17 5 ★ 2.06MiB

icon

Zoho QEngine Recorder Extension · Productivity 17 3 ★ 741KiB

icon

UX Enhancer for GitLab Extension · Developer Tools 17 7 ★ 115KiB

icon

Proxy & User-Agent Switcher for Chrome Extension · Developer Tools 17 16 ★ 322KiB

icon

Kadoa - AI Web Scraper Extension · Developer Tools 17 4 ★ 206KiB