Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
gregorkas
12y ago
0 comments
Share
You don't. You register a key press event listener on the main page and when the user types into the iframe, you can catch the strokes.
Example:
http://www.jayssite.com/misc/iframesample.html
(not my site, I googled it)
0 comments
default
newest
oldest
gcb0
12y ago
i don't think this example is cross-domain...
j
/
k
navigate · click thread line to collapse