AJACSS

In: Development|JavaScript

8 Oct 2009

This is just a very quick post to talk about AJACSS – a bit of a hack, but a nice way to be able to cross-site AJAX.

Here’s how to do it

“Like JavaScript includes, this works because CSS is not subject to the same-origin policy that affects XMLHttpRequest. CSSHttpRequest functions similarly to JSONP, and is limited to making GET requests. Unlike JSONP, untrusted third-party JavaScript cannot execute in the context of the calling page.”

FacebookTwitterShare

Comment Form

About this blog

Blog of Jon Reed. I am Senior Software Engineer, at AOL UK. I believe in working had & playing hard. I love gadgets and technology.

  • Jon Reed: That's the great thing about trying to track people this way. These cookies are detected/set/get all [...]
  • Mike Pearce: Good post and some useful information. However, the biggest problem with use flash cookies is Apple. [...]
  • Paul M.: Congratulations! [...]
  • Mike: Woo! [...]
  • Mike Pearce: Great post mate, some advanced stuff. What do you suggest as an alternative to document.write(). [...]