JS: The Good, the Bad and the Ugly

An article comparing JScript and VBS got me some ideas about what I think should be added to JS 1.6. Date I like the Date object in JS but it needs a lot of improvements. These following things are really missing: Localized weekday name Localized month name Week start day Week number (localized because it ...

And and Or in JS

The logical and (&&) and the logical or (||) are two really useful operators in JS. The following holds true: a || b results in a if Boolean(a) == true, otherwise b a && b results in b if Boolean(a) == true, otherwise a Using this one can often simplify expression a lot. For example: ...

Live 8 and EU

To me something is really wrong with this world… We have these sharity concerts and what not. At the same time the EU subsidizes the European farmers to produce meat, dairy products, crops and other vegetable products to an absurd extent. The European farmers produce a lot more food than Europe needs and to prevent ...

MSE – Microsoft Script Editor

Microsoft Script Editor is probably one of the lesser known tools that can really make a difference when it comes to developing web applications. MSE is a debugger, much like Visual Studio and it comes bundled with Microsoft Office. It should not be mistaken for Microsoft Script Debugger which is a piece of crap compared ...

DOMParser for IE and Safari

A few days ago Dave over at the WebGraphics blog posted about how to parse a string into a DOM tree for Safari. I commented “How about implementing the DOMParser object in js?” and before I knew it I did it myself and adding IE compatibility on the way: if (typeof DOMParser == "undefined") { ...

XSLT in JS

I know this one is not too new but is still very interesting. Steffen Meschkat has created an XPath, XSLT and DOM engine written in pure javascript. Steffen works for Google and I believe this excellent piece of code was written in his 20 percent time to allow Opera and Safari to work with Google ...

Microsofties Don’t Get It

ClickOnce has already proved itself to be a failure and I’m pretty sure Avalon will not find its place to be on the web. At least Dare Obasanjo seems to get it.

Updated Live Search

I took the time to update the Google Live Search Greasemonkey script a bit to make it a bit more defensive. While I was messing with I also added code to update the links above the search field to go to the search terms that the last result used (instead of the search term the ...

My Daily Startup

Since Foo did it and to prevent the rumours of my death to spread any further I’m gonna do the same thing. These are the programs I usually launch when I start one of my computers: Trillian Pro – sometimes it is nice to pay a little Dear Park alpha or Firefox depending on what ...

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 ...