Skip to content

Commit 83dd599

Browse files
committed
vnc_lite.html.patch: Patch to remove the status bar
1 parent 7c0eed2 commit 83dd599

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

vnc_lite.html.patch

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git 1/vnc_lite.html 2/vnc_lite.html
2-
index 8e2f5cb..02ea33c 100644
2+
index 8e2f5cb..245b8ef 100644
33
--- 1/vnc_lite.html
44
+++ 2/vnc_lite.html
55
@@ -68,6 +68,7 @@
@@ -10,3 +10,35 @@ index 8e2f5cb..02ea33c 100644
1010
}
1111

1212
// This function is called when we are disconnected
13+
@@ -101,9 +102,7 @@
14+
}
15+
16+
// Show a status text in the top bar
17+
- function status(text) {
18+
- document.getElementById('status').textContent = text;
19+
- }
20+
+ function status(text) {}
21+
22+
// This function extracts the value of one variable from the
23+
// query string. If the variable isn't defined in the URL
24+
@@ -132,9 +131,6 @@
25+
return defaultValue;
26+
}
27+
28+
- document.getElementById('sendCtrlAltDelButton')
29+
- .onclick = sendCtrlAltDel;
30+
-
31+
// Read parameters specified in the URL query string
32+
// By default, use the host and port of server that served this file
33+
const host = readQueryVariable('host', window.location.hostname);
34+
@@ -178,10 +174,6 @@
35+
</head>
36+
37+
<body>
38+
- <div id="top_bar">
39+
- <div id="status">Loading</div>
40+
- <div id="sendCtrlAltDelButton">Send CtrlAltDel</div>
41+
- </div>
42+
<div id="screen">
43+
<!-- This is where the remote screen will appear -->
44+
</div>

0 commit comments

Comments
 (0)