nullNaN / OGLight

Hello, since new ogame update today the OGlight Display spies table is not working, can this be looked at as it is very handy.


For a quick fix:

Find these lines:

data.spy = report.querySelector('a[onclick*="sendShipsWithPopup"]').getAttribute('onclick');
data.attack = report.querySelector('.icon_attack').closest('a').href;

and replace with this

data.spy = report.querySelector('button[onclick*="sendShipsWithPopup"]').getAttribute('onclick');
data.attack = report.querySelector('.msgAttackBtn').closest('button').href;

Many Thanks igo, thats work, you are a legend :)