Implementation of script communication that can be used to do long polling and JSONP communication
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
script_communicator.js

README

Implementation of script communication that:
* uses script tags for communication, but can detect when a script isn't loaded (this is non-trivial to implement across browsers)
* works across domains as long as you control the domains
* works on IE 6, IE 7, IE 8, FF X, Safari, Chrome and Opera
* small (80 lines of code) with no dependencies

For more info and usage check out:
http://amix.dk/blog/post/19489#ScriptCommunicator-implementing-comet-long-polling-for-all-browse

Made by amix the lucky stiff - amix.dk
Copyright Plurk 2010, released under BSD license