您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Essentially a combo of the new Defaults and connector.
// ==UserScript== // @name Agar.io Connector w/New Defaults // @namespace http://your.homepage/ // @version 2.0 // @description Essentially a combo of the new Defaults and connector. // @author RyukTheShinigami // @match http://agar.io/ // @grant none // ==/UserScript== setDarkTheme(true); //Turns on Dark theme setShowMass(true); //displays your mass setGameMode(':experimental'); //for experimental - ':experimental', for FFA - '', for Teams - ':teams', for Party - ':party' setNick("Sir"); //sets your nick $(document).ready(function() { var new_entry = $("#region"); if (new_entry.length) { //This creates the dialogue box for the ip address $("<div class=\"form-group\"><input id=\"serverInput\" class=\"form-control\" placeholder=\"255.255.255.255:443\" maxlength=\"20\"></input></div>").insertAfter("#mainPanel > form > div:nth-child(3)"); //this creates the connect button that actually puts you on the server. $("<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()); } });