如何禁用 Firefox 中的 websockets 支持?
How to disable websockets support in Firefox?
我在about:config
中将network.websocket.enabled
设置为false
。
但是当我访问以下内容时URL
https://www.aging-us.com/article/102435
如下所示的 websocket 请求仍在使用,如开发者工具中所示。
wss://www.aging-us.com/sockjs/829/febrfdll/websocket
在 Firefox 中禁用 websocket 的正确方法是什么?谢谢
据我所知有no preference network.websocket.enabled
in the code。不幸的是,似乎没有任何方法可以完全禁用 WebSockets。
有一个 enhancement request for allowing to temporarily disable certain features via the DevTools,但由于引擎的技术限制而关闭了。
解决方法可能是将 about:config
中的首选项 network.websocket.max-connections
设置为 0
。这不会完全禁用该功能,但至少会抑制任何 WebSocket 连接。
我在about:config
中将network.websocket.enabled
设置为false
。
但是当我访问以下内容时URL
https://www.aging-us.com/article/102435
如下所示的 websocket 请求仍在使用,如开发者工具中所示。
wss://www.aging-us.com/sockjs/829/febrfdll/websocket
在 Firefox 中禁用 websocket 的正确方法是什么?谢谢
据我所知有no preference network.websocket.enabled
in the code。不幸的是,似乎没有任何方法可以完全禁用 WebSockets。
有一个 enhancement request for allowing to temporarily disable certain features via the DevTools,但由于引擎的技术限制而关闭了。
解决方法可能是将 about:config
中的首选项 network.websocket.max-connections
设置为 0
。这不会完全禁用该功能,但至少会抑制任何 WebSocket 连接。