From 313f94b91522929e060de173ea8a319903632346 Mon Sep 17 00:00:00 2001 From: Doug Feigelson Date: Fri, 8 Jun 2018 00:46:02 -0700 Subject: [PATCH] add vncurl --- vnc_auto.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vnc_auto.html b/vnc_auto.html index 8798614e..a19236ba 100644 --- a/vnc_auto.html +++ b/vnc_auto.html @@ -104,7 +104,7 @@
-
Show VNC Credentials
+
Show VNC Credentials (open)
@@ -343,6 +343,7 @@ } window.history.replaceState({}, document.title, window.location.pathname + "?rid=" + rid); + document.getElementById('zn-vncurl').href = "vnc://:" + password + "@" + window.location.hostname + ":" +vncPort; document.getElementById('zn-creds-host').innerHTML = window.location.hostname + ":" + vncPort; document.getElementById('zn-creds-password').innerHTML = password; document.getElementById('zn-show-creds').addEventListener('click', function() {
VNC Host:
VNC Password: