Example JavaScript Files

We have put together a set of examples HTML files that show you how to use various aspects of the JnrWebsocket library.  You can download and extract the example .zip file to see the examples.  The examples are solely performed in JavaScript and only seen through the browsers Developer Tools.  Press F12 on your keyboard to open the Developer Tools.

Debugger / Sources

Here is a view of a Firefox browser showing the code for an example that Reads a Registry Key.   You’ll first notice there is nothing in the HTML page.  You need to select the example HTML file in the Debugger tab, or Sources in Chrome.


Clicking on Console will show you what output there is from JavaScript.