Check out my latest project: Full Frontal JavaScript Conference

Archive for November, 2007

Safari gets a proper Microformats extension

Jon Hicks proposed it over a year ago and I went ahead and wrote it as a bookmarklet. Finally now, the people who created Safari Tidy (for live xhtml validation), have created a fully integrated Safari Microformats plugin.

JavaScript Style - why it's important

I adopted Douglas Crockford's JavaScript code convention some time ago, but at yesterday's @media Ajax he demonstrated, in a beautifully simple way, why it's really important.

Bookmarklets

Bookmarklets are, IMHO, being used for more and more funky functions. I really like the Facebook and Tumblr bookmarklets that scoop out information about the type of content you want to post and then sends them off to the respective sites. John Gruber recently reposted his JavaScript Bookmarklet Builder - which is useful, but if you're planning [...]

Base64 decode to file

Useful if you've just received an email that says it has attachments but you can't get them out (as I just did!). View the raw source of the email, copy the Base64 encoded text, drop in to a file, and run through this. The output will be the binary (or ascii) attachment. perl -MMIME::Base64 [...]

On Demand Script Loading

This code will return true while it's waiting to load the external script - and if called again (i.e. at a later date or if you've got an excited user) will know that the script has already been loaded. It allows for scripts to be loaded on demand without the use of an external library such [...]

iPod Touch Bookmarklets & Microformats

Although this is should be obvious, since the iPod Touch comes with Safari, I've found to my pleasure: you can run bookmarklets through Safari (mobile).

Paste emails straight in to Mail

I'm running Mail 3 on Leopard, and all my accounts are IMAP, I just found something that surprised me (it could well have been there all the while). When I had the following in my clipboard: , random. ...and paste whilst looking at an inbox in Mail, it created a new unread email with the contents as: random. So, if you [...]