Trust for WebSocket vs. other "fetch"
Posted: Sun Apr 05, 2026 9:09 pm
Nice to see NoScript can control WebSockets separately now! This is a much more convenient way of default-denying WebSocket connectionshttps://noscript.net/getit/#recent-development-history wrote:v 13.6.15.901
============================================================
[...]
x Block websocket connections where the fetch capability is
disabled (thanks Security Research Labs for report)
Since XHR and Fetch API are basically just script-driven requests, whereas WebSockets are a more persistent connection with more bidirectional communication, I've been thinking of WebSockets as requiring more trust than XHR/fetch(). But NoScript grouping WebSockets under the same "fetch" permission (instead of creating a separate "websocket" permission) suggests that my thinking is incorrect? What am I missing?