From 97bfe5ba25fee6894aa0bf157b493b62870a4d48 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Thu, 6 May 2010 17:08:53 -0500 Subject: [PATCH] Move controls to vnc.js, make vnc.html very simple. --- vnc.html | 82 ++-------------------------- vnc.js | 161 ++++++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 136 insertions(+), 107 deletions(-) diff --git a/vnc.html b/vnc.html index c577068d..4c721717 100644 --- a/vnc.html +++ b/vnc.html @@ -1,84 +1,12 @@ - VNC Client + + VNC Client + + - - Host:   - Port:   - Password:   - Encrypt:   -   -

- -
Loading
- - Canvas not supported. - - -

- VNC Clipboard: -
- +
Loading
- - - - - - - - - - - - diff --git a/vnc.js b/vnc.js index 372b485f..93dabc4f 100644 --- a/vnc.js +++ b/vnc.js @@ -1,3 +1,107 @@ +/* + * HTML5 VNC client. To use, include this script and define a div with + * id of 'vnc'. For example: + * + * + *
Loading
+ * + * + * This script defines the following globals: + * VNC_scripts, VNC_native_ws, FBU, RFB, + * RQ, RQ_reorder, RQ_seq_num, SQ + */ + + +/* + * Load supporting scripts + */ + +VNC_scripts = ""; + +// Uncomment to activate firebug lite +//VNC_scripts += "