Skip to content

enKODING1/42-time-extension

Repository files navigation

42-time-extension

Chrome Firefox

Language / 언어: English | 한국어


After installation, check your profile calendar! 42-time is a cross-browser extension that visually displays your accumulated monthly login time on the 42 intra. This extension was created to solve the problem of not being able to easily view monthly accumulated learning hours on the 42 School intranet.
intra-original
intra-v3

Main Features

  • Cross-browser support: Works on both Chrome and Firefox
  • Time tracking: Displays accumulated monthly login time (in hours/minutes) on the 42 intra page
  • Profile v3 support: Compatible with both old and new 42 intra profiles
  • Multi-language: Supports 6 languages (EN, KO, JA, AR, FR, IT)

Installation

Chrome

  1. Clone this repository or download it as a zip file.
  2. Run npm run build
  3. Go to chrome://extensions in your Chrome browser.
  4. Enable Developer mode in the top right corner.
  5. Click Load unpacked and select the dist folder.

Firefox

  1. Clone this repository or download it as a zip file.
  2. Build the Firefox version: npm run build:firefox
  3. Go to about:debugging in your Firefox browser.
  4. Click This Firefox in the left sidebar.
  5. Click Load Temporary Add-on and select dist/manifest.json.

Usage

  1. Log in to 42 intra (https://intra.42.fr).
  2. The accumulated monthly login time will be automatically displayed within the intra.

Development Environment

  • TypeScript
  • Webpack
  • ESLint & Prettier
  • Cross-browser compatibility layer

Development & Build

npm install

# For Chrome
npm run build

# For Firefox
npm run build:firefox

# Development mode
npm run dev        # Chrome
npm run dev:firefox # Firefox

# Code quality
npm run lint       # Check for linting errors
npm run lint:fix   # Auto-fix linting errors
npm run format     # Format code with Prettier
npm run format:check # Check code formatting
  • The build output will be generated in the dist/ folder.

Contribution

  1. Feel free to leave feedback or suggestions via issues or PRs .

License

MIT


Questions and feedback are always welcome!