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: