mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-19 18:24:51 +08:00
5 lines
163 B
Plaintext
5 lines
163 B
Plaintext
WebSocket.prototype.senda = WebSocket.prototype.send;
|
|
WebSocket.prototype.send = function (data){
|
|
console.info("Hook WebSocket", data);
|
|
return this.senda(data)
|
|
} |