Time Spent Tracker
See how much time you spent on each domain this week.
productivity
PlugThis prompt
Build a Chrome extension called "Time Spent Tracker" that records active time per domain. A service worker listens to tab activation, focus, and idle events to attribute foreground time to the current domain. Aggregate into daily and weekly buckets stored in chrome.storage.local. Provide a popup with a bar chart of today's top 10 domains and a full report page with weekly view, exclusion list, and CSV export. Permissions: tabs, storage, idle. Manifest V3.
How to build it in 3 minutes
- Sign in to PlugThis and open the chat input.
- Copy the prompt above and paste it into the chat.
- PlugThis generates the full Manifest V3 extension in 60-90 seconds.
- Download the zip, extract it, and load it via
chrome://extensionsdeveloper mode.