node.js - Node-Webkit Iframe Not Displaying Internet Browser -
maybe installed incorrectly or something, no matter try, can't browser window display in iframe. copy-pasted code illustration found main page:
<!doctype html> <html> <head> <meta charset="utf-8"> <title>test</title> </head> <body> <b>you should able see google in iframe below:</b> <iframe src="https://www.google.com" style="width: 80%;" nwdisable nwfaketop> </iframe> </body> </html>
i copy-pasted json file:
{ "name": "test", "main": "main.html", "window": { "width": 600, "height": 400, "position": "center", "title": "test", "resizable": true } }
when run code "c:\node-webkit\nw.exe ." command line, "you should able see google in iframe below:" empty box below it.
also, i'm on windows. help appreciated.
edit: i'm able run of sample apps here
the problem was trying load https site within http window.
node.js iframe node-webkit
No comments:
Post a Comment