]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - doc/menu_lua_api.txt
Add core.open_url() to main menu API (#8592)
[dragonfireclient.git] / doc / menu_lua_api.txt
index 8f5460acb19c938f1dc1c63dd5448632b10a1ec8..485c501102f1da2ca8418bc47de760f56fe8f5d3 100644 (file)
@@ -234,6 +234,11 @@ core.get_min_supp_proto()
 core.get_max_supp_proto()
 ^ returns the maximum supported network protocol version
 
+Other:
+core.open_url(url)
+^ opens the URL in a web browser, returns false on failure.
+^ Must begin with http:// or https://
+
 Async:
 core.handle_async(async_job,parameters,finished)
 ^ execute a function asynchronously