Tab Navigator is a Manifest V3 extension written in JavaScript, HTML, and CSS. It uses browser APIs directly. No application build step or runtime package manager is needed.
| Path | Responsibility |
|---|---|
extension/background.js |
Service-worker events, recency state, command routing, and messages from extension pages. |
extension/popup.js |
Version and markup checks before starting the popup. |
extension/palette.js |
Search, selection, virtualized rows, recent-tab preview, and bulk-action controls. |
extension/lib/search.js |
Text normalization, match quality, and ranking. |
extension/lib/result-view.js |
Domain grouping, stable result order, and virtual layout. |
extension/lib/bulk.js |
Tab closing, recovery journal, groups, and bookmark writes. |
extension/lib/close-review.js |
Short-lived selection reviews and checks for explicitly approved closures. |
extension/lib/input-check.js |
Bounded, on-demand inspection for possible unsaved input. |
extension/context.js |
Optional page-text extraction in idle slices. |
extension/review.js |
Duplicate groups, keeper choices, immediate cleanup and close results. |
extension/organize.js |
Chart navigation, scoped selection, bookmark destinations, and duplicate review. |
extension/lib/organizer-map.js |
Groups tabs by topic, service, domain, and time since last use. |
extension/lib/tab-thumbnail-capture.js |
Optional foreground capture, site exclusions, and image resizing. |
extension/lib/tab-thumbnail-store.js |
A bounded IndexedDB image cache encrypted with a session key. |
extension/bookmarks.js |
Resumable destination selection and bookmark permission flow. |
extension/options.js |
Preferences, optional website access, and shortcut status. |
The popup requests a snapshot from the service worker, which reads open tabs, groups, recency, and optional cached excerpts. Search ranking happens locally. History adds Chrome history candidates for the query. Enabling Bookmarks asks for bookmark permission and loads saved titles, URLs, and folder paths into popup memory for local matching. New snapshots preserve the visible order until the query or filters change.
Mutating service-worker operations are serialized. Recent-tab previews keep a frozen list so activation cannot continually rearrange the cycling order. Session storage preserves that state when the service worker sleeps.
Explicit close actions first persist a recovery batch in local storage. Failure to save the batch prevents closure. Duplicate cleanup rechecks eligibility and the expected full address before removal. Ordinary cleanup also requires a surviving keeper. In the full duplicate workspace, users can explicitly mark a pinned, active or audible tab, or mark every copy of one address. Only that last choice permits closing the final copy. A filtered batch applies only to matching duplicate groups.
For each successful removal, duplicate cleanup counts the loaded or unloaded state Chrome last reported for that tab. The workspace’s total comes from open tabs across all windows, independently of the duplicate filter. Undo uses the saved addresses and metadata to reopen tabs for one minute after each close. Unsaved page contents are outside the recovery journal.
Selections made in the search popup are persisted before bookmark permission is requested. A dedicated extension page continues the task even if Chrome dismisses the popup. The saved selection is removed or reduced after completion, cancellation, or partial failure.
The privacy notice is the source of truth for retention and controls.
The only bundled third-party executable code is tldts, used for Public Suffix List domain grouping. Its exact source and license are retained in extension/vendor/. Node dependencies are development tools; they are not shipped in the extension ZIP.
scripts/release-files.json explicitly lists every shipped file. Adding a runtime file requires updating that list. npm run package checks the list and produces a ZIP plus SHA-256 checksum. The extension package includes the tour videos and their posters. Tests, source artwork, browser profiles, store screenshots, and reports stay outside it.