4 ms·
$(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
by cj 14y ago
$(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.
- est 14y agoHmm, we are not talking about web page js here, we are talking about Chrome API js here. It's far more powerful.