GoBattle.io Shared Account

Shared account | Join us! -> https://discord.gg/3xDbJ8QD8f

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

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

คุณจะต้องติดตั้งส่วนขยาย เช่น 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         GoBattle.io Shared Account
// @namespace    http://tampermonkey.net/
// @version      1.0.4
// @description  Shared account | Join us! -> https://discord.gg/3xDbJ8QD8f
// @author       GoBattle Hacks Official
// @match        https://*.gobattle.io/*
// @match        https://gobattle.io/*
// @grant        none
// @license      MIT
// ==/UserScript==
 
(function() {
    'use strict';
 
    function handleKeyPress(event) {
        if (event.key === '`') {
            console.log('Setting tokens in localStorage and reloading page...');
            localStorage.setItem('gobattle_token', 'a7290335586a722f9968f1dd87d46139a789c5897abc31d5e59a6f8f88714e89');
            localStorage.setItem('device_token', 'c3483e80d6b8bfc2');
            window.location.reload();
        }
    }
 
    document.addEventListener('keydown', handleKeyPress);
 
})();