a chromium extension pattern. alert key on keydown.