Hacker News new | past | comments | ask | show | jobs | submit login

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.



Can do!

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.




Registration is open for Startup School 2019. Classes start July 22nd.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: