Last active
August 29, 2015 13:57
-
-
Save cgfarmer4/9383541 to your computer and use it in GitHub Desktop.
Access top frame/window from iframe in node-webkit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Update package.json with the following | |
"node-remote": "http://example.com", | |
"chromium-args": "--disable-web-security" | |
// HTML: <iframe src="http://example.com" nwfaketop></iframe> | |
parent.window.root.GLOBAL.window |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment