Apr 17
OGame 1.2 PM Fix
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