// ==UserScript== // @name 强制进服务器引擎 // @namespace eee428989 EC // @version 1.0.0 // @description 换房 // @match https://game.elfive.cn:91/wtfgame/ // @grant none // ==/UserScript== window.number = 0; (function() { var hook = window.WebSocket; var ws, hookmessage; window.WebSocket = function(protocols) { //自己去游戏源代码1057行看websocket ws = new hook('wss://game.elfive.cn:91/server/wtfgame/18635cdc-031c-4c65-b44f-b68a2503c078'); return ws; }; })()