Y
Hacker News
new
|
ask
|
show
|
jobs
by
gcb0
4778 days ago
How exactly do you use javascript cross domain like that? i'd love to know.
1 comments
gregorkas
4777 days ago
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)
link
gcb0
4776 days ago
i don't think this example is cross-domain...
link
Example: http://www.jayssite.com/misc/iframesample.html (not my site, I googled it)