Spam Room Creation

Spam new rooms with whatever name you want.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Spam Room Creation
// @namespace    http://tampermonkey.net/
// @version      2.4
// @description  Spam new rooms with whatever name you want.
// @author       MYTH_doglover
// @match        https://bonk.io/*
// @grant        none
// ==/UserScript==


var spamstuff = document.createElement("div");
document.body.appendChild(spamstuff);
spamstuff.style.position = "fixed";
spamstuff.style.top = 240;
spamstuff.style.left = 10;

var spamstuff2 = document.createElement("div");
document.getElementById('roomlistcreatewindow').appendChild(spamstuff2);
spamstuff2.style.position = "relative";
spamstuff2.style.top = "75%";
spamstuff2.style.left = "75%";


var spamroom = document.createElement("button");
spamroom.innerHTML = "Spam Rooms";
spamroom.id = 'spamroom';

var spamroom2 = document.createElement("button");
spamroom2.innerHTML = "SPAM";
spamroom2.id = 'spamroomtwo';
spamroom2.classList.add("brownButton");
spamroom2.classList.add("brownButton_classic");

var spamprep = document.getElementById('classic_mid_customgame');
spamprep.onclick = function(){
document.getElementById('roomlistcreatebutton').click();
document.getElementById('roomlist_create_close').click();
};

spamroom.onclick = function(){
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
};

spamroom2.onclick = function(){
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
document.getElementById('roomlistcreatecreatebutton').click();
};

//var roomnamebar = document.getElementById('roomlistcreatewindowgamename');
//roomnamebar.style.position = "relative";
//roomnamebar.style.top = 25;
//roomnamebar.style.left = -97;
//roomnamebar.style.width = 120;
//roomnamebar.placeholder = "Room Name";

spamstuff.appendChild(spamroom);
spamstuff2.appendChild(spamroom2);

//roomlistcreatebottombutton brownButton brownButton_classic buttonShadow