Demystifying jQuery 1.7′s $.Callbacks

$.Callbacks provides a way to manage lists of callbacks and it’s actually quite powerful. If we were to define two functions fn1 and fn2 we can then add these functions as callbacks to a $.Callbacks list and invoke them via the fire method. The result of this is that it becomes simple to construct complex …

Security Vulnerability of the day: Skype

Security researchers discovered several serious security and privacy flaws in Skype that even a ‘high school-age hacker’ could use to track not only users’ locations over time but also their P2P file-sharing activity. The security team warned that this information could easily be used for “stalking, blackmail or fraud.” And For example, they tracked one …

Using CORS with All (Modern) Browsers

Cross-Origin Resource Sharing (CORS) works by adding a special header to responses from a server to the client. If a response contains the Access-Control-Allow-Origin header, and if the browser supports CORS, then there is a chance you can load the resource directly with Ajax – no need for a proxy or JSONP hacks. Using CORS …

Remember The Milk, now with Siri Support

You can now use Siri on iPhone 4S to add tasks to Remember The Milk. Just ask Siri to remind you (e.g., “Remind me to pick up the milk”), and that task will be magically added to Remember The Milk. Cleverly enabled by sporting a CalDav server on RTM, and then adding it on your …

Fullscreen HTML5 video

HTML5 video has come a long way but still lacks consistent codec support and the ability to go fullscreen, until now of course. Webkit nightly, Chrome dev and Firefox nightly have added the ability to put HTML5 videos, and other elements, into fullscreen mode using The FullScreen API Interesting write-up on how to use the …