haggen/localthreat

Corp/Alliances not populating

crossedxd opened this issue · 5 comments

As of right now, the tool doesn't appear to be fetching corp/alliance IDs/info.

Thanks. I'll look into it as soon as I can.

For what it's worth, I opened the developer console and tested with a single pilot, and got a CORS warning. See below:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://esi.evetech.net/latest/characters/affiliation/. (Reason: CORS request did not succeed).[Learn More]

Also possibly relevant:

TypeError: "NetworkError when attempting to fetch resource." esi.js:26:20
Nt/< esi.js:26:20

@crossedxd Do you use some adblock add-on on your browser? If you do, try disabling it temporarily when next visiting localthreat, see if the missing corp/ally persist.

It does look like adblockers are causing some interference, and things run normally when I've got them turned off. I've done a little bit of testing, and it looks like things break down when I turn on either Ghostery or uBlock Origin.