Browse Source

add ability to set title from url

Anthony Young 14 years ago
parent
commit
2270c7b5ae
1 changed files with 1 additions and 0 deletions
  1. 1 0
      vnc_auto.html

+ 1 - 0
vnc_auto.html

@@ -88,6 +88,7 @@
 
 
             $D('sendCtrlAltDelButton').onclick = sendCtrlAltDel;
             $D('sendCtrlAltDelButton').onclick = sendCtrlAltDel;
 
 
+            document.title = unescape(WebUtil.getQueryVar('title', 'noVNC'));
             host = WebUtil.getQueryVar('host', null);
             host = WebUtil.getQueryVar('host', null);
             port = WebUtil.getQueryVar('port', null);
             port = WebUtil.getQueryVar('port', null);
             password = WebUtil.getQueryVar('password', '');
             password = WebUtil.getQueryVar('password', '');