demo · v142

WebSocket LNA

Type a ws:// or wss:// URL. The simulator classifies the target IP space and predicts whether Chrome 142 will allow the connect, prompt the user, or block it. Press try to actually call new WebSocket(…) and see the real-world outcome.

initiator IP space (this page)
target IP space
Chrome 142 outcome

Classification approximates the LNA-for-WebSockets rules. Real verification requires Chrome 142+ and an actual local listener; the prompt appears as a browser dialog.

relevant API

const ws = new WebSocket("ws://192.168.1.1/router");
// In Chrome 142+ this triggers the LNA permission prompt before
// the TCP handshake. Denial fires onerror with no payload.

see also