A fast, lightweight, keyboard-driven floating tab switcher HUD for Chromium browsers on Windows.
Summon instantly with Alt + Q or Alt + `, search in real time, and switch tabs without touching your mouse.

🎬 Watch 1080p Video Demonstration (assets/demo.mp4) • 🎮 Interactive Browser Demo (demo.html)
Quick Install • Keyboard Shortcuts • Features • Architecture • Troubleshooting
Note
AltTabs is an in-browser tab switcher HUD, not a replacement for the Windows application Alt+Tab window switcher. It is designed specifically to solve tab overload inside Chromium browsers (Brave, Google Chrome, Microsoft Edge, Opera, and Vivaldi) without injecting into Explorer or altering web pages.
Power users and developers frequently keep dozens of tabs open across research, documentation, pull requests, and communication tools.
- Modern Chromium browsers squish tabs into unreadable slivers once you pass 30+ tabs.
- Finding a specific tab requires either endless mouse clicking or opening separate history menus.
- Browser extensions designed for tab switching add DOM overhead, require broad browser permissions, and fail when browser focus is lost.
AltTabs runs as an isolated, native Win32 tool mod via Windhawk. When you press Alt + Q or Alt + `:
- A sleek, centered dark HUD immediately floats over your active browser window.
- It displays all open tabs with their titles and root domain tags (
github.com,youtube.com). - You can instantly filter the list by typing keywords or navigate with
Tab/Arrow Keys. - Pressing
Enterbrings the target tab into view immediately.
┌────────────────────────────────────────────────────────────────────────┐
│ ALTTABS QUICK SWITCHER │
├────────────────────────────────────────────────────────────────────────┤
│ 🔍 Search: git │
├────────────────────────────────────────────────────────────────────────┤
│ > Dszae/AltTabs: Browser Tab Switcher HUD github.com │
│ Issue #12: Support vertical tab strips github.com │
│ Pull Request #6964: Add AltTabs Mod github.com │
├────────────────────────────────────────────────────────────────────────┤
│ [Tab / ↑↓] Navigate [Enter] Switch Tab [Esc] Close │
└────────────────────────────────────────────────────────────────────────┘
- ⚡ Instant Keyboard Activation: Summon the switcher with
Alt + Q(universal across all physical keyboard layouts) orAlt +` (key directly above Tab). - 🔍 Real-Time Fuzzy Filter: Simply start typing any keyword to narrow down dozens of open tabs in milliseconds.
- 🏷️ Root Domain Tagging: Automatically detects and groups titles by website domain (
github.com,stackoverflow.com,reddit.com) for rapid visual scanning. - 🎨 Windows 11 Fluent Aesthetics: Uses DWM dark mode, rounded corners (
DWMWCP_ROUND), ClearType Segoe UI typography, and double-buffered GDI rendering. - 🔒 100% Offline & Private: Zero telemetry, zero analytics, zero external network traffic. Everything executes strictly in local memory.
- 🪶 Zero Background Impact: Uses a non-polling event model. Consumes 0% CPU and < 8 MB RAM when idle.
- 🛡️ Clean Separation: Runs inside an isolated Windhawk tool process. Does not inject hooks into
explorer.exeor modify webpage DOM content.
AltTabs is installed as a custom local mod in Windhawk, the trusted Windows customization engine. This provides direct installation without waiting for repository catalog publishing.
- Windows 10 (version 1809+) or Windows 11 (all versions).
- Windhawk installed (free, open-source).
- Open the Windhawk application from your Start Menu or system tray.
- In the top-right corner, click the three dots menu (
···)$\rightarrow$ select Advanced Options. - Click Create Local Mod (or the
+New Mod button).
- Open the
ChromiumAltTabInjector.wh.cppfile from this repository. - Copy the entire file content (
Ctrl + A, thenCtrl + C). - In Windhawk's built-in code editor, replace all existing code with your copied code (
Ctrl + A, thenCtrl + V).
- Press
Ctrl + S(or click Save$\rightarrow$ Compile Mod). - Windhawk will compile the mod in ~3 seconds using its internal toolchain.
- Once compiled, the status will display Loaded.
You're done! Switch to your browser and press Alt + Q.
To disable or remove AltTabs:
- Open Windhawk.
- Find AltTabs - Browser Tab Switcher HUD on your home screen.
- Click Details
$\rightarrow$ toggle the switch to Disabled, or click Uninstall.
All controls are active whenever the AltTabs HUD is open:
| Shortcut | Action | Description |
|---|---|---|
Alt + Q |
Summon / Cycle | Summons the HUD over your browser. Tap repeatedly to cycle tabs. |
Alt + /Alt + ~` |
Alternative Summon | Secondary trigger using the backtick key directly above Tab. |
Tab or ↓ Down Arrow |
Next Tab | Moves selection down by one row. |
Shift + Tab or ↑ Up Arrow |
Previous Tab | Moves selection up by one row. |
Any Character Key (a-z, 0-9) |
Filter / Search | Types directly into the search bar, filtering visible tabs instantly. |
Backspace |
Delete Character | Removes the last typed filter character. |
Enter |
Activate Tab | Switches to the selected tab and dismisses the HUD. |
| Left Click | Mouse Selection | Direct click on any row activates that tab immediately. |
Esc |
Dismiss | Closes the HUD without changing the active tab. |
AltTabs targets the standard Chromium Views accessibility tree (Chrome_WidgetWin_1).
| Browser | Status | Verification Details |
|---|---|---|
| Brave Browser | ✅ Verified | Fully tested and verified on Windows 11. Tab strip enumeration and selection verified. |
| Google Chrome | ✅ Supported | Standard Chromium Views architecture (Chrome_WidgetWin_1). |
| Microsoft Edge | ✅ Supported | Standard Chromium Views architecture (Chrome_WidgetWin_1). |
| Opera | 🟡 Expected | Uses Chromium Views; community testing in progress. |
| Vivaldi | 🟡 Expected | Uses Chromium Views; community testing in progress. |
| Mozilla Firefox | ❌ Unsupported | Uses Gecko XUL rendering engine (MozillaWindowClass), not Chromium Views. |
AltTabs is designed to adhere strictly to Windows system programming best practices:
sequenceDiagram
autonumber
actor User as User (Alt+Q / Alt+`)
participant Hook as Low-Level Keyboard Hook (WH_KEYBOARD_LL)
participant HUD as TabSwitcherHUD (Win32 Window)
participant UIA as Windows UI Automation (CUIAutomation)
participant Browser as Browser Window (Chrome_WidgetWin_1)
User->>Hook: Presses Alt+Q or Alt+`
Hook->>HUD: PostMessage(WM_APP + 10) [Non-blocking <0.1ms]
HUD->>Browser: SendMessageTimeout(WM_GETOBJECT) [Ensures accessibility tree is awake]
HUD->>UIA: ElementFromHandle + FindAll(TreeScope_Descendants, UIA_TabItemControlTypeId)
Browser-->>UIA: Returns tab elements (names, bounds)
HUD->>HUD: Parse root domains + apply filter
HUD-->>User: Displays Centered Double-Buffered HUD
User->>HUD: Types filter query / presses Tab / Enter
HUD->>Browser: IUIAutomationSelectionItemPattern::Select()
Browser-->>User: Selected tab brought into active focus
- Dedicated Process Tool Mod (
windhawk.exe -tool-mod): Runs as a standalone tool process rather than injecting DLL code intoexplorer.exeor third-party web browsers. This eliminates Explorer stability risks. - DLL Module Binding for Hooks:
The
WH_KEYBOARD_LLhook is installed usingHINST_THISCOMPONENT(&__ImageBase), ensuring the Windows hook manager accepts the hook procedure without rejectingwindhawk.exeas an invalid module. - Dedicated COM Worker Thread:
Runs its own Win32 message loop with
CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED). Heavy UIA calls never block the low-level keyboard hook callback. - Resilient Window Activation:
Tab activation uses a 4-tier fallback:
IUIAutomationSelectionItemPattern::Select()IUIAutomationLegacyIAccessiblePattern::DoDefaultAction()IUIAutomationInvokePattern::Invoke()- Client coordinate mouse click fallback (
WM_LBUTTONDOWN/WM_LBUTTONUP).
- Guaranteed Display Fallback: If Chromium accessibility takes more than 50ms to populate on first launch, AltTabs captures the active browser window title as a fallback item so the HUD is guaranteed to open visibly on every keystroke.
We believe system utilities should be completely transparent:
- No Network Permissions: AltTabs makes zero outbound HTTP/HTTPS requests and has no network sockets open.
- No Telemetry: No tracking, usage analytics, or error reporting is transmitted.
- No Page DOM Access: AltTabs operates strictly at the desktop window accessibility level (
UIA_TabItemControlTypeId). It never reads webpage content, passwords, forms, or cookies. - Open Source Auditable: The entire codebase is self-contained in a single readable source file:
ChromiumAltTabInjector.wh.cpp.
AltTabs is built for zero perceptible latency:
- Idle Resource Usage: 0.0% CPU, < 8 MB private working set.
- Activation Latency: < 15ms from keypress to HUD paint on modern systems.
- Open Windhawk and navigate to the AltTabs mod page.
- Click the Log tab to view real-time timing and enumeration logs generated via
Wh_Log:AltTabs: Worker thread started, CoInitializeEx hr=0x00000000 AltTabs: Low-level keyboard hook installed successfully AltTabs: Found 24 UIA tab items in browser hwnd=0x000508B2 AltTabs: HUD displayed for browser hwnd=0x000508B2 (Brave) with 24 tabs - Open Windows Task Manager
$\rightarrow$ Details, locate thewindhawk.exeprocess with command-line-tool-mod "chromium-alttab-tabs", and observe memory and CPU remain at 0% when idle.
- v1.1.0: Standalone floating HUD with Win32 rounded corners & dark mode.
- v1.1.1: Dual universal hotkeys (
Alt + QandAlt +`), COM apartment fixes, and guaranteed fallback display. - v1.2.0: User-configurable hotkey selector in Windhawk mod settings UI.
- v1.3.0: Favicon rendering extracted directly from Chromium cache.
- v1.4.0: Multi-window tab switching (switch across all open browser windows simultaneously).
Contributions are warmly welcomed! Please read CONTRIBUTING.md for details on setting up your environment and submitting changes.
- Fork this repository and clone your fork:
git clone https://github.com/<your-username>/AltTabs.git
- Open Windhawk
$\rightarrow$ Advanced Options$\rightarrow$ Create Local Mod. - Edit
ChromiumAltTabInjector.wh.cppin your editor of choice (e.g., VS Code). - Paste and test your changes in Windhawk.
- Submit a Pull Request targeting the
mainbranch.
Why Alt + Q instead of Alt + Tab?
Windows 11's Alt-Tab switcher is controlled by XamlExplorerHost.exe, which tightly couples the taskbar with the Alt-Tab list. Modifying it causes unwanted ghost windows or taskbar flickering. A dedicated floating HUD triggered by Alt + Q provides instantaneous response, custom real-time search, domain grouping, and zero interference with native Windows multitasking.
Nothing happens when I press Alt + Q. What should I check?
1. Verify the mod status in Windhawk displays Loaded.2. Ensure an active Chromium browser window (Brave, Chrome, Edge) is currently open and focused.
3. Open the Log tab in Windhawk to verify that the worker thread and hook initialized successfully.
Can I change the keyboard shortcut?
Yes. InChromiumAltTabInjector.wh.cpp, locate LowLevelKbdHookProc and adjust the virtual key code (e.g., replace 'Q' with your preferred key). A GUI setting for hotkey configuration is planned in an upcoming release.
Does this work with vertical tabs in Brave or Edge?
Yes! Chromium's UI Automation tree represents tabs asUIA_TabItemControlTypeId regardless of whether tab strips are positioned horizontally or vertically.
- License: Released under the open-source MIT License.
- Acknowledgements: Built on the open-source Windhawk framework developed by Ramen Software.