您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Custom Skins for Agar.io
// ==UserScript== // @name Agar.io custom skins // @namespace Custom Skins // @version 1.0 // @description Custom Skins for Agar.io // @author ArcadeGamer // @match *.agar.io/* // @grant none // ==/UserScript== //edit the main ads block var element = document.getElementById("mainui-ads"); element.innerHTML = ''; //change css style element.style.height = "115px"; //inject the skin input window.onload = document.getElementById('instructions').innerHTML += '<br><br>Custom Skins<br><br><input placeholder="Paste your image link here" id="skin" class="form-control" style="width:275px" <div id="h2u"><font size="2" color="#FF0000"><br><center style="margin-bottom: -5px;"><a href="javascript:window.core.registerSkin(document.getElementById(\'nick\').value, null, document.getElementById(\'skin\').value, 2,null);" id="ss"></a><a href="javascript:window.core.registerSkin(document.getElementById(\'nick\').value, null, document.getElementById(\'skin\').value, 3, null);" id="hh"></div>'; //set skin when play is pressed document.getElementById('play').onclick = function() { if (skin.value == '' || skin.value == skin.defaultValue) { } else { core.registerSkin(document.getElementById('nick').value, null, document.getElementById('skin').value, 2,null); } setTimeout(function(){ }, 1000); };