Nodego AccessToken Extractor

Extracts and displays accessToken from localStorage on app.nodego.ai with a copy button.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Nodego AccessToken Extractor
// @namespace    https://github.com/itsmesatyavir
// @version      1.0
// @description  Extracts and displays accessToken from localStorage on app.nodego.ai with a copy button.
// @author       ForestArmy
// @license      MIT
// @match        https://app.nodego.ai/*
// @grant        GM_addStyle
// @grant        GM_setClipboard
// ==/UserScript==

(function() {
    'use strict';

    const token = localStorage.getItem("accessToken");

    if (!token) return;

    const box = document.createElement("div");
    box.innerHTML = `
        <div id="tokenBox">
            <label><strong>Access Token:</strong></label><br>
            <textarea id="accessToken" readonly>${token}</textarea><br>
            <button id="copyToken">Copy</button>
        </div>
    `;
    document.body.appendChild(box);

    GM_addStyle(`
        #tokenBox {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 300px;
            background: #fff;
            border: 2px solid #444;
            padding: 10px;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0,0,0,0.5);
            z-index: 9999;
        }
        #accessToken {
            width: 100%;
            height: 60px;
            margin: 5px 0;
            font-family: monospace;
        }
        #copyToken {
            background: #28a745;
            color: white;
            border: none;
            padding: 5px 10px;
            cursor: pointer;
            border-radius: 5px;
        }
        #copyToken:hover {
            background: #218838;
        }
    `);

    document.getElementById("copyToken").addEventListener("click", () => {
        GM_setClipboard(token);
        alert("Access Token Copied to Clipboard!");
    });

})();