Check out my latest project: Code Dumper

Archive for the "javascript" Tag

How to detect if a font is installed (only using JavaScript)

In the pursuit of an idea I had recently, one tiny feature of the web site would be to detect whether the user had X font installed. I've looked at flash solutions, since a SWF had access to enumerate the fonts, but ultimately if it could be done without flash, it would/should be faster and smarter. So [...]

Twitter script upgrades & JSONP hacking

Given that recently Twitter has been going up and down like a yo-yo (and I'm sure they're working on it), I've upgraded the twitter script to support timeouts. Twitter have also messed with the API...

on AIR Tour: London

Adobe hit London yesterday with their on AIR tour and I had a seat. I'd been initially interested in AIR last year when I realised it was be a good entry point to developing a desktop app for the Mac (I've dabbled in Objective-C - but I can't get my head around the square brackets!) Overall [...]

Wiki to HTML using JavaScript

In building the jQuery API browser, since the source of the API comes from the wiki pages over at docs.jquery.com, I had to handle some wiki parsing and convert it to HTML. However, the more I browsed the API, the more I realised there were aspects of wiki parsing I had missed. So I built a (fairly) [...]

Upgrade to Twitter JavaScript for your blog

I've been following the requests on the current Twitter JS plugin and decided to implement a few. In particular there's now support for templates, which gives you full control of how the tweet is displayed.

Visited plugin

The idea that you can track which links users have visited re-emerged earlier this month. In my (rather drawn out) blog redesign process, I considered that when showing a list of del.icio.us link, I could hide those ones my visitor had already been to. Here's a jQuery plugin to filter for just visited links: jquery.visited.js

jQuery API Browser

Ever since jQuery 1.1.3 the old API browser hasn't been updated due to incompatibilities in the documentation (though that's mostly assumptions). Although the new docs is comprehensive, I've always liked the quick access the old API browser gave. As such, I've got about my own way re-building an API browser based on the new documentation. Check [...]