Explorar el Código

add ability to set title from url

Anthony Young hace 14 años
padre
commit
2270c7b5ae
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      vnc_auto.html

+ 1 - 0
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', '');