也许我安装了一些不正确的东西,但无论我怎么尝试,我都无法让浏览器窗口显示在iframe中。我从一个示例中复制粘贴代码到主页:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Test</title>
</head>
<body>
<b>You should be able to see Google in an iframe below:</b>
<iframe src="https://www.google.com" style="width: 80%;" nwdisable nwfaketop>
</iframe>
</body>
</html>
我也复制粘贴JSON文件:
{
"name": "test",
"main": "main.html",
"window": {
"width": 600,
"height": 400,
"position": "center",
"title": "Test",
"resizable": true
}
}
当我从命令行运行代码"C:node-webkitnw.exe ."时,我得到"您应该能够在下面的iframe中看到Google:"下面有一个空框。
而且,我用的是Windows。如能得到任何帮助,我将不胜感激。
编辑:我可以运行这里的所有示例应用程序
问题是我试图在HTTP窗口内加载HTTPS站点