Issues with cross domain request
I work on a site that pulls images from multiple CDNs and I want to log
which image came from which CDN. These CDNs send an extra header param
with the images that names the server that sent the image.
Problems: - Ajax won't work because of the CORS disabled - Can't use a
proxy or put a proxy file on the CDNs because they only serve images
Any tips how to make this work with JS only? Or maybe with Flash?
Is there a way to "observe" the network with Javascript (like Firebug or
Chrome dev tools) ?
No comments:
Post a Comment