droidVncServer/res/raw/vnc.js
Jose Pereira c8e4a65bd1 merged version 1.0a3
- Rotation now fully working (on demand with F4 key)
- Speed improvements and bug fixes
- Improved server state detection (using IPC)
- changed to LibVNCServer from kanaka repository
- New webserver vnc client (noVNC), uses javascript
- Ability to make a reverse connection
- Two new framebuffer access methods (gingerbread and adb)
- New minimalistic interface
2011-10-29 11:56:13 +01:00

44 lines
1.1 KiB
JavaScript
Executable File

/*
* noVNC: HTML5 VNC client
* Copyright (C) 2011 Joel Martin
* Licensed under LGPL-3 (see LICENSE.txt)
*
* See README.md for usage and integration instructions.
*/
/*jslint evil: true */
/*global window, document, INCLUDE_URI */
/*
* Load supporting scripts
*/
function get_INCLUDE_URI() {
return (typeof INCLUDE_URI !== "undefined") ? INCLUDE_URI : "";
}
(function () {
"use strict";
var extra = "", start, end;
start = "<script src='" + get_INCLUDE_URI();
end = "'><\/script>";
// Uncomment to activate firebug lite
//extra += "<script src='http://getfirebug.com/releases/lite/1.2/" +
// "firebug-lite-compressed.js'><\/script>";
extra += start + "util.js" + end;
extra += start + "webutil.js" + end;
extra += start + "logo.js" + end;
extra += start + "base64.js" + end;
extra += start + "websock.js" + end;
extra += start + "des.js" + end;
extra += start + "input.js" + end;
extra += start + "display.js" + end;
extra += start + "rfb.js" + end;
document.write(extra);
}());