I love the BBC’s iPlayer. There’s just one problem - every few minutes my screen goes to sleep and I have to wiggle the mouse.

This problem can be mitigated by using a tool called Caffeine from Lighthead Software. Except I forget to switch it off and the machine stay active all night.

So, I wrote my own Mac OS X site-specific browser for iPlayer and named it Curtains. When this application opened it went straight to the iPlayer. When you were on an episode page, the screen would not dim.