Archive for Tag ‘JavaScript‘

Use your Long Tail Facebook Apps

Thanks to Dion Almaer using more than six apps on facebook is again possible.

Well, possible is an overstatement – but I tended to forget the ones which fell below the virtual fold imposed by Facebook showing only six by default.

Dion’s aptly named Greasemonkey script to expand Facebook left bar effectively clicks the “more” button under your applications in the leftmost column on Facebook, showing you all of your installed applications.

What gets pushed further down the page, of course, is advertising – in this case the “Facebook flyer” which I for one can do without.

Of course, you have to be running Firefox and have Greasemonkey installed, but you should have both of those things anyway.

Thanks Dion for a nifty quick hack.

Douglas Crockford on Google Gears and the Mashup Problem

Douglas Crockford is always an interesting speaker. At AjaxWorld last week he gave a talk about the good parts (there are a few) and the bad parts (there are many) of the current JavaScript standard. (That talk was similar to this Yahoo! Video of the Keynote from the 2006 Konfabulator Developer Day).

My favorite pearl of wisdom from that talk: The best thing about JavaScript is that there have been no new design mistakes since 1999 (when spec was last updated).

In addition to being highly knowledgeable (Brendan Eich called him the Yoda of Lambda Programming and JavaScript, he “discovered” JSON) he’s also entertaining, funny, and thought provoking.

In this video, after about 10-12 minutes of broad background on why the fundamental nature of security on the web is broken, he dives into the specific problem of mashups, the same origin policy in JavaScript, the global namespace and shared DOM, and suggests a method for using Google Gears to craft a solution.