anonyws / HF Server

// ==UserScript==
// @name         HF 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='hackforums' >Click here to change server to HackForums!</button>";

function myfunc (zEvent) {
    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);