lemons1337 / websocket-data-viewer Goto Github PK
View Code? Open in Web Editor NEWView data from any WebSocket within your browser using JavaScript
View data from any WebSocket within your browser using JavaScript
I absolutely love this repo, been using the code snippet in almost all my latest extensions
I've been working on an extension for krunker.io which adds a toggle to player cosmetics. Krunker sends player data over ws, which gives all sorts of information, like the cosmetics the player is wearing. So far I've been able to fetch this data, modify it and repack it, but I've been unable to replace krunkers' original websocket data with my modified version.
If I understand correctly, this extension creates an additional onmessage event listener and then displays whatever passes thru it, but I want to be able to run a bit of a code for every onmessage event that gets created. (So i can modify the arguments before the krunker code gets ahold of them.)
Do you know a way to do this? Or maybe a better way to go about it all together? Thank you for the help as always
Feel free to add me on Discord by the way, you have friend requires disabled: Swat#7165
Currently, the script only works on User Script Extensions like Tampermonkey. I want to make it so that it will debug/log all websocket data in a webpage that has an iframe. Technically, all websocket information emitted from the iframe is displayed in the page's debugger. I don't know how to integrate the script into my site and it doesn't seem to be logging any websocket data. It would really help me out if you could help me since I am new to websockets. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.