JSONP works by executing outside script in JSON) – just compare the links to get the idea.

Simple solution would be to retrieve all badges with some server side solution (for example) PHP which doesn’t have issues with cross-domain XHR requests. Put the script in the same domain as your HTML/JS and do normal AJAX request to your script instead of kongregate.

Hey, do you like games? So do we — that’s what makes Kongregate the best source of free games online. We have thousands upon thousands of free online games, from both one-man indies and large studios, rated and filtered so you can play the best of the best. Read more »