Shows you where your browsing time goes, on your own TechTools dashboard. Works in Chrome, Edge, Brave and other Chromium browsers (version 110 or newer). The source is public so that you can check every claim below.
The extension is not in the Chrome Web Store. It installs as an unpacked extension.
- Download
magic-extension-chrome-v2.0.0.zipfrom the dashboard page and unzip it to a folder you keep. The browser loads the extension from that folder. - Open
chrome://extensions(edge://extensions,brave://extensions) and turn on Developer mode. - Press Load unpacked and pick the unzipped
magic-extension-chromefolder. - A welcome page opens. It shows what is sent, lets you choose the settings, and nothing is recorded until you press Start tracking.
To update, extract the new ZIP into the folder that holds magic-extension-chrome, so that its files are replaced, and press
Reload on the extension's card. If you renamed the folder, replace its contents with the contents of the ZIP's
magic-extension-chrome folder. Extracting into the extension's own folder only adds a folder inside it, and Reload then loads the
old version. A new folder is a second install, with a new id. An update from 1.x keeps your id and keeps tracking without asking again, and leaves the private-network setting off so
that your stats do not silently change.
| Data | Detail |
|---|---|
| Page address | Origin and path of the page in the focused tab. By setting, the domain alone |
| Page title | Can be turned off. Off in domain-only mode. A title that is only the address is dropped, because it would hold the query |
| Active time | Seconds per page while the window has focus, the computer is not idle or locked, tracking is not paused and the page is trackable |
| How you got there | typed, link, reload, bookmark, form, generated or other, and whether a page sent you on by script |
| In-page navigation | Single-page app route changes, as the stripped address, debounced 2 s per tab. A fragment change is not recorded |
| Referring site | Domain only. Only for a followed link or form, from the previous page in the tab or the tab that opened it. Never an excluded site, and never a private one while Skip private network pages is on |
| Audible seconds | Per domain and day. Never titles. A muted tab does not count, and this is kept apart from active time |
| Tab and window counters | Opened, closed, switched, highest count per day. Numbers only |
| Idle and locked seconds | Totals per day, measured only while the browser runs |
| Downloads | Off by default. Only if you turn it on in the settings and Chrome grants the permission. Count and bytes per day |
| Client | Extension version, browser name and major version, operating system, architecture, time zone |
| Id | user_ plus 32 random hex characters, made on your computer |
Query strings, fragments, user names and passwords in addresses. Anything from Incognito. file: and other non-web pages.
Private network addresses (localhost, 10.x, 172.16-31.x, 192.168.x, 100.64-127.x, link-local, IPv6 local, .local,
.internal, .lan, .home, .corp, names without a dot), while the Skip private network pages setting is on, which it is
on a fresh install. Sites you exclude. Page content,
keystrokes, form values, cookies. Browser history from before the install. Download file names and addresses, which the worker
throws away when the event arrives. The extension runs no script on any site except techtools.cz.
- A path can still say something, for example
/orders/1042. If that bothers you, use domain-only mode or exclude the site. - A title can name a product, a person, a video or a search term. Turn titles off if that matters.
- Time stops 2 minutes after your last input, so a quiet read longer than that stops counting and the last 2 minutes of a break can count as active. Audio with no input is not active time.
- A page in a background tab is sent only when you first look at it. A page you close without looking at it is never sent, with one exception: if it played sound, its domain and audible seconds are in the daily sound figures.
- A page opened during a pause is not sent, even after you resume, until you leave it by a full page load. A route change inside a single-page app is not leaving.
- While paused, nothing is recorded and nothing is uploaded by itself. Rows recorded before the pause wait for the resume. Sync now sends them right away.
- If the account your id is linked to gets closed, the server refuses that id for good. The extension then stops tracking, drops what is queued and says so, and offers a new id.
- Your id works as a key, so treat it like a password. Whoever has it can read its totals for the last 7 days (visits, time, number of sites), can add rows under it and, while no account has linked it, can link it to their own account and open its data. Once it is linked, the full data is visible only to the TechTools account it is linked to.
- The bridge goes by the document the browser loaded, so a script on another techtools.cz page cannot get your id by rewriting its address. That removes the route without a click: a script already running on techtools.cz can still open the real dashboard page on a click and be offered the id there. Version 1.4.0 has no such check and cannot be fixed from here.
- The data lives on the TechTools server and has no automatic expiry today. You can export it or delete it on the dashboard while the id is linked to your account.
- If you uninstall without linking the id to an account, the id is gone with the browser's storage and its data stays on the server where you cannot reach it. Link first if you may want to delete it later.
- After you press Start tracking, the script on techtools.cz asks techtools.cz who is signed in, and every install then calls the lock address of an internal console at brain.techtools.cz, with its cookies for that host. Only a staff account gets unlocked.
background.js starts lib/tracker.js, an MV3 service worker that may die at any moment. So every event runs through one
serialised queue, changes state first (in memory and storage.session, with the open time segment mirrored to storage.local
for a browser crash) and never waits for the network. Rows go to an outbox in storage.local. A separate flush sends batches of
at most 200 rows and removes only what the server answered. A 1-minute alarm caps a time segment at the last tick when more than
2 minutes passed, which is how laptop sleep is kept out of the numbers.
| File | Role |
|---|---|
lib/sanitize.js |
The one gate: URL stripping, private hosts, exclusions, titles, the last check on every row |
lib/tracker.js |
The state machine, the one predicate for "time counts", all event listeners |
lib/outbox.js |
Queue, per-row acknowledgement, retry, backoff, envelope |
lib/stats.js |
Daily counters and audible seconds as absolute totals |
lib/settings.js |
Settings, consent, id |
lib/messages.js |
Sender checks: popup and settings actions only from extension pages, id and brain messages only from a techtools.cz content script |
content.js |
Dashboard pairing bridge on /tools/magic-extension/app and the console sync. Nothing else |
There is no build step and the extension has no dependencies. package.json exists only for the tests.
node --test test/They run the real worker code against a fake browser whose tabs, storage and clock outlive any worker instance, so a worker death is a real restart from storage.
See LICENSE.