request-x icon indicating copy to clipboard operation
request-x copied to clipboard

Can't replace parameter in a wss path.

Open Baa14453 opened this issue 1 year ago • 2 comments

Hi, Sorry, I might just be using this extension wrong, essentially I am trying to replace wss://gateway.discord.gg/?encoding=json&v=9&compress=zlib-stream with wss://gateway.discord.gg/?encoding=json&v=9.

I've tried using a query string !compress: and also replacing URL parts: path: /?encoding=json&v=9. But the request is not modified in either situation :(

image

image

Baa14453 avatar Jun 15 '24 14:06 Baa14453

It seems only blocking is supported by Chrome. Websocket redirects are not supported and nothing happens when I send the rule. FYI URL transform is also a type of redirect under the hood. So unfortunately there is nothing much I can do.

gera2ld avatar Jun 17 '24 05:06 gera2ld

It seems only blocking is supported by Chrome. Websocket redirects are not supported and nothing happens when I send the rule. FYI URL transform is also a type of redirect under the hood. So unfortunately there is nothing much I can do.

In the end I tried three different extensions and none of them could do it, very strange, maybe the API can't interact with websocket requests

Baa14453 avatar Jun 17 '24 09:06 Baa14453