Skip to content

prem-pagar/Simple-Clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⏰ Live Date Time Clock -- Chrome Extension

A simple and lightweight Chrome extension that shows the current time directly on the Chrome toolbar and displays live date and time in a popup window.

Perfect for users who want to quickly check the time without opening a new tab.


🚀 Features

  • ⏱ Live Time on Toolbar
    Shows current time (HH:MM) on the extension badge.

  • 📅 Live Date & Time Popup
    Click the extension icon to view full date and time.

  • ⚡ Auto Updates
    Time updates automatically every minute.

  • 🎨 Clean Dark UI
    Minimal popup design for easy viewing.

  • 🪶 Lightweight
    No external libraries or APIs required.


📂 Project Structure

live-datetime-extension
│
├── manifest.json
├── background.js
├── popup.html
├── popup.js
└── icon.png

⚙️ Installation

1. Download the Extension

Download the ZIP file and extract it.

2. Open Chrome Extensions Page

Go to:

chrome://extensions/

3. Enable Developer Mode

Turn on Developer Mode from the top right corner.

4. Load the Extension

Click Load Unpacked and select the extracted extension folder.

The extension will now appear in your Chrome toolbar.


🖱 How to Use

  1. Look at the Chrome toolbar to see the current time.
  2. Click the extension icon.
  3. A popup will appear showing:
  • Current Time
  • Current Date

The popup updates automatically.


🛠 Technologies Used

  • JavaScript
  • HTML
  • CSS
  • Chrome Extensions API (Manifest V3)

🔒 Permissions

The extension only uses one permission:

  • alarms → used to update the time every minute.

No tracking. No user data collection.


📌 Future Improvements

Possible upgrades:

  • Time zone support
  • Analog clock UI
  • Theme customization
  • 12h / 24h toggle
  • World clock support

📄 License

This project is free to use and open source.

About

project for mlh hack week

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors