I've built in two function calls for anyone interested in making any changes to fastr. They're filters on the scores and the photos, which take HTML fragments as input and should give back edited HTML fragments as output. Both are called before the HTML is inserted into the page. You could use this, for example, to highlight certain names in the scores (as FastrFriends does) or make the photos larger, such as I've done in the sample bookmarklet here:

For Firefox: biggr — for other browsers: biggr

If you drag that into your bookmarks toolbar and then click it while playing fastr, future sets of photos will be bigger. This is a common request that I haven't implemented because I didn't want to increase the minimum system requirements for players (i.e. bigger screen and faster connection.) But now it's possible for only people who want bigger photos to get them.

The JavaScript function names are scoreFilter and photoFilter. If you have any questions, or make anything you'd like to share with everyone else, please leave a comment here.

 

Aaron Barker made a JavaScript bookmarklet to track other players on fastr, called FastrFriends. It's a cool idea. Basically you click on a player's name, and it will keep the name highlighted in the score list. So if you're playing against people you know, you can easily watch their scores.

In my testing, it didn't work in Safari for some reason, but it worked fine in Firefox. I didn't try it in IE.

 

In other microformat news, over the weekend I made a draft version of a "Microformats Zen Garden." The idea, introduced on the microformats-discuss email list, is an obvious knockoff of the CSS Zen Garden, only the (X)HTML is full of microformatted information, and JavaScript is added to the mix. I spent a few hours working on this, and when I was done, I realized the concept was not just an application, but almost a platform - a small hint at the mythical web-as-operating-system. Microformats act as the documents, CSS handles the visual style, and JavaScript acts as the applications. The only important thing missing is the ability to save edited documents, but Mark Pilgrim is already working on using Atom for that. I'll be very interested to see how this all materializes.

 

Flickr changed format and broke my previous bookmarklet. At first I thought maybe they actually moved protected images to a protected server, but they just changed some variable names. So here's the updated bookmarklet that makes it (too) easy to get the full size version of protected images:

Get Flickr Original

 

A few months ago I discovered that Flickr has no security for images. Flickr has a nice feature which allows users to assign variable levels of copyright protection on images, from full copyright to various Creative Commons licenses. Images with less restrictive licenses show an "All Sizes" link which will let visitors download the image in various sizes. Images with full copyright do not show this link.

But the copyrighted images are still freely available for everyone to download. Flickr is relying on obscurity over actual security to prevent downloads of copyrighted images. And it's not even very good obscurity at that. To find an image, we need to know which server it is on, the ID of the image, and a "secret" key that's added to the image address. A quick glance at the source of any Flickr photo page shows that this information is stored in JavaScript variables named "server," "id," and "secret" respectively. It would appear that they're not even trying to protect these images.

This isn't much of a problem as long as only people with enough technical knowledge to look at the source code of a page can find the images, but I suspect there will be a good number of Flickr users who be a bit upset when anyone can download their full-size copyrighted images with a single click. It is with my sympathies for these users that I publish the following bookmarklet that you can click when viewing any image page on Flickr to get the original full-size version of that image:

Get Flickr Original

My goal here isn't to facilitate the downloading of images that Flick users don't want downloaded, but rather to point out that Flickr has already facilitated such downloading. This is a public service announcement: Flickr has no image security.