cc0410a39b
- Trim unused code in base64.js
44 lines
1.3 KiB
HTML
44 lines
1.3 KiB
HTML
<html>
|
|
|
|
<head><title>VNC Client</title></head>
|
|
|
|
<body onload="draw();">
|
|
|
|
Host: <input id='host' style='width:100'>
|
|
Port: <input id='port' style='width:50'>
|
|
Password: <input id='password' type='password' style='width:80'>
|
|
<input id='connectButton' type='button' value='Connect' style='width:100px'
|
|
onclick="RFB.connect();">
|
|
<br><br>
|
|
|
|
<div id='status'>Disconnected</div>
|
|
<canvas id="vnc" width="640" height="100"
|
|
style="border-style: dotted; border-width: 1px;">
|
|
Canvas not supported.
|
|
</canvas>
|
|
|
|
<br>
|
|
Debug:<br>
|
|
<textarea id="debug" style="font-size: 9;" cols=80 rows=25></textarea>
|
|
</body>
|
|
|
|
<script src="include/mootools.js"></script>
|
|
<script src="include/mootools-more.js"></script>
|
|
<script src="include/base64.js"></script>
|
|
<script src="include/des.js"></script>
|
|
<script src="canvas.js"></script>
|
|
<script src="vnc.js"></script>
|
|
|
|
<script>
|
|
window.onload = function() {
|
|
var uri = new URI(window.location);
|
|
$('host').value = uri.getData("host");
|
|
$('port').value = uri.getData("port");
|
|
if (uri.getData("password")) {
|
|
$('password').value = uri.getData("password");
|
|
}
|
|
}
|
|
</script>
|
|
|
|
</html>
|