OGame Redesign: Defense Points

By Scott Wares Last update Dec 15, 2011 — Installed 2,592 times.

not work

in
Subscribe to not work 5 posts, 2 voices



Etintos Scriptwright
FirefoxWindows

hi friend, your script gives me this error

Error: $ is not defined
Archivo de origen: resource://greasemonkey/runScript.js
LĂ­nea: 369

i use firefox v8.0.1 with greasemonkey v0.9.13

you can fix it?? thanks i play in mexico

http://mx.ogame.org/

 
Scott Wares Script's Author
FirefoxX11

I think I see what the problem is. I am running firefox 6 which is likely more forgiving about javascript errors. I will upload a hopefully fixed version now.

 
Etintos Scriptwright
FirefoxWindows

I think I could fix the problem as follows

delete this line: var $2; //for ajax success events.

and modify this:

function initialize()
{
try {$ = unsafeWindow.$;}
catch(e) {$ = window.$;}

loadOptions();
}

 
Scott Wares Script's Author
FirefoxX11

Gave that a try... it did not work for me in ff6 or ff8.

 
Scott Wares Script's Author
FirefoxX11

Tried again and it worked. Added notes and commented code for FF8... coment 3 lines and uncomment 2 lines.