Essentially a combo of the new Defaults and connector.
目前為
// ==UserScript==
// @name Agar.io Connector w/New Defaults
// @namespace http://your.homepage/
// @version 0.1
// @description Essentially a combo of the new Defaults and connector.
// @author RyukTheShinigami
// @match http://agar.io/
// @grant none
// ==/UserScript==
setDarkTheme(true);
setShowMass(true);
$(document).ready(function() {
var new_entry = $("#region");
if (new_entry.length) {
$("<div class=\"form-group\"><input id=\"serverInput\" class=\"form-control\" placeholder=\"255.255.255.255:443\" maxlength=\"20\"></input></div>").insertAfter("#helloDialog > form > div:nth-child(3)");
$("<div class=\"form-group\"><button disabled type=\"button\" id=\"connectBtn\" class=\"btn btn-warning btn-needs-server\" onclick=\"connect('ws://' + $('#serverInput').val());\" style=\"width: 100%\">Connect</button></div>").insertAfter($("#serverInput").parent());
}
});