Doist/ScriptCommunicator

Implementation of script communication that can be used to do long polling and JSONP communication

See the code

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

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Doist/ScriptCommunicator

Implementation of script communication that can be used to do long polling and JSONP communication

See the code

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

Not written in Markdown, so it's shown here as plain text — view it formatted on GitHub.

Languages

JavaScript

100.0%