Moomoo script
Moomoo script
// ==UserScript==
// @author Murka
// @icon https://moomoo.io/img/favicon.png?v=1
// @version 0.7
// @match *://moomoo.io/*
// @match *://*.moomoo.io/*
// @run-at document-start
// @grant none
// @license MIT
// @namespace https://greasyfork.org/users/919633
// ==/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";
function linker(value) {
const hook = {
0: value,
get length() {
return hook[0].length;
};
return hook;
Object.defineProperty(target, prop, {
configurable: true
})
delete window.config;
Object.defineProperty(window, "config", {
value: value,
configurable: false,
writeable: false
})
}
})
delete Object.prototype.checkTrusted;
})
const scale = {
width: 192,
height: 108
};
delete Object.prototype.maxScreenHeight;
})
let wheels = 0;
window.addEventListener("wheel", function(event) {
// Used to create a small gap, so users could easily find the default scale
window.dispatchEvent(new Event("resize"));
})
})();