This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Dec 22 19:51:39 -0800 2008 | |
| |
CHANGES | Fri Jan 23 01:30:06 -0800 2009 | |
| |
COPYING | Tue Jul 29 17:12:18 -0700 2008 | |
| |
README.markdown | Thu Jan 15 15:35:53 -0800 2009 | |
| |
Rakefile | Fri Jan 23 01:30:06 -0800 2009 | |
| |
VERSION.yml | Fri Jan 23 08:47:44 -0800 2009 | |
| |
__init__.py | Mon Dec 22 17:53:30 -0800 2008 | |
| |
csshttprequest.gemspec | Fri Jan 23 08:47:56 -0800 2009 | |
| |
csshttprequest.js | Mon Dec 22 14:40:51 -0800 2008 | |
| |
csshttprequest.min.js | Tue Dec 23 00:14:25 -0800 2008 | |
| |
csshttprequest.php | Tue Dec 23 09:54:18 -0800 2008 | |
| |
csshttprequest.py | Mon Dec 22 19:51:39 -0800 2008 | |
| |
examples/ | Mon Dec 22 17:27:48 -0800 2008 | |
| |
lib/ | Fri Jan 23 08:47:08 -0800 2009 | |
| |
test-all | Fri Jan 23 01:30:06 -0800 2009 | |
| |
test/ | Fri Jan 23 01:30:06 -0800 2009 |
README.markdown
CSSHttpRequest is cross-domain AJAX using CSS.
Please see the latest info at http://nb.io/hacks/csshttprequest/
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.
The transport encodes the payload in the background-image property:
#c0 { background: url(data:,Hello%20World!); }
This version has been tested in cross-domain contexts in Safari 3.x, Firefox 3.x and Internet Explorer 6.








