brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Ctrl+Shift+P in Chrome DevTools opens a command menu

Devtools
~/tips/devtools-command-menu

cat ~/tips/devtools-command-menu.md

Opens a searchable command menu in Chrome DevTools, for example for full-page screenshots.

Chrome DevTools has so many panels and settings that I stopped trying to remember where they live. The command menu works like the one in VS Code.

Open DevTools, focus it, and press Ctrl+Shift+P (Cmd+Shift+P on a Mac). Type a few letters and pick a command. Two I like:

  • Capture full size screenshot saves the whole page as one image, not only what is on screen.
  • Disable JavaScript shows what the page looks like without scripts.

Caveat: the menu opens only when the DevTools window has focus. If the page has focus, the shortcut does something else or nothing.

Further reading: Chrome DevTools command menu

More Devtools tips Clear site data for one site from Chrome DevTools user.id === 42 $x(path [, startNode]) @media (prefers-color-scheme: dark) { queryObjects(Promise) All Devtools tips (22) All topics

Link