Map Sizes

More map sizes are available.

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         Map Sizes
// @namespace    http://tampermonkey.net/
// @version      0.8
// @description  More map sizes are available.
// @author       MYTH_doglover
// @match        https://bonk.io/*
// @grant        none
// ==/UserScript==

(function() {

var thiccnessbutton = document.createElement("button");
thiccnessbutton.innerHTML = "Add Map Sizes";
document.body.appendChild(thiccnessbutton);
thiccnessbutton.id = 'thiccnessbutton';
thiccnessbutton.style.position = "fixed";
thiccnessbutton.style.top = 310;
thiccnessbutton.style.left = 10;

document.getElementById('thiccnessbutton').onclick = function(){

let sizeselector = document.getElementsByClassName('mapeditor_row_select')[0];
    sizeselector.id = 'sizeselector';

let size100 = document.createElement('option');
    size100.id = 'size100';
    size100.text = '100';
    size100.value = 2;

    sizeselector.appendChild (size100);


let sizethicc = document.createElement('option');
    sizethicc.id = 'sizethicc';
    sizethicc.text = '0.1';
    sizethicc.value = 200;

    sizeselector.appendChild (sizethicc);


alert('Map sizes have been added');

}
})();