Moomoo.io Force connect

Allows to connect to the full server

目前為 2023-12-06 提交的版本,檢視 最新版本

作者
Murka FaZe
評價
0 0 0
版本
0.2
建立日期
2023-12-06
更新日期
2023-12-06
尺寸
1.3 KB
授權條款
MIT
腳本執行於

// ==UserScript==
// @name Moomoo.io Force connect
// @author Murka
// @description Allows to connect to the full server
// @icon https://moomoo.io/img/favicon.png?v=1
// @version 0.2
// @match *://moomoo.io/*
// @match *://*.moomoo.io/*
// @run-at document-start
// @grant none
// @license MIT
// @namespace https://greasyfork.org/users/919633
// @downloadURL https://update.greasyfork.org/scripts/447986/Moomooio%20Force%20connect.user.js
// @updateURL https://update.greasyfork.org/scripts/447986/Moomooio%20Force%20connect.meta.js
// ==/UserScript==
/* jshint esversion:6 */

/*
Author: Murka
Github: https://github.com/Murka007
Discord: https://discord.gg/sG9cyfGPj5
Greasyfork: https://greasyfork.org/en/users/919633
MooMooForge: https://github.com/MooMooForge
*/

(function() {
"use strict";

const log = console.log;
function createHook(target, prop, callback) {
const symbol = Symbol(prop);
Object.defineProperty(target, prop, {
get() {
return this[symbol];
},
set(value) {
callback(this, symbol, value);
},
configurable: true
})
}

createHook(Object.prototype, "maxPlayers", function(that, symbol, value) {
delete Object.prototype.maxPlayers;
that.maxPlayers = value + 10;
})

})();