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

How to download and manually install T2Auth extension for Chrome

Looking for a way to install T2Auth extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install T2Auth extensions manually, this article outlines two simple methods to effortlessly install T2Auth extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download T2Auth extension and manually install through Drag &Drop

If you ever need to manually install a T2Auth extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the T2Auth Extension by clicking the "Download CRX" button on the website.

Look for the T2Auth extension you wish to install. Go to the website and download the T2Auth extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for T2Auth extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the T2Auth extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download T2Auth extension for Chrome and install in Developer Mode

This is another method to install T2Auth extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the T2Auth extension file

Select and download the T2Auth extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the T2Auth extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your T2Auth extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the T2Auth extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install T2Auth extension in 2 ways. We hope this guide proves helpful.

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