Stabfish.io Hack

Stabfish.io Everything Unlocked

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Stabfish.io Hack
// @namespace    http://tampermonkey.net/
// @version      2.1
// @description  Stabfish.io Everything Unlocked
// @author       Only Hacker
// @match        https://stabfish.io/*
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Your expected data
    const expectedUnlockedBodiesData = "[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]";
    const expectedUnlockedFacesData = "[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]";
    const expectedUnlockedHatsData = "[true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true]";
    const expectedUnlockedSpearsData = "[3,3,3,3,3,3]";

    // Function to compare stored data with expected data
    function checkAndInjectData() {
        let dataMismatch = false;

        // Check and inject data as necessary
        if (localStorage.getItem("unlockedBodies") !== expectedUnlockedBodiesData) {
            localStorage.setItem("unlockedBodies", expectedUnlockedBodiesData);
            dataMismatch = true;
        }
        if (localStorage.getItem("unlockedFaces") !== expectedUnlockedFacesData) {
            localStorage.setItem("unlockedFaces", expectedUnlockedFacesData);
            dataMismatch = true;
        }
        if (localStorage.getItem("unlockedHats") !== expectedUnlockedHatsData) {
            localStorage.setItem("unlockedHats", expectedUnlockedHatsData);
            dataMismatch = true;
        }
        if (localStorage.getItem("unlockedSpears") !== expectedUnlockedSpearsData) {
            localStorage.setItem("unlockedSpears", expectedUnlockedSpearsData);
            dataMismatch = true;
        }

        // Refresh the page if any data was injected or updated
        if (dataMismatch) {
            location.reload();
        }
    }

    // Call the function to check and inject data
    checkAndInjectData();
})();