Ogame Commander Announcement Remover

By Cody Maden Last update Mar 19, 2006 — Installed 6,961 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 8 posts, 8 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Talo Pien Scriptwright
I updated the script and it works now. (function() { var ttags = document.getElementsByTagName('div'); for (var i=0;i < ttags.length;i++) if (ttags[i].id = "combox_container") { ttags[i].parentNode.removeChild(ttags[i]); ttags[i].parentNode.insertBefore("

",ttags[i]); } })();
 
Tosk Scriptwright

As of now, the script no longer works. They changed the way they display the Commander announcement in the Overview page. I have modified the script to work. The modification is as follows:

LINE 13

var ttags = document.getElementsByTagName('table');

...change to...

var ttags = document.getElementsByTagName('div');

LINE 17

if (ttags[i].innerHTML.indexOf("Commander") > -1)

...change to...

if (ttags[i].innerHTML.indexOf("commander") > -1)

That should restore functionality.

 
dai007 User

Works for ogame.org thnx

 
Peri User

En ogame.com.es no funciona

 
Mitchell O User

To get this to work on Ogame.org I had to add:

http://s027.gfsrv.net/game/*

to the included pages list. Works like a charm now :D

ogame.org is not the actual address of the pages displayed. They all begin with the address above. That is why the script didn't work "out of the box".

 
Emaster User

all the others commander announcement removers don't work, this neither.. I assume that have stop working for all again.

 
Janek Franek User

It does't work for ogame.pl

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel