Is it possible to open a web page by an URL?


I am trying to open a web page when clicking a link with a hashlink app. Is that possible? If yes, how?

Thank you!


Did you try h2d.HtmlText?

Edit: You still can do Sys.command( 'start $yourUrl' ) on Windows. I have no idea about other OS, and I’m not sure how reliable this is.

#3 this merge request added a hxd.System.openURL(url), which basically runs the command listed above, except it should work on windows, linux, and mac.