https://github.com/doist/scriptcommunicator
Implementation of script communication that can be used to do long polling and JSONP communication
https://github.com/doist/scriptcommunicator
Last synced: over 1 year ago
JSON representation
Implementation of script communication that can be used to do long polling and JSONP communication
- Host: GitHub
- URL: https://github.com/doist/scriptcommunicator
- Owner: Doist
- Created: 2010-01-29T05:37:50.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2022-02-01T19:19:19.000Z (over 4 years ago)
- Last Synced: 2025-03-28T10:21:43.299Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://amix.dk/blog/post/19489#Comet-long-polling-for-all-browsers-ScriptCommunicator
- Size: 1.95 KB
- Stars: 121
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
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