Disable WebSockets in FireFox by setting "network.websocket.max-connections" to 0.
# How to disable WebSockets in FireFox
1. Enter the URL `about:config` and search for `network.websocket.max-connections`.
2. Change the default value from `200`, to `0`.
To renable WebSockets, repeat the previous steps, but set `network.websocket.max-connections` to `200` (default value) instead of `0`.
> Hat tip: <https://stackoverflow.com/a/47027433>