Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
gregorkas
13y ago
0 comments
Save
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
1 comments · 1 top-level
top
newest
oldest
gcb0
13y ago
i don't think this example is cross-domain...
j
/
k
navigate · click thread line to collapse