您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
DOLPHINS
当前为
- // ==UserScript==
- // @name DolphinsFTW agar.io mod
- // @namespace http://tampermonkey.net/
- // @version 2.0
- // @description DOLPHINS
- // @author You
- // @match http://agarioforums.io
- // @match http://agarioforums.io/split/
- // @match http://agar.io/
- // @match http://agar.io
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- // Your code here...
- })();(function() {
- var amount = 20;
- var duration = 1; //ms
- var overwriting = function(evt) {
- if (evt.keyCode === 81) { // KEY_Q
- for (var i = 0; i < amount; ++i) {
- setTimeout(function() {
- window.onkeydown({keyCode: 87}); // KEY_W
- window.onkeyup({keyCode: 87});
- }, i * duration);
- }
- }
- };
- window.addEventListener('keydown', overwriting);
- })();
- (function() {
- var amount = 6;
- var duration = 50; //ms
- var overwriting = function(evt) {
- if (evt.keyCode === 82) { // KEY_R
- for (var i = 0; i < amount; ++i) {
- setTimeout(function() {
- window.onkeydown({keyCode: 32}); // KEY_SPACE
- window.onkeyup({keyCode: 32});
- }, i * duration);
- }
- }
- };
- window.addEventListener('keydown', overwriting);
- })();
- $(
- function() {
- var feeddown = $.Event("keydown", { keyCode: 87});
- var feedup = $.Event("keyup", { keyCode: 87});
- var splitdown = $.Event("keydown", { keyCode: 32});
- var splitup = $.Event("keyup", { keyCode: 32});
- $(document).bind('mousedown', function(e) {
- if( (e.which == 3) ){
- $("body").trigger(feeddown);
- $("body").trigger(feedup);
- }
- else if( (e.which == 1) ){
- $("body").trigger(splitdown);
- $("body").trigger(splitup);
- }
- }).bind('contextmenu', function(e){
- e.preventDefault();
- });
- }
- )();
- //Stop the alert box from coming by deleting code from here
- //<![CDATA[
- setTimeout( function ( ) { alert( "Consider signing up to Agarioforums.net for fun times, a custom server and dedicated and hard working staff. Keys. Q for fast mass W. R for splitting 16 times, (when your teaming or are tricksplitting). You can also split with left click now and shoot some mass with right click :D.You can stop this alert box from coming by looking into the code, insturctions are proided." ); }, 10000 );
- //]]>
- // all the way to here