javascript - Chrome extension API for intercepting/modifying websockets -


i'm trying write extension modify user-agent on outgoing requests chrome. http://, https://, ftp://, file://, or chrome-extension:// can use chrome.webrequest api , onbeforesendheaders. however, not work ws:// or wss://. there other api allows me set/modify headers on these requests?

i'm afraid not.

that nice feature request though.


Comments