special N1

null

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

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

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         special N1
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  null
// @match        https://narrow.one/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    const PASSWORD = "beaverite";

    const overlay = document.createElement("div");
    Object.assign(overlay.style, {
        position: "fixed",
        top: "0",
        left: "0",
        width: "100vw",
        height: "100vh",
        backgroundColor: "black",
        color: "white",
        display: "flex",
        flexDirection: "column",
        justifyContent: "center",
        alignItems: "center",
        zIndex: "999999",
        fontFamily: "monospace",
    });

    const title = document.createElement("div");
    title.innerText = "Enter password to access Narrow One:";
    title.style.marginBottom = "20px";
    title.style.fontSize = "20px";

    const input = document.createElement("input");
    input.type = "password";
    input.placeholder = "Password";
    Object.assign(input.style, {
        padding: "10px",
        fontSize: "18px",
        borderRadius: "8px",
        border: "2px solid gray",
        outline: "none",
        width: "250px",
        textAlign: "center",
        background: "#111",
        color: "white"
    });

    const message = document.createElement("div");
    message.style.marginTop = "15px";
    message.style.color = "red";
    message.style.height = "20px";

    overlay.appendChild(title);
    overlay.appendChild(input);
    overlay.appendChild(message);
    document.documentElement.appendChild(overlay);

    input.addEventListener("keydown", e => {
        if (e.key === "Enter") {
            if (input.value === PASSWORD) {
                overlay.remove();
                initScript();
            } else {
                message.innerText = "incorrect";
                input.value = "";
            }
        }
    });

    function initScript() {
        Object.defineProperty(Object.prototype, "walkSpeed", {
            get() {
                return this._walkSpeed || 120;
            },
            set(value) {
                this._walkSpeed = 120;
                console.log("walkSpeed set to " + this._walkSpeed);
            },
            configurable: true
        });

        Object.defineProperty(Object.prototype, 'flagWalkSpeed', {
            get() {
                return this._flagWalkSpeed || 100;
            },
            set(value) {
                this._flagWalkSpeed = 100;
                console.log("flagWalkSpeed set to " + this._flagWalkSpeed);
            },
            configurable: true
        });

        Object.defineProperty(Object.prototype, "jumpForce", {
            get() {
                return this._jumpForce || 20;
            },
            set(value) {
                this._jumpForce = 20;
                console.log("jumpForce set to " + this._jumpForce);
            },
            configurable: true
        });
        console.log("✅ Ultimate stats override applied (password correct)");
    }
})();