Skip to content

Repository files navigation

Time Converter Extension

Automatically detect and convert timezones on the fly right in your browser.

Features

  • Smart Time Detection: Detects common formats (10:00 AM EST, 14:30, 10.30 BST) accurately without highlighting standalone numbers out of context.
  • Hover & Inline Modes: View converted times instantly via a sleek, CSS-injected hover tooltip or have them injected directly next to the original text.
  • Per-Site Permissions: The extension only runs on sites you explicitly allow. Click the toolbar icon to enable it on any page — no blanket access required.
  • Customizable Experience: A modern, responsive settings page lets you toggle the extension globally, choose between 12-hour/24-hour formats, manually override target timezones, and manage your list of permitted sites.
  • Layout Safe: Built with the TreeWalker API and absolute-positioned JS tooltips to ensure website layouts and CSS overflow properties are never broken.

How It Works

Rather than injecting into every page you visit, Time Converter uses optional host permissions. When you visit a site where you'd like time conversion:

  1. Click the Time Converter icon in your toolbar.
  2. Click Enable on this site — your browser will prompt you to confirm.
  3. Times on that site are converted automatically from now on.

You can revoke access per-site from the popup or from the settings page.

Install

Chrome: Chrome Web Store

Firefox: Mozilla Add-ons

Load from source

  1. Clone or download this repository.
  2. Navigate to chrome://extensions (Chrome) or about:debugging#/runtime/this-firefox (Firefox).
  3. Chrome: Enable Developer mode, click Load unpacked and select the extension folder.
  4. Firefox: Click Load Temporary Add-on and select manifest.json.

Built With

  • Vanilla JavaScript & CSS for lightweight, blazing fast execution without bulky frameworks.
  • Luxon for robust time parsing and accurate timezone resolution.

License

This project is licensed under the MIT License.

About

Chrome/Firefox extension- Converts displayed times to your local time on hover or inline.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages