Member of the EVE Tweet Fleet
Apr 17

OGame 1.2 PM Fix

By Xeross Posted in Developing, Tech Comments (2)

This script will fix the personal messages in OGame 1.2.

Download

Over at userscripts.org

Changelog

1.0 – 17/Apr/2010

Initial Release

1.1 – 25/Apr/2010

Added an additional search&replace for ‘

Code

// ==UserScript==
// @name           OGame 1.2 PM Fix (v1.1)
// @namespace      http://theelitist.net/ogame-12-pm-fix/
// @description    Fixes The numerous nn and backslashes in PMs
// @include        http://*.ogame.*/game/index.php?page=showmessage*
// ==/UserScript==

(function() {
    var body = document.getElementsByTagName('body')[0];
    body.innerHTML = body.innerHTML.replace(//g, "");
    body.innerHTML = body.innerHTML.replace(/n/g, "<br />");
    body.innerHTML = body.innerHTML.replace(/'/g, "'");
})();

Post any bugs/suggestions here in the comments or at userscripts.org

~Xeross

Tagged with:
Jan 22

OGame (1.X) Dropdown Text Color Fix

By Xeross Posted in Developing, Tech Comments (2)

This script will fix the dropdown text color in OGame, I made it for Firefox (Only tested with 3.6) it makes the select tags inherit the text color so the text inside em is readable.

Download

Over at userscripts.org

Changelog

1.1 – 25/Jan/2010

Removed jQuery loading because OGame already includes it, fixes galaxy overview

1.0 – 22/Jan/2010

Initial Release

Code

// ==UserScript==
// @name           OGame (1.X) Dropdown Text Color Fix
// @namespace      http://theelitist.net/ogame-select-tag-fix/
// @description    Fixes OGame (1.X) Dropdown Text Color
// @include        *.ogame.org*
// @exclude        *board.ogame.org*
// ==/UserScript==

// Modify the CSS
$(document).ready(function() {
	$("select").css("color", "inherit");
});

Post any bugs/suggestions here in the comments or at userscripts.org

Tagged with: