madrobby/keymaster — pull request #109 by ysmood (2013-12-11 07:19:32+00:00)
Title: Add support for iframe key capture.

Usage:

ikey = keymaster(
document.getElementById('#iframe').contentWindow
);

ikey('ctrl+a', iframe_handler);

// Still compatible with the previous api.
key('ctrl+b', host_window_handler);