summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Young <sleepsonthefloor@gmail.com>2011-06-26 00:36:27 -0700
committerJoel Martin <github@martintribe.org>2011-06-26 13:21:45 -0500
commit2270c7b5ae30c96317c8684ab1c1c2cc692642cd (patch)
tree429c6d0b07a1a80e70f92b3e41d1231dfcece4c6
parent939cc6d563455f226cbaa9148effa09da783b3b6 (diff)
downloadnovnc-2270c7b5ae30c96317c8684ab1c1c2cc692642cd.tar.gz
add ability to set title from url
-rw-r--r--vnc_auto.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/vnc_auto.html b/vnc_auto.html
index 8851605..10b1949 100644
--- a/vnc_auto.html
+++ b/vnc_auto.html
@@ -88,6 +88,7 @@
$D('sendCtrlAltDelButton').onclick = sendCtrlAltDel;
+ document.title = unescape(WebUtil.getQueryVar('title', 'noVNC'));
host = WebUtil.getQueryVar('host', null);
port = WebUtil.getQueryVar('port', null);
password = WebUtil.getQueryVar('password', '');