Category Archives: JavaScript

Firebug 1.0 Beta

I’ve been playing with the Firebug 1.0 private beta for the last few days and it’s quite a tool. v0.4 the last release of Firebug had already combined the most popular features Venkman, Console2, and the DOM inspector. 1.0 adds … Continue reading

Posted in AJAX, Firefox Plugins, JavaScript, Venkman, Web Browser | Comments Off

Faster DOM Queries

Dean Edwards has posted a demo with a cross browser way of super quick DOM queries. Limitations * As described earlier, speed improvements only apply on page load for IE. Further DOM queries will use the original getElementsBySelector function * … Continue reading

Posted in AJAX, JavaScript | Comments Off

JSONRequest

JSONRequest has been proposed by Douglas Crockford as a new native method for web browsers to exchange data with servers. The biggest notable difference with XMLHttpRequest is that it doesn’t prevent requests to multiple domains. JSONRequest can make requests to … Continue reading

Posted in AJAX, JavaScript, Web Browser | Comments Off

Crockford on JSMin and Obfuscation

Douglas Crockford knows a thing or two about compressing JavaScript. He wrote JSMin which IMHO is the simplest and fastest JavaScript minifer out there today. Coupled with his lint checker JSLint you’ve got two really good tools to write good … Continue reading

Posted in JavaScript, Venkman | Comments Off

Gmail chat problems

I’ve noticed a few errors in gmail’s new chat interface. The gmail quick contacts are not always up-to-date. Just yesterday I got this this error message: It’s a new service, so not too surprised that chat is seeing a few … Continue reading

Posted in AJAX, Email, JavaScript | 18 Comments

AJAX Amazon Music Search

Put together an AJAX demo using Amazon’s webservice API. Basically type in an artist name or song title and it’ll return the first 10 hits from Amazon’s music search. It’s using script.aculo.us for the ‘Grow’ effect when the results return. … Continue reading

Posted in AJAX, JavaScript | Comments Off

Firefox Array.toString() is very slow

Ran into an interesting problem with JavaScript’s Array.toString() in Firefox.  It’s extremely slow even for a very small array.  Take an array with a single object and you’d like to call toString() to get the type of the contained object.  … Continue reading

Posted in JavaScript | Comments Off

YubNub Suggest

YubNub has been around for sometime. I went looking for a Suggest version that would autocomplete common commands. I did a few searches and all I came up with was DashNub which is an OSX Widget.  Using script.aculo.us‘s autocomplete code … Continue reading

Posted in AJAX, JavaScript | 3 Comments

Graded Browser Support

Nate posted an article which coincided with Yahoo’s launch of their UI Library titled "Graded Browser Support".  It appears he first coined the phrase in 2004.  Subsequent google hits all point to Nate.  I must admit it’s quite novel.  He … Continue reading

Posted in AJAX, JavaScript, Web Browser | 1 Comment

AJAX Developers Toolbox – Overview

AJAX programmers today have many tools available to them. Here’s a quick overview of some popular ones. Debuggers Firefox – Venkman without a doubt is a must have for any serious JavaScript hacker these days. All the functionality you’ve come … Continue reading

Posted in AJAX, JavaScript, Venkman | 1 Comment