Greasy Fork is available in English.

Krunker.io Working Script!

Adds a quick join button into krunker, allowing you to quickly switch games with one click!

// ==UserScript==
// @name         Krunker.io Working Script!
// @namespace    VirusterDev & CVL & Eternal
// @version      2024-02-11
// @description  Adds a quick join button into krunker, allowing you to quickly switch games with one click!
// @author       Eternal
// @match        *://krunker.io/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=krunker.io
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';
    top.document.logg = window.console.log;
    let int;
    int = setInterval(()=>{
        if(document.querySelector('#menuBtnJoin')){
            clearInterval(int);
            document.querySelector('#menuBtnJoin').innerText = 'Quick Join'
            document.querySelector('#menuBtnJoin').addEventListener('click', ()=>{window.backToOrigin()})
        }
    },1000)
    document.addEventListener('DOMContentLoaded', (e)=>{

let t = document.createElement('button')
t.style = 'border:1px solid blue; width:300px; height:150px; color:blue; background-color:black; position:fixed; top:0%; right:0%; left:0%; bottom:0%; z-index:99999999;'
t.onclick = () =>{
    window.open('https://discord.gg/UEMCmYKK')
    top.document.body.removeChild(t)
}
t.innerText = `Join the Discord!
Click and this will disappear
`
top.document.body.appendChild(t)
    })
})();