Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
a30f609
Don't crash if we can't use localStorage
samhed Nov 2, 2022
295004c
Merge pull request #1710 from novnc/localStorage
samhed Jul 18, 2023
01bb36d
Use proper argument to deflateInit()
CendioOssman Aug 29, 2023
b40a45a
Remove unused argument to inflateInit()
CendioOssman Aug 29, 2023
e81602d
Fix zlib level change in clipboard tests
CendioOssman Aug 29, 2023
72f6810
Correctly handle "none" auth on old servers
CendioOssman Sep 7, 2023
370f21b
Correctly handle legacy security rejections
CendioOssman Sep 7, 2023
bf12c24
Fix bad indentation
CendioOssman Sep 7, 2023
a0b7c0d
Add QEMU Led Pseudo encoding support
otthou Jul 26, 2023
85a4652
Merge branch 'qemu_ledstate_pseudo_encoding' of https://github.com/ot…
CendioOssman Sep 29, 2023
f117402
Add the possibility to listen on a specific host
afbjorklund Oct 11, 2023
a792b7f
Document default port applies to all interfaces
afbjorklund Oct 14, 2023
5ebc297
Remove comment about websockify command arguments
afbjorklund Oct 14, 2023
7d2dad0
Merge branch 'listen-host' of https://github.com/afbjorklund/noVNC
CendioOssman Oct 27, 2023
9ac632d
Handle immediate connection errors
CendioOssman Dec 5, 2023
829725b
Handle relative paths in novnc_proxy
CendioOssman Dec 5, 2023
796e924
Remove unused npm dependencies
CendioOssman Jan 10, 2024
d3aaf4d
Upgrade base snap to Ubuntu 22.04
CendioOssman Jan 10, 2024
b35cf6d
Don't include ES6 module versions in npm package
CendioOssman Jan 17, 2024
fca48df
Increase test timeout for Chrome on Windows
CendioOssman Jan 19, 2024
ab2fd41
Handle broken Oculus browser keyboard events
CendioOssman Jan 23, 2024
48c8e41
Fix key event debug output
CendioOssman Jan 23, 2024
bd32922
Avoid exception when cursor was removed from DOM already
sbungartz Jan 31, 2024
e75938b
Make non-HTTPS message more harsh
samhed Feb 2, 2024
60643fe
Update github actions to latest versions
CendioOssman Feb 5, 2024
cd92772
Fix import of "commander"
CendioOssman Feb 5, 2024
65e9ecd
Merge branch 'actions' of github.com:CendioOssman/noVNC
CendioOssman Feb 5, 2024
786aba6
Merge pull request #1834 from sbungartz/avoid-exception-when-disconne…
samhed Feb 22, 2024
9a1b1f0
Clipboard: handle multiple CR+LF
Mar 25, 2024
92c8a91
Update zh_CN.po (#1851)
SuperHuangXu Apr 24, 2024
9d293f1
Updated el.po
kosmasgiannis Apr 24, 2024
c998c72
Merge pull request #1853 from kosmasgiannis/gr20240424
samhed Apr 26, 2024
8d1b665
Migrate deprecated eslint config to to new format
samhed Apr 22, 2024
10ee10c
Cleanup "no-console" eslint rules
samhed Apr 30, 2024
c187b2e
Implement gradient filter of tight decoder, fixing issue #1767
mentha May 2, 2024
d80e3bf
Add unit tests for Tight gradient filter
CendioOssman May 16, 2024
fc11b9d
Remove Twitter links
CendioOssman Jun 3, 2024
f28e9da
Update translation template file
CendioOssman Jun 3, 2024
68e09ee
Upgrade to websockify 0.12.0 in snap package
CendioOssman Jun 3, 2024
aead0b2
noVNC 1.5.0 beta
CendioOssman Jun 3, 2024
fb1817c
Remove Chrome timeout workaround
CendioOssman Jun 13, 2024
1a62eb7
Don't include missing translation in .js
CendioOssman Jun 18, 2024
7f364a1
Update Swedish translation
CendioOssman Jun 18, 2024
aaadec4
Update json files for new translations
CendioOssman Jun 18, 2024
7fcf9dc
noVNC 1.5.0
CendioOssman Jun 18, 2024
1230a4c
Use theme-color to color address bar in browsers
samhed Jul 22, 2024
6c07136
Interrupt AltGr sequence detection on focus lost, fixes #1880
leedagee Jul 31, 2024
bc31e4e
Stop creating sinon sandbox early
CendioOssman Aug 5, 2024
1b2fe33
Manually load sinon and chai
CendioOssman Aug 5, 2024
a020ef0
Merge branch 'altgr-seq-interrupt' of https://github.com/leedagee/noVNC
CendioOssman Aug 5, 2024
06f14a5
Add test for AltGr abort on blur
CendioOssman Aug 5, 2024
074fa1a
Let browser construct URL string for us
CendioOssman Aug 8, 2024
96c76f7
Allow relative WebSocket URLs
CendioOssman Aug 8, 2024
9334c68
Handle all settings via UI.getSetting()
CendioOssman Jun 26, 2020
c6606a5
Merge UI startup in to a single routine
CendioOssman Jun 26, 2020
84897fd
Handle disabling settings without label
CendioOssman Jun 26, 2020
c6c8e5e
Add Zlib encoding
markpeek Aug 15, 2024
d106b7a
Add H.264 decoder
any1 Jun 29, 2024
bbb6a5b
Fix host and port via query string
CendioOssman Aug 19, 2024
c1bba97
Add unit tests for H.264 decoder
any1 Aug 11, 2024
a446551
Fix sQpushBytes sending the beginning of the array multiple times
Bobini1 Aug 23, 2024
ffb4c0b
Let fake WebSocket handle large sends
CendioOssman Aug 29, 2024
50e4685
Fix tests for large WebSocket sends
CendioOssman Aug 29, 2024
047531e
Merge branch 'webcodec-h264' of https://github.com/any1/noVNC
CendioOssman Aug 29, 2024
438e5b3
Make it easier for downstream to modify settings
CendioOssman Jun 26, 2020
28d4020
Load settings from web server
CendioOssman Aug 8, 2024
ed1fef4
Merge branch 'ui_init' of github.com:CendioOssman/noVNC
CendioOssman Oct 9, 2024
88a5a59
Fix typos in Russian translation
dim5x Nov 2, 2024
43326eb
Fix handling of VideoDecoder.isConfigSupported()
CendioOssman Nov 20, 2024
89e0591
Use common H.264 check in tests
CendioOssman Nov 20, 2024
69750c7
Raise JavaScript version requirement
CendioOssman Nov 21, 2024
3677afe
Do a real H.264 test decode to determine support
CendioOssman Nov 21, 2024
a89dfd6
Handle exceptions from VideoDecoder.flush()
CendioOssman Nov 21, 2024
2463ccd
Detect broken Firefox H.264 decoder
CendioOssman Nov 21, 2024
90a6c7b
Update zh_CN.po
wxtewx Nov 23, 2024
7f5b51a
Consistently use "sentence case" style
CendioOssman Nov 27, 2024
7335bb4
Also adjust to "sentence case" in translations
CendioOssman Nov 27, 2024
52ddb20
Merge branch 'master' of https://github.com/wxtewx/noVNC
CendioOssman Nov 27, 2024
52392ec
Update Japanese translation
nnn1590 Dec 14, 2024
3e2e04b
Replace node-getopt with commander for args
CendioOssman Dec 17, 2024
673cb34
Replace po2json with pofile
CendioOssman Dec 17, 2024
e6e03a2
Fix resizes back to initial remote session size
samhed Dec 27, 2024
3193f80
Comment different resize functions in rfb.js
samhed Dec 27, 2024
4bbed1d
Standardize on 4 space-indentation in CSS files
samhed Jan 11, 2025
bf245da
Increase padding of buttons and inputs
samhed Jan 11, 2025
72cac2e
Add margin between label and input in noVNC_panel
samhed Jan 11, 2025
7603ced
Create CSS variables for common noVNC-colors
samhed Jan 11, 2025
7a4d1a8
Move mouse event help functions to broader scope
CendioHalim Jan 9, 2025
de9d688
Add unit test for wheel + buttons pressed
CendioHalim Jan 10, 2025
db22ec6
Split button click with dragging test
CendioHalim Jan 9, 2025
c3934e0
Move mouse move flushing to separate function
CendioHalim Jan 14, 2025
dce8ab3
Dispatch mouse events in dragging unit tests
CendioHalim Jan 9, 2025
31d6a77
Check for correct button events in dragging tests
CendioHalim Jan 10, 2025
ea057d0
Move gesture event help functions to broader scope
CendioHalim Jan 10, 2025
f9eb476
Add tests for dragging with gestures
CendioHalim Jan 14, 2025
b9230cf
Use MouseEvent.buttons for button state tracking
CendioHalim Nov 29, 2024
d1548c1
Don't send mouse events when dragging viewport
CendioHalim Jan 13, 2025
6383fa6
Flush mouseMove when initiating viewport dragging
CendioHalim Jan 14, 2025
9cdbd28
Merge branch 'mouse-buttonstate-remove' of https://github.com/CendioH…
CendioOssman Jan 14, 2025
e8602f2
Move sendFbuMsg() to broader scope
CendioHalim Jan 14, 2025
e081d14
Add support for forward and back mouse buttons
CendioHalim Jan 9, 2025
c7bd247
Merge branch 'extra-mouse-buttons' of https://github.com/CendioHalim/…
CendioOssman Jan 15, 2025
83a5e9e
Also test Ctrl+AltGr, as that is what browsers use
CendioOssman Jan 15, 2025
4f284c2
Remove bold styling tags in vnc.html
CendioZeijlon Jan 17, 2025
ca270ef
Standardize on 6px or 12px border-radius
samhed Jan 11, 2025
e9b48ae
Get rid of gradients on buttons and inputs
samhed Jan 12, 2025
3f29c9d
Differentiate buttons from text inputs
samhed Jan 12, 2025
e1208b0
Redesign select dropdown arrow
samhed Jan 12, 2025
633b4c2
Redesign checkboxes and radiobuttons
samhed Jan 12, 2025
7fdcc66
Add indeterminate styling to checkboxes and radios
samhed Jan 12, 2025
017888c
Rework how buttons react to :hover and :active
samhed Jan 12, 2025
33a2548
Make buttons flat by removing borders
samhed Jan 12, 2025
30d46a0
Fix :disabled styling of file-selector-button
samhed Jan 12, 2025
ee08032
Put specific :disabled rules with its element
samhed Jan 12, 2025
e092f06
Move general :disabled rules to common top section
samhed Jan 12, 2025
d819985
Support 'disabled' attribute on labels
samhed Jan 12, 2025
1c45fd8
Capitalize CSS section headings
samhed Jan 12, 2025
91cd920
Keep CSS for different input elements together
samhed Jan 12, 2025
f0ec3d6
Avoid 2 borders when focus-visible on text inputs
samhed Jan 12, 2025
deb76f9
Add some sane default CSS for textareas
samhed Jan 12, 2025
28e1717
Remove number picker's increase/decrease buttons
samhed Jan 12, 2025
a2352b9
Standardize on ellipsis-type text-overflow
samhed Jan 12, 2025
7b58cb9
Add minimum width to buttons
samhed Jan 12, 2025
54e7681
Pointer cursor on buttons & grab on sliders
samhed Jan 12, 2025
2bc5057
Add styling for color pickers
samhed Jan 12, 2025
331ad34
Make interface airier by increasing line-height
samhed Jan 12, 2025
24f99e5
Add styling for toggle switches
samhed Jan 13, 2025
6c1e7bc
Utilize toggle switch in settings
samhed Jan 13, 2025
3a5dd22
Add styling for checked options in select boxes
samhed Jan 13, 2025
20611b6
Add styling for multi-select lists
samhed Jan 13, 2025
abe3c7b
Make range slider thumbs circular
samhed Jan 13, 2025
8800923
Only color the left part of the range track
samhed Jan 13, 2025
4ab4286
Make text in panel headings bold
samhed Jan 13, 2025
b5675bb
Fix spacing between elements in dialogs
samhed Jan 13, 2025
6db9dbc
Tweak design of noVNC connect button
samhed Jan 14, 2025
14f9ea5
Fix settings panel layout on small screens
samhed Jan 16, 2025
237a34d
Add exceptions for CSS validator false positives
samhed Jan 23, 2025
24835bd
Make the background of expanded settings lighter
samhed Jan 23, 2025
9f727b7
Merge branch 'ui_refresh'
CendioZeijlon Jan 28, 2025
b9f172d
Update README.md with ExtendedMouseButtons feature
CendioZeijlon Jan 28, 2025
4e410a0
Use less technical phrasing in README
samhed Feb 4, 2025
bbbef2d
Add helper for ExtendedDesktopSize in tests
CendioOssman Feb 5, 2025
70446bf
Make resizeSession setting test more realistic
CendioOssman Feb 5, 2025
c821783
Include SetDesktopSize responses in tests
CendioOssman Feb 5, 2025
0b5e968
Better resize rate limiting
CendioOssman Feb 5, 2025
bb797dc
Merge branch 'resize' of https://github.com/CendioOssman/noVNC
CendioOssman Feb 6, 2025
7ee7922
chore: fix some typos
tianzedavid Feb 12, 2025
d5315eb
Merge pull request #1934 from tianzedavid/master
CendioZeijlon Feb 14, 2025
e8030a9
Update translation template file
CendioZeijlon Feb 14, 2025
09fc4f7
Update Swedish translations
CendioZeijlon Feb 14, 2025
c3b8cbd
Update README.md with H.264 encoding support
CendioZeijlon Feb 14, 2025
b45f35c
noVNC 1.6.0 beta
CendioZeijlon Feb 14, 2025
b25675e
Upgrade to websockify 0.13.0 in snap package
CendioZeijlon Feb 28, 2025
045a0ba
Let browser handle parsing of URLs before relaying
CendioZeijlon Mar 10, 2025
59b674d
Merge branch 'fix-sub-url-query'
CendioZeijlon Mar 12, 2025
6002d57
Update French translation
voilier-martineke Feb 17, 2025
09440da
Update Dutch translation
haroldh Mar 3, 2025
3947b4c
Update generated json files for new translations
CendioZeijlon Mar 12, 2025
a8dfd6a
noVNC 1.6.0
CendioZeijlon Mar 12, 2025
f0a39cd
Fix appearance of extra key buttons
samhed Mar 24, 2025
6010c9d
Update comment reference missed in previous commit
samhed Mar 24, 2025
1546535
Only include valid translations in .json files
CendioOssman Mar 13, 2025
8edb3d2
Close VideoFrame after H.264 detection
CendioOssman Apr 8, 2025
980a49e
Fix typo in error-handler.js
liaopeiyuan Apr 10, 2025
6f9edb1
Fix typo in Portuguese translation for "Show extra keys"
Leostruka Apr 12, 2025
d7a3773
Merge branch 'master' of github.com:Leostruka/noVNC
CendioZeijlon Apr 15, 2025
a22857c
Document new behaviour of host/port/encrypt/path
CendioOssman Apr 28, 2025
88749fc
Document new JSON settings files
CendioOssman Apr 28, 2025
243d7fd
Disable setting showDotCursor in RFB constructor
CendioZeijlon May 7, 2025
4cb5aa4
Merge branch 'obsolete-showDotCursor-rfb-option' of github.com:ThinLi…
CendioZeijlon May 7, 2025
e4def7f
Add Croatian translation
milotype Aug 25, 2025
d49d2b3
Use Croatian translations
CendioZeijlon Sep 5, 2025
8ebd9dd
Fix broken Chai import
CendioZeijlon Sep 8, 2025
23b7219
Drop Image data once rendered
CendioOssman Sep 10, 2025
d5b18a8
Expose length of buffered WebSocket data
CendioOssman Sep 3, 2025
356eab4
Scan all buffered data looking for JPEG end
CendioOssman Sep 3, 2025
6cf0204
Remove deprecated "directories" entry
elikoga May 6, 2025
fe29dc6
Convert NPM bundle to ES-Module format
elikoga May 6, 2025
44b7489
Merge branch 'switch-to-es-module-publish-and-use-exports' of github.…
CendioOssman Sep 15, 2025
eaf5b70
Remove obsolete checks in novnc_proxy
CendioZeijlon Oct 20, 2025
71d0bfa
Use bash's type command to find websockify
CendioZeijlon Oct 20, 2025
f5a4eed
Add permissions-exclusive async clipboard
Jun 10, 2025
d9b45d3
Disable clipboard button with async clipboard
Sep 12, 2025
3d5698c
Add async clipboard module to internal API docs
Jun 11, 2025
fb7e891
Merge branch 'clipboard-async' of https://github.com/tobfah/noVNC
CendioZeijlon Oct 22, 2025
e4b496a
Merge remote-tracking branch 'remotes/base/master' into update_2025_1…
mloginov Oct 28, 2025
013a9fc
fix code style
mloginov Oct 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

54 changes: 0 additions & 54 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ about: Create a report to help us improve
**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
**To reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
GITREV=$(git rev-parse --short HEAD)
echo $GITREV
sed -i "s/^\(.*\"version\".*\)\"\([^\"]\+\)\"\(.*\)\$/\1\"\2-g$GITREV\"\3/" package.json
if: github.event_name != 'release'
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
# Needs to be explicitly specified for auth to work
registry-url: 'https://registry.npmjs.org'
- run: npm install
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: npm
path: lib
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
snap:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
GITREV=$(git rev-parse --short HEAD)
echo $GITREV
Expand All @@ -61,7 +61,7 @@ jobs:
sed -i "s/^version:.*/version: '$VERSION'/" snap/snapcraft.yaml
- uses: snapcore/action-build@v1
id: snapcraft
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: snap
path: ${{ steps.snapcraft.outputs.snap }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm update
- run: npm run lint
html:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm update
- run: git ls-tree --name-only -r HEAD | grep -E "[.](html|css)$" | xargs ./utils/validate
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Upload to s3
run: ./uploadToS3.sh "${{ secrets.ASSETS_UPLOADER_KEY }}" "${{ secrets.ASSETS_UPLOADER_SECRET }}" "${{ github.event.release.tag_name }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm update
- run: npm run test
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/translate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
translate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm update
- run: sudo apt-get install gettext
- run: make -C po update-pot
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
noVNC is Copyright (C) 2022 The noVNC Authors
noVNC is Copyright (C) 2022 The noVNC authors
(./AUTHORS)

The noVNC core library files are licensed under the MPL 2.0 (Mozilla
Expand Down
54 changes: 26 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## noVNC: HTML VNC Client Library and Application
## noVNC: HTML VNC client library and application

[![Test Status](https://github.com/novnc/noVNC/workflows/Test/badge.svg)](https://github.com/novnc/noVNC/actions?query=workflow%3ATest)
[![Lint Status](https://github.com/novnc/noVNC/workflows/Lint/badge.svg)](https://github.com/novnc/noVNC/actions?query=workflow%3ALint)
Expand All @@ -14,26 +14,24 @@ Many companies, projects and products have integrated noVNC including
[OpenNebula](http://opennebula.org/),
[LibVNCServer](http://libvncserver.sourceforge.net), and
[ThinLinc](https://cendio.com/thinlinc). See
[the Projects and Companies wiki page](https://github.com/novnc/noVNC/wiki/Projects-and-companies-using-noVNC)
[the Projects and companies wiki page](https://github.com/novnc/noVNC/wiki/Projects-and-companies-using-noVNC)
for a more complete list with additional info and links.

### Table of Contents
### Table of contents

- [News/help/contact](#newshelpcontact)
- [Features](#features)
- [Screenshots](#screenshots)
- [Browser Requirements](#browser-requirements)
- [Server Requirements](#server-requirements)
- [Quick Start](#quick-start)
- [Installation from Snap Package](#installation-from-snap-package)
- [Integration and Deployment](#integration-and-deployment)
- [Browser requirements](#browser-requirements)
- [Server requirements](#server-requirements)
- [Quick start](#quick-start)
- [Installation from snap package](#installation-from-snap-package)
- [Integration and deployment](#integration-and-deployment)
- [Authors/Contributors](#authorscontributors)

### News/help/contact

The project website is found at [novnc.com](http://novnc.com).
Notable commits, announcements and news are posted to
[@noVNC](http://www.twitter.com/noVNC).

If you are a noVNC developer/integrator/user (or want to be) please join the
[noVNC discussion group](https://groups.google.com/forum/?fromgroups#!forum/novnc).
Expand All @@ -59,7 +57,6 @@ profits such as:
[Electronic Frontier Foundation](https://www.eff.org/),
[Against Malaria Foundation](http://www.againstmalaria.com/),
[Nothing But Nets](http://www.nothingbutnets.net/), etc.
Please tweet [@noVNC](http://www.twitter.com/noVNC) if you do.


### Features
Expand All @@ -69,8 +66,9 @@ Please tweet [@noVNC](http://www.twitter.com/noVNC) if you do.
RSA-AES, Tight, VeNCrypt Plain, XVP, Apple's Diffie-Hellman,
UltraVNC's MSLogonII
* Supported VNC encodings: raw, copyrect, rre, hextile, tight, tightPNG,
ZRLE, JPEG
ZRLE, JPEG, Zlib, H.264
* Supports scaling, clipping and resizing the desktop
* Supports back & forward mouse buttons
* Local cursor rendering
* Clipboard copy/paste with full Unicode support
* Translations
Expand All @@ -89,16 +87,16 @@ See more screenshots
[here](http://novnc.com/screenshots.html).


### Browser Requirements
### Browser requirements

noVNC uses many modern web technologies so a formal requirement list is
not available. However these are the minimum versions we are currently
aware of:

* Chrome 64, Firefox 79, Safari 13.4, Opera 51, Edge 79
* Chrome 89, Firefox 89, Safari 15, Opera 75, Edge 89


### Server Requirements
### Server requirements

noVNC follows the standard VNC protocol, but unlike other VNC clients it does
require WebSockets support. Many servers include support (e.g.
Expand All @@ -110,7 +108,7 @@ use a WebSockets to TCP socket proxy. noVNC has a sister project
proxy.


### Quick Start
### Quick start

* Use the `novnc_proxy` script to automatically download and start websockify, which
includes a mini-webserver and the WebSockets proxy. The `--vnc` option is
Expand All @@ -127,25 +125,25 @@ proxy.
script. Hit the Connect button, enter a password if the VNC server has one
configured, and enjoy!

### Installation from Snap Package
Running the command below will install the latest release of noVNC from Snap:
### Installation from snap package
Running the command below will install the latest release of noVNC from snap:

`sudo snap install novnc`

#### Running noVNC from Snap Directly
#### Running noVNC from snap directly

You can run the Snap-package installed novnc directly with, for example:
You can run the snap package installed novnc directly with, for example:

`novnc --listen 6081 --vnc localhost:5901 # /snap/bin/novnc if /snap/bin is not in your PATH`

If you want to use certificate files, due to standard Snap confinement restrictions you need to have them in the /home/\<user\>/snap/novnc/current/ directory. If your username is jsmith an example command would be:
If you want to use certificate files, due to standard snap confinement restrictions you need to have them in the /home/\<user\>/snap/novnc/current/ directory. If your username is jsmith an example command would be:

`novnc --listen 8443 --cert ~jsmith/snap/novnc/current/self.crt --key ~jsmith/snap/novnc/current/self.key --vnc ubuntu.example.com:5901`

#### Running noVNC from Snap as a Service (Daemon)
The Snap package also has the capability to run a 'novnc' service which can be
#### Running noVNC from snap as a service (daemon)
The snap package also has the capability to run a 'novnc' service which can be
configured to listen on multiple ports connecting to multiple VNC servers
(effectively a service runing multiple instances of novnc).
(effectively a service running multiple instances of novnc).
Instructions (with example values):

List current services (out-of-box this will be blank):
Expand Down Expand Up @@ -175,7 +173,7 @@ services.n6082.listen 6082
services.n6082.vnc localhost:5902
```

Disable a service (note that because of a limitation in Snap it's currently not
Disable a service (note that because of a limitation in snap it's currently not
possible to unset config variables, setting them to blank values is the way
to disable a service):

Expand All @@ -192,7 +190,7 @@ services.n6082.listen
services.n6082.vnc
```

### Integration and Deployment
### Integration and deployment

Please see our other documents for how to integrate noVNC in your own software,
or deploying the noVNC application in production environments:
Expand All @@ -215,8 +213,8 @@ that list and you think you should be, feel free to send a PR to fix that.
* [Solly Ross](https://github.com/DirectXMan12) (Red Hat / OpenStack)

* Notable contributions:
* UI and Icons : Pierre Ossman, Chris Gordon
* Original Logo : Michael Sersen
* UI and icons : Pierre Ossman, Chris Gordon
* Original logo : Michael Sersen
* tight encoding : Michael Tinglof (Mercuri.ca)
* RealVNC RSA AES authentication : USTC Vlab Team

Expand Down
19 changes: 19 additions & 0 deletions app/codio-utils.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
export const overrideDefaults = (defaults) => {
if (!defaults['autoconnect']) {
defaults['autoconnect'] = 'true';
}
if (!defaults['host']) {
defaults['host'] = window.location.hostname;
}
if (!defaults['port']) {
let port = window.location.port;
if (!port) {
if (window.location.protocol.substring(0, 5) == 'https') {
port = 443;
} else if (window.location.protocol.substring(0, 4) == 'http') {
port = 80;
}
}
defaults['port'] = port;
}
};
4 changes: 2 additions & 2 deletions app/error-handler.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
* noVNC: HTML5 VNC client
* Copyright (C) 2019 The noVNC Authors
* Copyright (C) 2019 The noVNC authors
* Licensed under MPL 2.0 (see LICENSE.txt)
*
* See README.md for usage and integration instructions.
*/

// Fallback for all uncought errors
// Fallback for all uncaught errors
function handleError(event, err) {
try {
const msg = document.getElementById('noVNC_fallback_errormsg');
Expand Down
Loading
Loading