MelloMe custom sub script

for MelloMe

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

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

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         MelloMe custom sub script
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  for MelloMe
// @author       You
// @match        https://shellshock.io/*
// @grant        none
// ==/UserScript==

alert("Auto typer will begin in 1 minute. Please join a game in 1 minute.")

setTimeout(function() {
    alert("Auto typer on...\nClick on the imput box to create a message")
    document.getElementById("chatIn").addEventListener("click", function(){
        var phrases = ["Sub 2 MelloMe Plz", "It's the gaming channel!", "Sub!"]
        document.getElementById("chatIn").value = phrases[Math.floor(Math.random() * phrases.length)];
    });
}, 60000)