3 ms·
Is it possible these days to trap keystrokes like Ctrl+W in browsers? The last time I tried a web browser-hosted SSH client, Ctrl+W (and co) didn't get sent re
by ctz 12y ago
Is it possible these days to trap keystrokes like Ctrl+W in browsers? The last time I tried a web browser-hosted SSH client, Ctrl+W (and co) didn't get sent remotely but instead closed the local tab like normal.
- sdrothrock 12y agoCan do! https://github.com/jeresig/jquery.hotkeys https://github.com/jeresig/jquery.hotkeys I've seen some annoying pages that actually intercept ctrl-s or ctrl-p to do some custom saving or printing function, too.