Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Feature request: Websocket support #3

Open
Zetaphor opened this issue May 29, 2024 · 2 comments
Open

Feature request: Websocket support #3

Zetaphor opened this issue May 29, 2024 · 2 comments

Comments

@Zetaphor
Copy link

First of all, thank you for making this. I've been running this full time for the past week and I'm really enjoying this augmentation to my browser experience. As someone who misses the sound of mechanical drives as a means of understanding what my computer is doing behind the GUI, this extension is greatly appreciated.

That said, it would be interesting to have an insight into Websocket connections. Would this be possible (on Firefox?). In addition to making a sound for an incoming or outgoing request, it would also be potentially interesting to have a consistent background hum to represent an open socket.

I'm interested in exploring the feasibility of this myself this weekend, but I figured I'd create an issue in case you already have some insight before I have the free time to explore this myself.

@Zetaphor
Copy link
Author

Looking at this extension, it looks like the relevant API would be browser.runtime.onConnect

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onConnect

@combatwombat
Copy link
Owner

Makes sense. Websockets are part of the requests, so they should make a sound. Although websocket traffic is more continous I think. Maybe a smooth, non-annoying hum for an open connection and little blips in the hum every second for data sent and received... I'll play around with that. Thanks for the feedback :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants