Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Ogame Commander Announcement Remover
Removes the commander announcement on the overview page.
Current Version: <u>v0.2</u>
Original version stopped working, so I updated it to remove all commander announcement blocks. I just forgot to put the updated version here. This version works, now.
- v0.2 - Works for all (known) commander announcements, now.
- v0.1 - No known problems.
|
|
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]); } })(); |
|
|
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. |
|
|
Works for ogame.org thnx |
|
|
En ogame.com.es no funciona |
|
|
To get this to work on Ogame.org I had to add: 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". |
|
|
all the others commander announcement removers don't work, this neither.. I assume that have stop working for all again. |
|
|
It does't work for ogame.pl |
You could comment on this script if you were logged in.
