79437793

Date: 2025-02-13 21:49:17
Score: 1
Natty:
Report link

make sure to use WebSocket with an uppercase "S" and instantiate it with new. Check if window.opener.WebSocket is accessible and use:

const websocket = new window.opener.WebSocket('ws://address');

If it still doesn’t work, verify the context and permissions between windows.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: http-pixelon