Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

$(document).keypress won't pick up keystrokes from across tabs or windows. So unless the popup is the active window, you should be safe from something like this.


Hmm, we are not talking about web page js here, we are talking about Chrome API js here. It's far more powerful.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: