Ok I was thinking about my browser detection script and thought it would be a really cool game to play on slackers. Here is how it could work, you need to create the smallest possible detection script but that can't be modified by anyone else. For example take my original one:-

So one of the ways I could beat this is to do Function.prototype['-5'] = 'x'; so therefore I lose :) The game is to make your detection script work even if something is executed first. Here are the rules:-

1. Smallest wins
2. Every major browser should be detected:- IE,FF,Safari,Opera,Chrome
3. It should survive any code before it and still display the correct browser
4. No HTML allowed
5. Supported browsers:ie8 sf4 chrome3 opera10 and ff3