summaryrefslogtreecommitdiff
path: root/vnc_lite.html
Commit message (Collapse)AuthorAgeFilesLines
* Fix parsing of query string variablesSamuel Mannehed2021-09-081-1/+1
| | | | | | | | | | | This space that was added here was added to the parsed value of the query variable. This broke any comparisons with the value, for example "myvar=true" resulted in a value of "true ". This was broken by f796b05e42cfac7044cca9603e59f258605228f3 The commit also adds unit tests for webutil.getConfigVar() that will detect problems like this in the future.
* Add support for URL fragment parametersyatru2021-09-011-2/+9
| | | | | | | Passing parameters as part of the fragment could be considered benifical from a security or privacy standpoint when compared to query string parameters. The URL fragment parameters are not sent to the server.
* Remove many small, obsolete, old browser hacksPierre Ossman2020-12-071-4/+0
| | | | These are for browsers no longer supported anyway.
* Remove legacy conversion of modulesPierre Ossman2020-10-151-7/+0
| | | | | | | We no longer support Internet Explorer so we can now require that browsers support modules. Some conversion to commonjs still remains for nodejs.
* Remove Google Chrome Frame plugin compatabilitySamuel Mannehed2019-12-311-1/+1
| | | | | Chrome Frame has been retired we so we can remove it from this compatability tag.
* Restore X-UA-Compatible meta tag to vnc_liteSamuel Mannehed2019-12-311-0/+4
| | | It's still required since without this IE's default setting for "Display intranet web pages in compatibility mode" will cause errors.
* Make sure "undefined" can be a default parameter valuePierre Ossman2019-12-251-1/+0
| | | | | Lower layers can consider null to be a valid value, when we'd rather they treat the value as not set.
* Use undefined as the default value for passwordPierre Ossman2019-12-231-1/+1
| | | | | An empty password is techincally legal, and now supported by the RFB core, so we cannot use that as a placeholder for "no password".
* Update copyright to 2019 for modified filesSamuel Mannehed2019-09-301-1/+1
|
* Use "nomodule" instead of manual checkPierre Ossman2019-09-241-12/+1
| | | | | | | | | Very few browsers are left in the wild that supports modules but not "nomodule", so let's simplify our handling a bit. Safari 10 supports modules but not 'nomodule', this means that this particular version of Safari will be broken. Due to this we have to bump up the required Safari version to 11.
* Get rid of self-closing tagsPierre Ossman2019-04-021-1/+1
| | | | | This is a remnant of XHTML and not used in standard HTML. Get rid of them so that no-one mistakes our files for being XHTML compatible.
* Remove trailing whitespaceSamuel Mannehed2019-03-141-1/+1
|
* Consistently end self closing tags with />Samuel Mannehed2019-03-141-1/+1
| | | | | Even though this isn't strictly required by the standard its nice to be consistent.
* Remove unnecessary type attributesSamuel Mannehed2019-03-141-1/+1
|
* Remove X-UA-Compatible meta tagSamuel Mannehed2019-03-141-4/+0
| | | | | It's only required if we wanted support IE8, IE9 or older. We require at least IE11 at the moment.
* Add default languageSamuel Mannehed2019-03-141-1/+1
|
* Change copyright header (#1138)Solly Ross2018-10-091-2/+1
| | | | | | * Change copyright header This updates the copyright header to say "The noVNC Authors". People who previously had copyright listings are now under the AUTHORS file.
* Limit line length to 80 in vnc_liteSamuel Mannehed2018-08-281-4/+6
|
* Add a screen element for vnc_lite.htmlSamuel Mannehed2018-08-281-1/+9
| | | | Makes it clearer where the remote screen will be created.
* Simplify element names in vnc_liteSamuel Mannehed2018-08-281-7/+7
|
* Create our own button for CtrlAltDel in vnc_liteSamuel Mannehed2018-08-281-23/+12
| | | | | | In order to have better control of the layout and to make the code easier to follow. Using input type button or buttons will imply a lot of built in styling that differs from browser to browser.
* Use a simple prompt for passwords in vnc_liteSamuel Mannehed2018-08-281-17/+2
| | | | It's not password-masked, but it allows for a lot simpler code.
* Order vnc_lite functionsSamuel Mannehed2018-08-281-21/+22
|
* Rename functions in vnc_liteSamuel Mannehed2018-08-281-6/+6
| | | | Give them obvious names to make the code easier to understand.
* Use let and const instead of var in vnc_liteSamuel Mannehed2018-08-281-37/+35
| | | | | The rest of noVNC has been converted already. This allows us to remove the extra scope that was created for the VNC connection.
* Remove support for the fragment and WebUtil depSamuel Mannehed2018-08-281-11/+28
| | | | | | | | | | The only remaining use we had of WebUtil was getConfigVar(). Let's get rid of that dependency and use our own, query-string-only and richly commented version of that function. It's easier for people to get an overview of vnc_lite if it's all in one file. This commit removes support for the fragment, parameters can only be passed using the query string from now on.
* Cleanup non-essential options from vnc_liteSamuel Mannehed2018-08-281-32/+4
| | | | | | | | | | | | | | | | This is supposed to be a simple example, it shouldn't have this many options. This commit removes the following options: * logging - the default level 'warn' is good enough * title - a weird thing to set from the query string anyway * token - not used by most setups * encrypt - looking at the URL is good enough * repeaterID - not used by most setups * shared - uncommon setting * resize - not supported by most servers Note that the removal of 'encrypt' allows us to remove logic for establishing a default port. The default port for wss is 443 and for ws it's 80 anyway.
* Add code comments to vnc_liteSamuel Mannehed2018-08-281-8/+38
|
* Simplify connected() functionSamuel Mannehed2018-08-211-6/+1
|
* Remove unneccessary code and bling from vnc_liteSamuel Mannehed2018-08-211-43/+10
| | | | | | | Unused code, variables and unnecessary styles. The host/port check would only have an effect if someone explicitly set them as empty in the query string. The different colors of the status bar are not necessary, nor is the styling of the background.
* Move css rules for vnc_lite to the htmlSamuel Mannehed2018-08-211-2/+55
| | | | Easier to get an overview if it's all in one file.
* Get rid of icons for vnc_liteSamuel Mannehed2018-08-201-20/+0
| | | | Icons aren't required and we want to get rid of the 'app/' dependency.
* Remove iOS specific code from vnc_liteSamuel Mannehed2018-08-161-10/+0
| | | | vnc_lite.html doesn't have touch support anyway
* Remove machine control buttons from vnc_liteSamuel Mannehed2018-08-161-36/+1
| | | | | The vnc_lite example is intended to be minimal and these buttons are only useful in special cases.
* Revert "Handle if desktopName isn't set.."Samuel Mannehed2018-08-161-10/+2
| | | | | | This reverts commit 22000b93d5aa3d12823e7440533e8eb25739e9c0. The 'desktopname' and the 'connect' events are dispatched by us in RFB and are thus serial.
* Handle if desktopName isn't set when connectedSamuel Mannehed2018-08-161-2/+10
| | | | | We can't guarantee that the desktopName event has been fired before the connect event.
* Remove firebug commentsSamuel Mannehed2018-08-081-5/+0
| | | | | Firebug is discontinued and it's features are included in browser development tools now a days.
* Detail path to icon MakefileSamuel Mannehed2018-08-081-1/+1
|
* Use fat arrow functions `const foo = () => { ... };` for callbacksJuanjo Diaz2018-07-121-1/+1
| | | | and any other function that is passed around and it's not a top level function
* Temporarily disable SVG faviconPierre Ossman2018-01-251-0/+2
| | | | | | | | | | Firefox currently has a bug where it prefers the SVG icon over a more exact size. This results in a poorly rendered, downscaled icon. So disable the SVG icon until this has been fixed. Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1419039
* Add scale ability to vnc_lite.htmlPierre Ossman2017-12-061-0/+1
|
* Move resize handling in to RFB objectPierre Ossman2017-12-061-33/+3
| | | | | Makes the API simpler and makes it easier for other frontends to get this functionality.
* Merge pull request #950 from samhed/disconnectapiSamuel Mannehed2017-11-171-42/+20
|\ | | | | Abstract information from RFB to the UI
| * Abstract RFB errors to avoid sending stringsSamuel Mannehed2017-11-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The API allowed strings to be passed from the RFB module to the application using the disconnect reason. This caused problems since the application didn't have control over translations for these strings. Most of the information being passed using this string was very technical and not helpful to the end user. One exception to this was the security result information regarding for example authentication failures. The protocol allows the VNC server to pass a string directly to the user in the security result. So the disconnect reason is replaced by a boolean saying if the disconnection was clean or not. And for the security result information from the server, a new event has been added.
| * Replace updatestate event with connectSamuel Mannehed2017-11-141-35/+17
| | | | | | | | | | | | | | Instead of exposing all the internal connection states, the RFB module will now only send events on connect and on disconnect. This makes it simpler for the application and gets rid of the double events that were being sent on disconnect (previously updatestate and disconnect).
| * Remove RFB.notification()Samuel Mannehed2017-11-111-5/+1
| | | | | | | | | | This interface was a band aid for poor design. The two cases where it was used was replaced by logging.
* | Fix old xvpbuttons referencesPierre Ossman2017-11-141-2/+2
|/ | | | | Things were renamed to the more generic "power" instead of "xvp", but a few references were overlooked in the merge.
* Merge branch 'api' of https://github.com/CendioOssman/noVNCPierre Ossman2017-11-101-57/+63
|\
| * Use standard EventTarget interface for eventsPierre Ossman2017-11-091-18/+18
| |
| * Remove unused options argument in onnotification event handlerPierre Ossman2017-11-091-1/+1
| |