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.

Required Ruby Version

>= 0

Authors

Cameron Walters, Randy Reddig

Versions

  1. 0.1 August 10, 2014 (6.5 KB)

SHA 256 checksum