Useless Egg Count

Egg Count Abuse

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Useless Egg Count
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Egg Count Abuse
// @author       Jayvan
// @match        https://shellshock.io/
// @icon         https://cdn1.iconfinder.com/data/icons/logos-brands-in-colors/231/among-us-player-white-512.png
// @grant        none
// ==/UserScript==

setInterval(function() {
    var random;
    function genNumber() {
        random = Math.floor(Math.random() * 1000000);
        return random;
    };
    genNumber();
    while(random % 5 !== 0) {
        genNumber();
    }
    document.getElementById('account_top').getElementsByClassName('egg_count')[0].innerHTML = random;
    document.getElementById('equip_screen').getElementsByClassName('egg_count')[0].innerHTML = random;
    document.getElementById('game_account_panel').getElementsByClassName('egg_count')[0].innerHTML = random;
}, 100);
//Change the above number to speed up/slow down
//Lower # is faster, Higher # is slower (1000 = 1 second)