-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvnc_lite.html.patch
More file actions
44 lines (39 loc) · 1.36 KB
/
Copy pathvnc_lite.html.patch
File metadata and controls
44 lines (39 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
diff --git 1/vnc_lite.html 2/vnc_lite.html
index 8e2f5cb..245b8ef 100644
--- 1/vnc_lite.html
+++ 2/vnc_lite.html
@@ -68,6 +68,7 @@
// successfully connected to a server
function connectedToServer(e) {
status("Connected to " + desktopName);
+ sizeToContent();
}
// This function is called when we are disconnected
@@ -101,9 +102,7 @@
}
// Show a status text in the top bar
- function status(text) {
- document.getElementById('status').textContent = text;
- }
+ function status(text) {}
// This function extracts the value of one variable from the
// query string. If the variable isn't defined in the URL
@@ -132,9 +131,6 @@
return defaultValue;
}
- document.getElementById('sendCtrlAltDelButton')
- .onclick = sendCtrlAltDel;
-
// Read parameters specified in the URL query string
// By default, use the host and port of server that served this file
const host = readQueryVariable('host', window.location.hostname);
@@ -178,10 +174,6 @@
</head>
<body>
- <div id="top_bar">
- <div id="status">Loading</div>
- <div id="sendCtrlAltDelButton">Send CtrlAltDel</div>
- </div>
<div id="screen">
<!-- This is where the remote screen will appear -->
</div>