Name
- Info : Advance a fixed number of systems on galaxy page with a button
- Author : Me
- Website : No
- Support : Here (I do need help)
- Download : I put the code here
[spoiler=Code]
Source Code
- // ==UserScript==
- // @name Galaxy Advance Button
- // @include http*.ogame.gameforge.com/game/index.php?page=galaxy*
- // @grant none
- // ==/UserScript==
- var element = document.createElement('div');
- element.innerHTML = '<button onclick="system=system<maxSystems-9?parseInt(system)+10:1;loadContent(galaxy,system,true);">Advance ten</button>';
- $('#contentWrapper').append(element);
[spoiler=Old code]Source Code
- // ==UserScript==
- // @name Galaxy Advance Button
- // @include http*.ogame.gameforge.com/game/index.php?page=galaxy*
- // @grant none
- // ==/UserScript==
- var element = document.createElement('div');
- element.innerHTML = '<button onclick="submitOnKey(39);submitOnKey(39);submitOnKey(39);submitOnKey(39);submitOnKey(39);submitOnKey(39);submitOnKey(39);submitOnKey(39);submitOnKey(39);submitOnKey(39);">Advance ten</button>';
- $('#contentWrapper').append(element);
- Screenshot :
[spoiler=Image][/spoiler] - Browser : Tested on Firefox with Greasemonkey
- Languages : —
[spoiler=Description]
The idea is that I want to advance ten solar systems with a button. I mean, if I'm on 1:1 I would like a button that took me to 1:11 (and 1:21 after hitting again, then 1:31, etc.). This does italthough it passes through every system in between, and I don't want that (apart from the fact that may be it's considered an overload on the server). If anyonecould helpwant to suggest something I would appreciate it.
[/spoiler]
Tool submitted for toleration by Shole | 14/01/2016