Hacker News new | ask | show | jobs
by mjpizz 5347 days ago
Good question. Since LightningJS writes the iframe with a "javascript:" URL, that iframe is really part of the same domain (and therefore same security context). To access the window on the original document, just use the "window.parent" object.