Google Live Search

This is a script for Greasemonkey that modifies the Google search page to make the results show up as you type. Steps to install: Install Greasemonkey Once that is done you can right click the following link and select Install User Script…: googlelivesearch.user.js The Details When the user types in the search field the browser ...

Object.prototype is verboten

It is not seldom that you see people messing with Object.prototype. This is very bad because it breaks the object-as-hash-tables feature in javascript. Basically, the following is a very common scenario: var obj = {a: "A", b: "B", c: "C", d: "D"}; for (var key in obj) { doSomething(key, obj[key], obj); } if ("b" in ...

Array Extras

With the upcoming Firefox 1.1 release (and other browsers based on Gecko 1.8) things are starting to move in javascript land. During the early years of javascript a lot happend but then came the ambitious plans ofJS2 and the improvements to js just kind of died away for no reason. It seems Mozilla is finally ...

The List

Emil reminded me of Joel Spolsky’s list of things that cannot be well done in a web application Create a fast drawing program Build a real-time spell checker with wavy red underlines Warn users that they are going to lose their work if they hit the close box of the browser Update a small part ...

Client Side Real Time Spell Checker

I knew Emil was playing around with a real time spell checker written in DHTML and it got me very excited. This is probably a big milestone in our field and now that he let the cat out of the box I cannot express my amazement over the talents that this guy has. See the ...

JS, Encoding and XMLHttpRequest

I run into a quite strange issue today. Basically the problem was that a javascript file was encoded using ISO-8859-1 and contained some weird characters. It worked fine in a plain HTML script tag that included the external file. However it did not work when the file was loaded using an XMLHttpRequest (MSXML has exactly ...

Errors and AJAX

XML.com has an article called Errors and AJAX where they suggest that client side errors should be reported back to the server for logging. This sounds a bit familiar to me. Me and Emil did the same thing back in 1999. I guess it all comes back around sooner or later.

Ecma Script Template Engine

Lately, I’ve been feeling quite creative. I guess I can thank World of Warcraft for that. Or actually the other way around. I got out of my addiction after a week in USA and I decided that I would not touch it again. Lately I’ve been looking at simpler ways to output data received from ...

Copy Cat

I really liked what Forgetfoo did with his Comment Notifier and I was planning to get mine out before he wrote about it but our server was down yesterday due to maintainance. So, I had to wait with the server side implementation until tonight. My solution tries to mimic the popup notifier that MSN Messenger ...

Targetted Spam

No wonder this spam mail got through my spam filters. Good Day, My name is XXX, I’m a writer from XXX, XXX, XXX. I have a 1200 page Dynamic HTML Reference that I am now selling licenses for. The entire reference, with tutorials, is yours for $350.00. The reference can be seen at the below ...