Tim on July 23rd, 2008

One hugely important thing in coding is debugging. Unfortunately, a lot of Javascript debugging gets done via alert() calls. This gets awkward quickly, with the alerts affecting timing, and just being annoying if you have to dump large amounts of data out.
Firebug is a great development tool, and has a really handy logging interface that […]

Continue reading about Firefox extension debugging

Tim on June 5th, 2008

I just forwarded an email asking for an RFP around to the team at Cloudspace, and since I use address book autocomplete, I checked the email addresses very carefully before sending the email. I’ve heard of (and seen) too many instances where someone quickly sent an email, and addressed it to the wrong person. Funny […]

Continue reading about A icon to save your ass

Tim on May 27th, 2008

OK. Because this was confusing the hell out of me, I had to post about figuring it out.
Let’s say you’re a developer writing a Mozilla Firefox Extension that searches for text on a page (or rather, in a browser window). If you have a button that has the following functionality attached onclick:
var webBrowserFind = getBrowser().selectedBrowser.webBrowserFind;
webBrowserFind.searchString […]

Continue reading about Finding text from a Firefox Extension