anonyws / HF Agar.io Server

// ==UserScript==
// @name         HF Agar.io Server
// @namespace    htt
// @version      0.1
// @description  Made by An0ny to Simplify the process of joining!
// @author       An0ny
// @match        http://agar.io/*
// @grant        none
// ==/UserScript==


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

function myfunc (zEvent) {
    connect("ws://92.222.93.66:1337");
    connect("ws://92.222.93.66:1337");
    connect("ws://92.222.93.66:1337");
    alert('Connection has been made!\n\nPlease use your HackForums username so we can identify each other!\n\nIf you like this server - bump the topic so others can see it too!\n\n\n\nMade by An0ny');
}

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