Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can't replace parameter in a wss path. #20

Open
Baa14453 opened this issue Jun 15, 2024 · 2 comments
Open

Can't replace parameter in a wss path. #20

Baa14453 opened this issue Jun 15, 2024 · 2 comments

Comments

@Baa14453
Copy link

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

@gera2ld
Copy link
Owner

gera2ld commented Jun 17, 2024

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.

@Baa14453
Copy link
Author

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants