Script Summary: Makes the icon of the Alliance button open the message box.
Version: 1.10
In version 1.1 of the re-designed OGame the "Network" button was replaced with an "Alliance" button. However, the original "Network" button was leading to the mailbox, while the new one leads to the alliance management page. Most of the time this isn't a problem, since there is an envelope-like button in the event list that leads to the message box. However, in Galaxy viewing mode the event list is not visible. This means that there is no longer a direct way to move to the mailbox from Galaxy view - one has to switch to Overview (or any other view) first, which is annoying.
This script makes the icon to the right of the "Alliance" button lead to the mailbox, too. Since the menu with this button is visible even in Galaxy viewing mode, this solves the above problem.
2009-09-25: Version 1.01. Ooops. Completely forgot that if the user has purchased Commander, there is one additional button ("Empire") on the menu - so, it is not reliable to access the buttons by number. OK, fixed the script to look for the button that leads to the "Network" page. Thanks to Andorianin for the tip.
2009-09-27: Version 1.02. Now the icon "lights up" when the mouse is over it. Thanks, jeanc.
2009-09-29: Version 1.03. Rewrote the script so that it no longer uses XPath. Now the script should work not only for Firefox (2.x and 3.x)+GreaseMonkey and Opera but also for IE+IE7Pro.
2010-04-14: Version 1.05. Major changes. The icon of the Alliance button now starts the writing of a circular message instead of going to the message box. To go to the message box from Galaxy view, now use the envelope icon that appears over the OGame logo. The icon of the Research button now opens the global technology tree. Finally, made the script compatible with the changes introduced in version 1.2 of the Redesign.
2010-06-01: Version 1.06. Modified the script so that it now also works for the old universes that were converted to the redesgin.
2010-12-20: Version 1.07. In version 1.5.0-xmas Gameforge changed the identifier of the element containing the envelope (split it into two different identifiers, really, depending on whether the mailbox contains any unread messages or not) and broke the script. Fixed. Note that if there are no unread messages in the mailbox, you still won't see the envelope until you hover the mouse over the place where it should be (to the right of the OGame logo).
2011-01-17: Version 1.08. The script now shows the attack warning (the flashing red triangle with the exclamation mark) on the galaxy page, if the player is under attack. Unfortunately, this isn't as useful as it sounds, because the status of the sign (visible or invisible) is not updated when you browse the galaxy. That is, if you are not under attack, start browsing the galaxy and then somebody attacks you, the sign will not appear. Similarly, if you are already under attack and start browsing the galaxy, then the attack is recalled, the sign will not disappear. There is no way for the script to update the status of the sign without issuing requests to the server every time the user views a star system - and that is forbidden. Still, what the script does now is better than nothing - it serves as a reminder when you're browsing the galaxy that you're already under attack.
2011-06-04: Version 1.09. I figured out how to suppress the stupid "HAllo Test" message displayed by the game when opening the (unused by the game) "networkkommunikation" page. Also, added additional @exclude lines, to turn this script off on the various pages used internally by the game.
2011-10-24: Version 1.10. 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).



