Running Chrome Dev Tools Snippet From Keyboard
How do I run Chrome Dev Tools snippets from the keyboard or assign them to shortcut keys?
I'm finding snippets really useful for automating small tasks with javascript and I'd like to trigger them from the keyboard for extra speed. Any idea how?
The key sequence mentioned in the comment above using the !
did not work for me.
Here's what works for me in Chrome 81:
- Ctrl+O
- Type name of snippet
- Enter -> Jumps to the snippet. Cursor is now inside its code area
- Ctrl+Enter -> Execute snippet
Still agree that a command which allows direct execution using Ctrl+P
would be superior...