A personal Chrome extension to track and analyze the time you spend solving LeetCode problems. Designed for personal use only, this extension helps you measure your efficiency, maintain detailed logs, and view statistics for your problem-solving sessions.
-
⏱ Live timer: Starts when you type in a problem and stops when the solution is accepted.
-
📝 Automatic logging: Tracks problem title, link, difficulty, time taken, and submission date.
-
📊 Detailed analytics:
- Average, minimum, and maximum times per difficulty (Easy / Medium / Hard).
- Total solved problems.
- Recent problem history (last 5 problems).
- Time shown in minutes with one decimal precision.
-
❌ Delete all logs with a single click (confirmation prompt included).
-
💻 Local storage only — no data is sent externally.
-
🎨 Modern, clean popup UI with live elapsed timer.
- Clone or download this repository:
git clone https://github.com/NefariousNiru/leetcode-timer-logger.git
- Open Chrome and go to:
chrome://extensions/
- Enable Developer mode (top-right toggle).
- Click Load unpacked → select the folder
leetcode-timer-logger/
. - The extension icon will appear in your toolbar.
- Open Chrome →
chrome://extensions/
- Enable Developer mode.
- Drag the
.crx
file into the extensions page. - Confirm installation.
-
Open any LeetCode problem.
-
Start typing → timer starts automatically.
-
Solve the problem and get an Accepted submission → time is logged.
-
Click the extension icon to open the popup:
- See live timer if a problem is in progress.
- View statistics and recent problems.
- Delete all logs using the Delete All button if needed.
- All logs are stored in Chrome's local storage (
chrome.storage.local
). - No data leaves your browser.
- Local storage structure:
[
{
"title": "Two Sum",
"link": "https://leetcode.com/problems/two-sum/",
"difficulty": "Easy",
"timeTaken": 12, // in seconds
"date": "2025-09-22T05:57:21.244Z"
}
]
leetcode-timer-logger/
├─ manifest.json
├─ background.js
├─ content.js
├─ popup.html
├─ popup.js
├─ icons/
│ ├─ gray.png
│ └─ yellow.png
└─ README.md
- This extension is not affiliated with, endorsed by, or sponsored by LeetCode.
- All LeetCode content, logos, problem titles, and icons are property of LeetCode.
- This project is intended for personal use only.
- Do not publish or distribute this extension commercially without permission.
Built by Nirupom Bose Roy
© 2025 Nirupom Bose Roy
Personal use only.