Skip to main content
Back

Tab Jumper

Projects/Tab Jumper

Tab Jumper

Completed

A dependency-free browser extension for navigating visited tabs or switching between the two most recent tabs.

Chrome Manifest V3 · unpacked extension

Tab JumperProject screenshot pending

Problem

Tab-strip order is different from the order a user actually visits tabs.

Design principle

Navigation through recently visited tabs is a state-management problem, not a tab-strip ordering problem.

Maximum visit entries per session
100
Navigation modes
2
Requested Chrome permission: storage
1

How it works

  1. Observe tab activation

    A Manifest V3 service worker connects Chrome tab events and commands to the history model.

  2. Update the visit trail

    Pure transitions maintain ordered tab/window IDs, a cursor and two recent distinct tabs; a new manual visit truncates the forward path.

  3. Navigate or toggle

    History commands move the cursor while recent mode selects the previous distinct tab.

  4. Maintain valid local state

    Closed or replaced tabs are reconciled, old visits are bounded and preferences persist independently of session history.

Engineering decisions

Separate pure state transitions
The history model is testable without driving a browser and the background module handles platform events.
Store identifiers, not browsing content
Only tab/window identifiers and the selected mode are required; the manifest requests storage and no history or host permissions.
Make history session-scoped
Temporary history resets on browser exit while the selected mode survives in local storage.

Verification and evidence

The manifest and history model confirm a storage-only permission set, session-history cap, cursor operations, branching, pruning and recent-tab toggle logic. The repository documents tests for navigation, tab replacement, cleanup and the size limit.

Scope and limitations

The extension is installed unpacked, not claimed as a published Chrome Web Store product. Actual visit history resets when Chrome closes, and suggested shortcuts can conflict with existing browser or extension commands.

Stack used

Chrome Extension
Manifest V3
JavaScript