OGame Redesign: Moons to the Right

By Vess Last update Dec 14, 2012 — Installed 75,384 times.

Script Summary: Makes the icon of the moon larger and to the right for easier clicking.



Version: 1.08

Thumb Thumb Thumb

Like many other things in the redesign, the design of the moons sucks. :-) In the planet selector to the right, they are shown as minuscule blots in the lower left corner of the picture of their planet. Clicking on this blot (in order to switch to that moon) is rather difficult.

This script makes the pictures of the moons bigger and moves them to the right of their corresponding planet, making it much easier to click on them.

2010-03-20. Version 1.01. The original version of the script had the following problems:

1) If the name of the planet was too long, the picture of the moon was overlapping it.

2) If the planet (or the moon) was under attack, the picture of the moon was hiding the yellow triangle (the attack marker).

3) If a building was being built on the planet, the marker for that (the little yellow wrench) was overlapping the picture of the moon.

In this version the above problems have been fixed by doing the following:

1) The picture of the moon is moved down.

2) The attack marker is moved up and a bit to the right.

3) The building marker is shifted a little bit to the left.

BTW, this script has one problem that cannot be fixed. GreaseMonkey scripts are executed after the browser has loaded and rendered the Web page. Since the redesign of OGame is so damn heavy on useless pictures, styles and scripts, the browser takes a lot of time to render the page. As a result, when the page is refreshed, you see for a short while the original moon picture (the tiny little blot) and after the page has been completely loaded and processed (which can take more than a second), it is replaced with the new picture by this script. This visual "jumping" can be somewhat annoying.

The only solution is to do what we want not with a GreaseMonkey script but with a CSS style script for Stylish. Unlike GreaseMonkey scripts, Stylish scripts are executed before the Web page has been rendered, so you see the final result only and there is no visual "jumping" of the picture. I have created such a Stylish script; give it a try: OGame Redesign: Moons to the Right.

2010-04-19. Version 1.02. Modified the script to support the renamed classes of version 1.2.1 of the redesign.

2010-06-01. Version 1.03. Modified the code to work also in the old universes that are converted to the redesign.

2010-09-13. Version 1.04. The moon picture is no longer always the same - now it corresponds to the reality (e.g., the picture displayed on the fleet movement page). A pity that there is no way to do this in the Stylish version of this script...

2011-10-24. Version 1.05. Made the script compatible with version 2.3.0 of OGame (i.e., with the idiotic changes of all the URLs of all images, scripts and styles in the game).

2012-09-20. Version 1.06. Made the script compatible with version 5.0 of OGame.

2012-10-16. Version 1.07. Modified the look of the moons a bit - made them a bit smaller and shifted them so that they fit in the "current moon" frame introduced by OGame 5.x.

2012-12-14. Version 1.08. In version 5.2 of the game the moons have tooltips again. However, their tooltips appear to the left of the cursor, while the tooltips of the plants appear to the right. This might be OK with the original moons (although, IMAO, it is annoying even there) but is a major no-no when the moons are moved to the right, because then their tooltip covers the planet (image, name, coordinates). Modified the script to put the tooltips of the moons to the right, too.