← All posts

API & helpers

Global keyboard shortcuts Ctrl+Shift+L/S/K/H — keyboard-first workflow for Output Console

A power user doesn't want to click. A power user wants Ctrl+Shift+something and see an effect. Since v2.13.75 JustZix added 4 global shortcuts for Output Console — all live in a capture-phase listener on document, so they work even when focus is in an app textarea, when the page has a vim mode, or when you're stuck on a modal popup. The only condition: at least one Output Console pane lives on the page.

Four shortcuts — what they do

ShortcutActionAffectsSince
Ctrl+Shift+LClear logAll Output Consoles on the pagev2.13.75
Ctrl+Shift+SToggle search boxAll OCv2.13.78
Ctrl+Shift+KCycle viewMode [C+J] → [C] → [J] → [C+J]All OCv2.13.78
Ctrl+Shift+HShow / hide API help popupSingleton overlayv2.13.78

All shortcuts broadcast to every rendered Output Console — if you have 3 OC panes in a tab (e.g. one filtered by "fetch", another by "GTM", a third raw), Ctrl+Shift+L clears all three.

Why Ctrl+Shift, not just Ctrl?

Previously (v2.13.69-74) Output Console had Ctrl+L as clear. Problem: Ctrl+L in some browsers focuses the address bar if focus is outside a textarea. No clean conflict resolution — the content script listener doesn't always block the native browser shortcut.

Ctrl+Shift+L has no collision with native shortcuts. Bonus: same pattern as the others (Ctrl+Shift+S/K/H) — easier to remember ("they all start with Ctrl+Shift").

Capture-phase listener — why this works everywhere

Picture a typical keydown flow on a page:

document (capture) ↓
  body (capture) ↓
    div.container (capture) ↓
      textarea#commentBox (target) ← user types here
    div.container (bubble) ↑
  body (bubble) ↑
document (bubble) ↑

JustZix attaches a listener on document in capture phase — first in the chain, before any page handler. On a match (Ctrl+Shift+L/S/K/H), JustZix calls e.preventDefault() + e.stopPropagation() and the page never sees the event. Works even when focus is in a textarea — where Ctrl+L would normally "select all text".

Use case 1 — Keyboard-first QA workflow

You're cyclically testing 5 flows in an app. Each flow:

  1. Perform an action (click around in the app)
  2. Check Output Console — does the log look OK
  3. Clear the log before the next flow

Without shortcuts: step 3 = right-click on Output Console header → "Clear log". With a shortcut: Ctrl+Shift+L. 5× faster, hands stay on the keyboard, focus stays on the tested app.

Bonus: if a flow logs hundreds of lines, after using it you may want only your JZ.log: Ctrl+Shift+K twice → [J] mode → only your logs visible. Another Ctrl+Shift+K → [C] (only the page). A third → [C+J] (everything).

Use case 2 — API discovery via Ctrl+Shift+H

A new JustZix user. Knows there's JUSTZIX.log(), but doesn't remember what else. Instead of opening the docs:

Ctrl+Shift+H → an overlay with a popup:

Esc / click outside / re-Ctrl+Shift+H close it. Since v2.13.80 the popup is draggable by the header — you can move it aside to see something underneath, clamped to viewport so it can't fly off-screen.

Use case 3 — Search without reaching for the mouse

Output Console shows 800 lines. You're searching for "purchase". Mode one: scroll and Ctrl+F (browser search) — works, but Ctrl+F also finds text in other page elements.

Mode two: Ctrl+Shift+S → search box slides out above the log, focus there, you type "purchase" → live filter shows only matching lines. Esc clears search. Another Ctrl+Shift+S closes the search box.

Bonus: search is per-tab persistent in sessionStorage. F5 → the search returns with the old filter.

Use case 4 — Multi-monitor power user

Monitor 1: the app under test. Monitor 2: the same tab in another window (Chrome "Move to other window" + drag). The first tab triggers a flow, the second tab shows Output Console full-screen. Ctrl+Shift+L with focus on monitor 2 → clears both tabs? No — the shortcut works per-tab, so only the tab where you left focus.

For cross-tab sync → use a JS rule + JUSTZIX.log on both, with a timestamp to filter.

Pitfalls

What's next

Global shortcuts are a "power user layer" over Output Console — most users will be fine clicking buttons in the pane header. But if a QA toolbar is your daily tool, these 4 shortcuts will save you tens of minutes per week.

Check also related:

Install JustZix — completely free, no account, no server.

Rate this post

No ratings yet — be the first.

Try it yourself

Install JustZix and paste any snippet from this article. Two minutes from zero to a working rule across all your devices.

Get JustZix

Features · How it works · Examples · Use cases