使用 node-webkit 超链接到网站

Hyperlink to a website using node-webkit

伙计们,我需要有人帮助我提供有关如何从 windows OS.

上的节点 webkit 桌面应用程序打开网站的完整编码教程

是的!我已经搜索并看到 gui.Shell.openExternal("http://www.example.org") 但我不知道如何 link 尤其是使用 html hyperlink(a ) 标签!

谢谢!

我终于找到了一种方法,这是我使用的代码。

var gui = require('nw.gui');

在 html 中用于链接的标签中,创建一个 id = "GoToWebsite"

document.getElementById('GoToWebsite').onclick = function(){gui.Shell.openExternal('http://www.nickzom.org');};