Automating the small text game Will You Drown? (http://game.notch.net/drowning/#) is pretty easy:
window.setInterval(function(){
for (i = 0; i < document.getElementsByTagName("a").length; i++) {
document.getElementById(document.getElementsByTagName("a")[i].id).click();
}
}, 500);
(open up the console while on the page, copy/paste the code snippet, and press enter)
It is kind of fitting though that this solution of always choosing the first option never lets you move past being a teenager; you just end up with a whole lot of broken hearts and 'stuff'. =)