Stabfish.io Hack

Stabfish.io Everything Unlocked

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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();
})();