anonyws / NGU Server

// ==UserScript==
// @name         NGU Server
// @namespace    htt
// @version      0.1
// @description  Made by An0ny to Simplify the process of joining!
// @author       An0ny
// @match*
// @grant        none
// ==/UserScript==

document.getElementById("a300x250").innerHTML = "<br /><button class='btn btn-success btn-sm btn-block' id='nextgenupdate' >Click here to change server to nextgenupdate!</button>";

function myfunc (zEvent) {
    alert('Connection has been made!\n\nPlease drop a like or a reply if you like this server and want me to continiue running it!\n\n\nHosted & Made by An0ny');

var myDiv   = document.querySelector ("#nextgenupdate");
if (myDiv) {
    myDiv.addEventListener ("click", myfunc , false);