News for hackers. Stuff that matters.
Re:Show some love for iframes by gcb0 on Wednesday May 22, 2013 @05:13PM (#5753755)
How exactly do you use javascript cross domain like that? i'd love to know.
Re:Show some love for iframes by gregorkas on Thursday May 23, 2013 @04:58AM (#5755877)
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)

Re:Show some love for iframes by gcb0 on Thursday May 23, 2013 @08:05PM (#5760398)
i don't think this example is cross-domain...