您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Tidies up Gota... a little bit.
当前为
// ==UserScript== // @name Gota.io Optimiser // @namespace https://gota.io/web/* // @version 0.2.1 // @description Tidies up Gota... a little bit. // @author AlexHGaming // @match https://gota.io/web/ // @grant none // ==/UserScript== (function() { 'use strict'; // Remove macro tab in settings document.getElementsByClassName(`options-container`)[0].id = "options"; var str = String(document.getElementById("options").innerHTML); document.getElementById("options").innerHTML = str.slice(0, 4520); // Hide and change things document.getElementsByClassName(`main-bottom-links`)[0].id = "adv"; document.getElementsByClassName(`main-rb-title`)[0].id = "proftxt"; document.getElementsByClassName(`main-rb-title`)[0].className = "title-text"; document.getElementsByClassName(`main-version`)[0].id = "version"; document.getElementsByClassName(`current-status`)[0].id = "status"; document.getElementsByClassName(`options-container`)[0].id = "options"; document.getElementById(`main-rb`).style = `display: none`; document.getElementById(`adv`).style = `display: none`; document.getElementById(`status`).style = `display: none`; document.getElementById(`proftxt`).innerHTML = `Account and Macros`; document.getElementById(`proftxt`).innerHTML += `<div class="divider title-divider"></div>`; // Insert macro tab to home document.getElementById(`main-left`).innerHTML += ` <table class="options-table" style = "background-color: #1c1c1c; margin-top: 15px;"> <td colspan="3">Eject Mass</td> <td><button id="kEjectMass" class="keybinds-btn">W</button></td> </tr> <tr> <td colspan="3">Split</td> <td><button id="kSplit" class="keybinds-btn"></button></td> </tr> <tr> <td colspan="3">Double Split (4x)</td> <td><button id="kDoubleSplit" class="keybinds-btn"></button></td> </tr> <tr> <td colspan="3">Triple Split (8x)</td> <td><button id="kTripleSplit" class="keybinds-btn"></button></td> </tr> <tr> <td colspan="3">Quad Split (16x)</td> <td><button id="kQuadSplit" class="keybinds-btn"></button></td> </tr> <tr> <td colspan="3">Hexa Split (64x)</td> <td><button id="kHexaSplit" class="keybinds-btn"></button></td> </tr> <tr> <td colspan="3">Freeze Mouse</td> <td><button id="kFreezeMouse" class="keybinds-btn"></button></td> </tr> <tr> <td colspan="4"><button id="btn-reset-keybinds" class="gota-btn" style="color: rgb(255, 255, 255); border-color: rgb(255, 255, 255); background-color: rgba(23, 22, 23, 0.9);">Reset Keybinds</button></td> </tr> </tbody> </table> `; })();