NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name OGame Auction Hotkeys // @namespace http://tampermonkey.net/ // @version 0.4.1 // @description Raise the bet: q - metal, w - crystal, e - deuterium. Make a bet - r. // @author Kaori00 // @match https://*.ogame.gameforge.com/game/index.php?page=ingame&component=traderOverview* // @grant none // @license MIT // @updateURL https://openuserjs.org/meta/kaori00/OGame_Auction_Hotkeys.meta.js // @downloadURL https://openuserjs.org/install/kaori00/OGame_Auction_Hotkeys.user.js // @copyright 2020, kaori00 (https://openuserjs.org/users/kaori00) // ==/UserScript== // original from https://openuserjs.org/scripts/dimas735821/OGame_Auction_Hotkeys (function() { 'use strict'; document.onkeydown = function(e) { if (e.ctrlKey || e.altKey || e.metaKey) return; var char = e.which; if (!char) return; switch (char) { case 81: document.querySelector("a.js_sliderMetalMax").click(); break; case 87: document.querySelector("a.js_sliderCrystalMax").click(); break; case 69: document.querySelector("a.js_sliderDeuteriumMax").click(); break; case 82: document.querySelector("a.pay").click(); break; } return; }; })();