]> git.proxmox.com Git - mirror_novnc.git/blobdiff - vnc_lite.html
Document default setting of `focusOnClick`
[mirror_novnc.git] / vnc_lite.html
index e0267716c43115655daa0f7cada64b78b27e6c37..d17ab9ee458da78fde2bf35a6308818928dcbfe2 100644 (file)
 
     <meta charset="utf-8">
 
+    <!-- Always force latest IE rendering engine (even in intranet) &
+                Chrome Frame. Remove this if you use the .htaccess -->
+    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+
     <style>
 
         body {
             // because Firefox < 53 has a bug w.r.t location.search
             const re = new RegExp('.*[?&]' + name + '=([^&#]*)'),
                   match = document.location.href.match(re);
-            if (typeof defaultValue === 'undefined') { defaultValue = null; }
 
             if (match) {
                 // We have to decode the URL since want the cleartext value
         // By default, use the host and port of server that served this file
         const host = readQueryVariable('host', window.location.hostname);
         let port = readQueryVariable('port', window.location.port);
-        const password = readQueryVariable('password', '');
+        const password = readQueryVariable('password');
         const path = readQueryVariable('path', 'websockify');
 
         // | | |         | | |